diff --git a/ChangeLog b/ChangeLog index b77cdcce63eeb6ef6e94e4310a4a1b523a00b16e..e995d4be823c09c9d7f3a0bad5e42737111ab6d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ +2004-11-14 Niels Möller <nisse@lysator.liu.se> + + * configure.ac (dummy-dep-files): Create dummy dependency files, + so that they can be included by the makefiles. + 2004-11-13 Niels Möller <nisse@lysator.liu.se> * Makefile.in: Don't use -include, as it's GNU make specific. - Added rule to create empty dependency files if they are missing. * examples/Makefile.in, tools/Makefile.in, testsuite/Makefile.in: Likewise. diff --git a/Makefile.in b/Makefile.in index ca3d0c246b921ace0584fa250d3cdad73ca1ca98..f78230014c872952e0aab25a9a15bd62bf7edc53 100644 --- a/Makefile.in +++ b/Makefile.in @@ -323,10 +323,4 @@ distclean-here: clean-here -rm -f config.h stamp-h config.log config.status \ config.make config.m4 Makefile nettle-types.h -DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) $(SOURCES:.c=.p$(OBJEXT).d) - -# Create empty dependency files, if needed. -$(DEP_FILES): - @echo > $@ - -include $(DEP_FILES) +include $(SOURCES:.c=.$(OBJEXT).d) $(SOURCES:.c=.p$(OBJEXT).d) diff --git a/examples/Makefile.in b/examples/Makefile.in index 935ce12c0b2f7cdc1561a5a5b17c1f1414c8767a..79315d67e8b8c382093c34302e2e1fd0c4b6a37d 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -53,10 +53,4 @@ clean: distclean: clean -rm -f Makefile -DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) - -# Create empty dependency files, if needed. -$(DEP_FILES): - @echo > $@ - -include $(DEP_FILES) +include $(SOURCES:.c=.$(OBJEXT).d) diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 9b40e6ddedaa49e5610bfa5994af0c28a21af189..53afe8ca495b9f7823674c5e3b01d640da8c0599 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -66,10 +66,4 @@ clean: distclean: clean -rm -f Makefile -DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) - -# Create empty dependency files, if needed. -$(DEP_FILES): - @echo > $@ - -include $(DEP_FILES) +include $(SOURCES:.c=.$(OBJEXT).d) diff --git a/tools/Makefile.in b/tools/Makefile.in index 06874354ee40e4a3646e993e59a0a8e751c2153b..8c2de7f806096c622f4ecbd85bcd88ed5db5ee43 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -55,10 +55,4 @@ clean: distclean: clean -rm -f Makefile -DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) - -# Create empty dependency files, if needed. -$(DEP_FILES): - @echo > $@ - -include $(DEP_FILES) +include $(SOURCES:.c=.$(OBJEXT).d)