remove BSD make code to handle including .depend

This commit is contained in:
William Hubbs 2011-02-02 16:42:17 -06:00 committed by William Hubbs
parent aaaea44d22
commit a2e9cde737
3 changed files with 1 additions and 11 deletions

View File

@ -1,2 +0,0 @@
# This space left intentionally blank because gmake does not load .depend
# by default

View File

@ -1,3 +0,0 @@
# Tell gmake to include the optional dependency file.
# This sucks, but I don't know any other way of portably making this work.
-include .depend

View File

@ -10,9 +10,4 @@ IGNOREFILES+= .depend
depend: .depend extra_depend
# Nasty hack. depend-.mk is a blank file, depend-gmake.mk has a gmake specific
# command to optionally include .depend.
# Someone should patch gmake to optionally include .depend if it exists.
_INC_DEP= $(shell if ${MAKE} --version | grep -q "^GNU "; then \
echo "gmake"; else echo ""; fi)
include ${MK}/depend-${_INC_DEP}.mk
-include .depend