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 | |
| 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')
| -rw-r--r-- | lib/makefile.w32-in | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/lib/makefile.w32-in b/lib/makefile.w32-in index cf74288e2cf..cdf44f614b6 100644 --- a/lib/makefile.w32-in +++ b/lib/makefile.w32-in | |||
| @@ -23,7 +23,11 @@ ALL = gnulib | |||
| 23 | LOCAL_FLAGS = -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src | 23 | LOCAL_FLAGS = -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src |
| 24 | LIBS = | 24 | LIBS = |
| 25 | 25 | ||
| 26 | GNULIBOBJS = $(BLD)/dtoastr.$(O) $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O) | 26 | GNULIBOBJS = $(BLD)/dtoastr.$(O) \ |
| 27 | $(BLD)/getopt.$(O) \ | ||
| 28 | $(BLD)/getopt1.$(O) \ | ||
| 29 | $(BLD)/strftime.$(O) \ | ||
| 30 | $(BLD)/time_r.$(O) | ||
| 27 | 31 | ||
| 28 | # | 32 | # |
| 29 | # Build the library | 33 | # Build the library |
| @@ -54,6 +58,8 @@ $(BLD)/dtoastr.$(O) : \ | |||
| 54 | $(SRC)/ftoastr.c \ | 58 | $(SRC)/ftoastr.c \ |
| 55 | $(SRC)/ftoastr.h \ | 59 | $(SRC)/ftoastr.h \ |
| 56 | $(SRC)/intprops.h \ | 60 | $(SRC)/intprops.h \ |
| 61 | $(EMACS_ROOT)/src/s/ms-w32.h \ | ||
| 62 | $(EMACS_ROOT)/src/m/intel386.h \ | ||
| 57 | $(EMACS_ROOT)/src/config.h | 63 | $(EMACS_ROOT)/src/config.h |
| 58 | 64 | ||
| 59 | $(BLD)/getopt.$(O) : \ | 65 | $(BLD)/getopt.$(O) : \ |
| @@ -72,10 +78,26 @@ $(BLD)/getopt1.$(O) : \ | |||
| 72 | $(EMACS_ROOT)/src/m/intel386.h \ | 78 | $(EMACS_ROOT)/src/m/intel386.h \ |
| 73 | $(EMACS_ROOT)/src/config.h | 79 | $(EMACS_ROOT)/src/config.h |
| 74 | 80 | ||
| 81 | $(BLD)/strftime.$(O) : \ | ||
| 82 | $(SRC)/strftime.c \ | ||
| 83 | $(SRC)/strftime.h \ | ||
| 84 | $(EMACS_ROOT)/nt/inc/stdbool.h \ | ||
| 85 | $(EMACS_ROOT)/src/s/ms-w32.h \ | ||
| 86 | $(EMACS_ROOT)/src/m/intel386.h \ | ||
| 87 | $(EMACS_ROOT)/src/config.h | ||
| 88 | |||
| 89 | $(BLD)/time_r.$(O) : \ | ||
| 90 | $(SRC)/time_r.c \ | ||
| 91 | $(EMACS_ROOT)/nt/inc/stdbool.h \ | ||
| 92 | $(EMACS_ROOT)/src/s/ms-w32.h \ | ||
| 93 | $(EMACS_ROOT)/src/m/intel386.h \ | ||
| 94 | $(EMACS_ROOT)/src/config.h | ||
| 95 | |||
| 75 | # The following dependencies are for supporting parallel builds, where | 96 | # The following dependencies are for supporting parallel builds, where |
| 76 | # we must make sure $(BLD) exists before any compilation starts. | 97 | # we must make sure $(BLD) exists before any compilation starts. |
| 77 | # | 98 | # |
| 78 | $(BLD)/dtoastr.$(O) $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O): stamp_BLD | 99 | $(BLD)/dtoastr.$(O) $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O): stamp_BLD |
| 100 | $(BLD)/strftime.$(O) $(BLD)/time_r.$(O): stamp_BLD | ||
| 79 | 101 | ||
| 80 | # | 102 | # |
| 81 | # Headers we would preprocess if we could. | 103 | # Headers we would preprocess if we could. |