diff --git a/Makefile.in b/Makefile.in index 3ae7fbf8f..153b71ae8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -714,10 +714,10 @@ TAGS: $(C_SOURCES) $(PL_SOURCES) $(HEADERS) depend: $(HEADERS) $(C_SOURCES) -@if test "$(GCC)" = yes; then\ - $(CC) -MM $(CFLAGS) -I$(srcdir)/include $(C_SOURCES) > depend;\ + $(CC) -MM $(CFLAGS) -I$(srcdir)/include $(C_SOURCES) >> Makefile;\ else\ makedepend -f - -- $(CFLAGS) -I$(srcdir)/include -- $(C_SOURCES) |\ - sed 's|.*/\([^:]*\):|\1:|' > depend ;\ + sed 's|.*/\([^:]*\):|\1:|' >> Makefile ;\ fi clean: clean_docs @@ -823,4 +823,3 @@ installcheck: # DO NOT DELETE THIS LINE -- make depend depends on it. -include depend diff --git a/configure b/configure index f23fd8f3d..fc934b9cf 100755 --- a/configure +++ b/configure @@ -16736,7 +16736,7 @@ mkdir -p packages/ProbLog mkdir -p packages/ProbLog/simplecudd mkdir -p packages/sgml -ac_config_files="$ac_config_files .depend" +ac_config_files="$ac_config_files depend" ac_config_files="$ac_config_files Makefile" @@ -17357,7 +17357,7 @@ for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - ".depend") CONFIG_FILES="$CONFIG_FILES .depend" ;; + "depend") CONFIG_FILES="$CONFIG_FILES depend" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "GPL/Makefile") CONFIG_FILES="$CONFIG_FILES GPL/Makefile" ;; "library/Makefile") CONFIG_FILES="$CONFIG_FILES library/Makefile" ;; @@ -18046,5 +18046,3 @@ if test "$no_create" != yes; then fi -make depend -(cd packages/PLStream; make depend; cd ../..) diff --git a/configure.in b/configure.in index d5f69bd06..ed1f65b87 100644 --- a/configure.in +++ b/configure.in @@ -1555,7 +1555,7 @@ mkdir -p packages/ProbLog mkdir -p packages/ProbLog/simplecudd mkdir -p packages/sgml -AC_CONFIG_FILES([.depend]) +AC_CONFIG_FILES([depend]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([GPL/Makefile]) AC_CONFIG_FILES([library/Makefile]) @@ -1597,5 +1597,3 @@ fi AC_OUTPUT() -make depend -(cd packages/PLStream; make depend; cd ../..) diff --git a/depend.in b/depend.in deleted file mode 100644 index 5f28afcfc..000000000 --- a/depend.in +++ /dev/null @@ -1 +0,0 @@ -# File to be used by "make depend" diff --git a/packages/PLStream/Makefile.in b/packages/PLStream/Makefile.in index b1d075625..efd03dc51 100644 --- a/packages/PLStream/Makefile.in +++ b/packages/PLStream/Makefile.in @@ -118,10 +118,8 @@ clean: depend: $(HEADERS) $(C_SOURCES) -@if test "$(GCC)" = yes; then\ - $(CC) -MM -MG $(CFLAGS) -I$(srcdir) -I$(srcdir)/../../include -I$(srcdir)/../../H $(C_SOURCES) > depend;\ + $(CC) -MM -MG $(CFLAGS) -I$(srcdir) -I$(srcdir)/../../include -I$(srcdir)/../../H $(C_SOURCES) >> Makefile;\ else\ makedepend -f - -- $(CFLAGS) -I$(srcdir)/../../H -I$(srcdir)/../../include -- $(C_SOURCES) |\ - sed 's|.*/\([^:]*\):|\1:|' > .depend ;\ + sed 's|.*/\([^:]*\):|\1:|' >> Makefile ;\ fi - -include depend diff --git a/packages/PLStream/depend.in b/packages/PLStream/depend.in deleted file mode 100644 index 5f28afcfc..000000000 --- a/packages/PLStream/depend.in +++ /dev/null @@ -1 +0,0 @@ -# File to be used by "make depend"