diff options
| author | Eli Zaretskii | 2011-01-31 21:36:08 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-01-31 21:36:08 +0200 |
| commit | 70b0d280eb5cfdf103603fb289064710ae7cd680 (patch) | |
| tree | 39963bbb02985fa36b64cf93dda48e8efbd7823a /lib-src | |
| parent | 1dc4075fa8809805aed5092e93e225e889725c94 (diff) | |
| download | emacs-70b0d280eb5cfdf103603fb289064710ae7cd680.tar.gz emacs-70b0d280eb5cfdf103603fb289064710ae7cd680.zip | |
Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu.
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
$(BLD)/time_r.$(O).
($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
$(EMACS_ROOT)/src/m/intel386.h.
($(BLD)/strftime.$(O)):
($(BLD)/time_r.$(O)): Define prerequisites.
src/makefile.w32-in (OBJ2): Remove strftime.$(O).
($(BLD)/strftime.$(O)): Remove prerequisites.
lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
(ECLIENT_CFLAGS): Remove -DVERSION.
($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
nt/config.nt (VERSION): Uncomment definition.
(restrict): Define.
nt/inc/stdbool.h: New file.
admin/admin.el (set-version): Remove lib-src/makefile.w32-in. Add
nt/config.nt.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 6 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 3f7a17e2db6..2f56eb8d87a 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-01-31 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. | ||
| 4 | (ECLIENT_CFLAGS): Remove -DVERSION. | ||
| 5 | ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in. | ||
| 6 | |||
| 1 | 2011-01-31 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2011-01-31 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | src/emacs.c now gets version number from configure.in | 9 | src/emacs.c now gets version number from configure.in |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 3685d0e71be..50a29a86042 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -21,8 +21,6 @@ ALL = make-docfile hexl ctags etags movemail ebrowse emacsclient | |||
| 21 | 21 | ||
| 22 | .PHONY: $(ALL) | 22 | .PHONY: $(ALL) |
| 23 | 23 | ||
| 24 | VERSION = 24.0.50 | ||
| 25 | |||
| 26 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ | 24 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ |
| 27 | -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \ | 25 | -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \ |
| 28 | -I../nt/inc -I../src | 26 | -I../nt/inc -I../src |
| @@ -59,7 +57,7 @@ $(BLD)/movemail.exe: $(MOVEMAILOBJS) ../lib/getopt.h | |||
| 59 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib | 57 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib |
| 60 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS) | 58 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS) |
| 61 | 59 | ||
| 62 | ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR -DVERSION="\"$(VERSION)\"" | 60 | ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR |
| 63 | ECLIENTOBJS = $(BLD)/emacsclient.$(O) \ | 61 | ECLIENTOBJS = $(BLD)/emacsclient.$(O) \ |
| 64 | $(BLD)/ntlib.$(O) \ | 62 | $(BLD)/ntlib.$(O) \ |
| 65 | ../lib/$(BLD)/libgnu.$(A) | 63 | ../lib/$(BLD)/libgnu.$(A) |
| @@ -77,9 +75,7 @@ $(BLD)/emacsclientw.exe: $(ECLIENTOBJS) $(CLIENTRES) | |||
| 77 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib | 75 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib |
| 78 | $(LINK) $(LINK_OUT)$@ $(CLIENTRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS) | 76 | $(LINK) $(LINK_OUT)$@ $(CLIENTRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS) |
| 79 | 77 | ||
| 80 | # emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in | 78 | $(BLD)/emacsclient.$(O): emacsclient.c |
| 81 | # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS. | ||
| 82 | $(BLD)/emacsclient.$(O): emacsclient.c makefile.w32-in | ||
| 83 | $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c | 79 | $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c |
| 84 | 80 | ||
| 85 | ETAGSOBJ = $(BLD)/etags.$(O) \ | 81 | ETAGSOBJ = $(BLD)/etags.$(O) \ |