summaryrefslogtreecommitdiff
path: root/lib/makefile.w32-in
diff options
context:
space:
mode:
authorChristoph Scholtes <cschol2112@gmail.com>2011-02-20 20:50:26 +0200
committerEli Zaretskii <eliz@gnu.org>2011-02-20 20:50:26 +0200
commit32159fc37e0281a54dd35abb17aac7302104fd5e (patch)
tree22d02709522cd5015107f09b03c79cce41606843 /lib/makefile.w32-in
parentbdfbdbb2197aa835bf8c09de964f7ba0cf086633 (diff)
downloademacs-32159fc37e0281a54dd35abb17aac7302104fd5e.tar.gz
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.
Diffstat (limited to 'lib/makefile.w32-in')
-rw-r--r--lib/makefile.w32-in13
1 files changed, 11 insertions, 2 deletions
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) \
$(BLD)/getopt.$(O) \
$(BLD)/getopt1.$(O) \
$(BLD)/strftime.$(O) \
- $(BLD)/time_r.$(O)
+ $(BLD)/time_r.$(O) \
+ $(BLD)/md5.$(O)
#
# Build the library
@@ -93,11 +94,19 @@ $(BLD)/time_r.$(O) : \
$(EMACS_ROOT)/src/m/intel386.h \
$(EMACS_ROOT)/src/config.h
+$(BLD)/md5.$(O) : \
+ $(EMACS_ROOT)/lib/md5.c \
+ $(EMACS_ROOT)/src/s/ms-w32.h \
+ $(EMACS_ROOT)/src/m/intel386.h \
+ $(EMACS_ROOT)/src/config.h \
+ $(EMACS_ROOT)/nt/inc/sys/stat.h \
+ $(EMACS_ROOT)/lib/md5.h
+
# The following dependencies are for supporting parallel builds, where
# we must make sure $(BLD) exists before any compilation starts.
#
$(BLD)/dtoastr.$(O) $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O): stamp_BLD
-$(BLD)/strftime.$(O) $(BLD)/time_r.$(O): stamp_BLD
+$(BLD)/strftime.$(O) $(BLD)/time_r.$(O) $(BLD)/md5.$(O): stamp_BLD
#
# Headers we would preprocess if we could.