get rid of depend

This commit is contained in:
Vitor Santos Costa 2009-04-22 21:22:04 -05:00
parent 7d0341bec9
commit 88289b1fe3
6 changed files with 7 additions and 16 deletions

View File

@ -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

6
configure vendored
View File

@ -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 ../..)

View File

@ -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 ../..)

View File

@ -1 +0,0 @@
# File to be used by "make depend"

View File

@ -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

View File

@ -1 +0,0 @@
# File to be used by "make depend"