aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Scholtes2011-02-20 20:50:26 +0200
committerEli Zaretskii2011-02-20 20:50:26 +0200
commit32159fc37e0281a54dd35abb17aac7302104fd5e (patch)
tree22d02709522cd5015107f09b03c79cce41606843
parentbdfbdbb2197aa835bf8c09de964f7ba0cf086633 (diff)
downloademacs-32159fc37e0281a54dd35abb17aac7302104fd5e.tar.gz
emacs-32159fc37e0281a54dd35abb17aac7302104fd5e.zip
Fix the MS-Windows build due to import of md5 from gnulib.
src/makefile.w32-in: Remove md5.$(O). ($(BLD)/md5.$(O)): Remove prerequisites, moved to lib/makefile.w32-in. ($(BLD)/fns.$(O)): Depend on $(EMACS_ROOT)/lib/md5.h and on stamp_BLD. lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from src/makefile.w32-in.
-rw-r--r--ChangeLog5
-rw-r--r--lib/makefile.w32-in13
-rw-r--r--src/ChangeLog11
-rw-r--r--src/makefile.w32-in10
4 files changed, 29 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b45cc2eabd..07cafd1f33a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12011-02-20 Christoph Scholtes <cschol2112@gmail.com>
2
3 * lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
4 src/makefile.w32-in.
5
12011-02-20 Paul Eggert <eggert@cs.ucla.edu> 62011-02-20 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Import crypto/md5 and stdint modules from gnulib. 8 Import crypto/md5 and stdint modules from gnulib.
diff --git a/lib/makefile.w32-in b/lib/makefile.w32-in
index cdf44f614b6..c60d85aa01c 100644
--- a/lib/makefile.w32-in
+++ b/lib/makefile.w32-in
@@ -27,7 +27,8 @@ GNULIBOBJS = $(BLD)/dtoastr.$(O) \
27 $(BLD)/getopt.$(O) \ 27 $(BLD)/getopt.$(O) \
28 $(BLD)/getopt1.$(O) \ 28 $(BLD)/getopt1.$(O) \
29 $(BLD)/strftime.$(O) \ 29 $(BLD)/strftime.$(O) \
30 $(BLD)/time_r.$(O) 30 $(BLD)/time_r.$(O) \
31 $(BLD)/md5.$(O)
31 32
32# 33#
33# Build the library 34# Build the library
@@ -93,11 +94,19 @@ $(BLD)/time_r.$(O) : \
93 $(EMACS_ROOT)/src/m/intel386.h \ 94 $(EMACS_ROOT)/src/m/intel386.h \
94 $(EMACS_ROOT)/src/config.h 95 $(EMACS_ROOT)/src/config.h
95 96
97$(BLD)/md5.$(O) : \
98 $(EMACS_ROOT)/lib/md5.c \
99 $(EMACS_ROOT)/src/s/ms-w32.h \
100 $(EMACS_ROOT)/src/m/intel386.h \
101 $(EMACS_ROOT)/src/config.h \
102 $(EMACS_ROOT)/nt/inc/sys/stat.h \
103 $(EMACS_ROOT)/lib/md5.h
104
96# The following dependencies are for supporting parallel builds, where 105# The following dependencies are for supporting parallel builds, where
97# we must make sure $(BLD) exists before any compilation starts. 106# we must make sure $(BLD) exists before any compilation starts.
98# 107#
99$(BLD)/dtoastr.$(O) $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O): stamp_BLD 108$(BLD)/dtoastr.$(O) $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O): stamp_BLD
100$(BLD)/strftime.$(O) $(BLD)/time_r.$(O): stamp_BLD 109$(BLD)/strftime.$(O) $(BLD)/time_r.$(O) $(BLD)/md5.$(O): stamp_BLD
101 110
102# 111#
103# Headers we would preprocess if we could. 112# Headers we would preprocess if we could.
diff --git a/src/ChangeLog b/src/ChangeLog
index 54d912cc15d..c53e5add3fb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12011-02-20 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in ($(BLD)/fns.$(O)): Depend on
4 $(EMACS_ROOT)/lib/md5.h and on stamp_BLD.
5
62011-02-20 Christoph Scholtes <cschol2112@gmail.com>
7
8 * makefile.w32-in: Remove md5.$(O).
9 ($(BLD)/md5.$(O)): Remove prerequisites, moved to
10 lib/makefile.w32-in.
11
12011-02-20 Paul Eggert <eggert@cs.ucla.edu> 122011-02-20 Paul Eggert <eggert@cs.ucla.edu>
2 13
3 Import crypto/md5 and stdint modules from gnulib. 14 Import crypto/md5 and stdint modules from gnulib.
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index ce4b9f35de8..ca7fdcac029 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -81,7 +81,6 @@ OBJ1 = $(BLD)/alloc.$(O) \
81 $(BLD)/lread.$(O) \ 81 $(BLD)/lread.$(O) \
82 $(BLD)/macros.$(O) \ 82 $(BLD)/macros.$(O) \
83 $(BLD)/marker.$(O) \ 83 $(BLD)/marker.$(O) \
84 $(BLD)/md5.$(O) \
85 $(BLD)/minibuf.$(O) \ 84 $(BLD)/minibuf.$(O) \
86 $(BLD)/w32.$(O) \ 85 $(BLD)/w32.$(O) \
87 $(BLD)/w32heap.$(O) \ 86 $(BLD)/w32heap.$(O) \
@@ -221,7 +220,7 @@ GLOBAL_SOURCES = dosfns.c msdos.c \
221 syntax.c bytecode.c \ 220 syntax.c bytecode.c \
222 process.c callproc.c unexw32.c \ 221 process.c callproc.c unexw32.c \
223 region-cache.c sound.c atimer.c \ 222 region-cache.c sound.c atimer.c \
224 doprnt.c intervals.c textprop.c composite.c md5.c 223 doprnt.c intervals.c textprop.c composite.c
225SOME_MACHINE_OBJECTS = dosfns.o msdos.o \ 224SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
226 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o 225 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
227obj = $(GLOBAL_SOURCES:.c=.o) 226obj = $(GLOBAL_SOURCES:.c=.o)
@@ -843,6 +842,7 @@ $(BLD)/fns.$(O) : \
843 $(EMACS_ROOT)/nt/inc/nl_types.h \ 842 $(EMACS_ROOT)/nt/inc/nl_types.h \
844 $(EMACS_ROOT)/nt/inc/unistd.h \ 843 $(EMACS_ROOT)/nt/inc/unistd.h \
845 $(EMACS_ROOT)/nt/inc/sys/time.h \ 844 $(EMACS_ROOT)/nt/inc/sys/time.h \
845 $(EMACS_ROOT)/lib/md5.h \
846 $(LISP_H) \ 846 $(LISP_H) \
847 $(SRC)/atimer.h \ 847 $(SRC)/atimer.h \
848 $(SRC)/blockinput.h \ 848 $(SRC)/blockinput.h \
@@ -856,7 +856,6 @@ $(BLD)/fns.$(O) : \
856 $(SRC)/intervals.h \ 856 $(SRC)/intervals.h \
857 $(SRC)/keyboard.h \ 857 $(SRC)/keyboard.h \
858 $(SRC)/keymap.h \ 858 $(SRC)/keymap.h \
859 $(SRC)/md5.h \
860 $(SRC)/systime.h \ 859 $(SRC)/systime.h \
861 $(SRC)/w32gui.h \ 860 $(SRC)/w32gui.h \
862 $(SRC)/window.h 861 $(SRC)/window.h
@@ -1135,11 +1134,6 @@ $(BLD)/marker.$(O) : \
1135 $(SRC)/buffer.h \ 1134 $(SRC)/buffer.h \
1136 $(SRC)/character.h 1135 $(SRC)/character.h
1137 1136
1138$(BLD)/md5.$(O) : \
1139 $(SRC)/md5.c \
1140 $(CONFIG_H) \
1141 $(SRC)/md5.h
1142
1143$(BLD)/menu.$(O) : \ 1137$(BLD)/menu.$(O) : \
1144 $(SRC)/menu.c \ 1138 $(SRC)/menu.c \
1145 $(CONFIG_H) \ 1139 $(CONFIG_H) \