From a2e9cde737ede93502a80fe50e62b0aea50643dc Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 2 Feb 2011 16:42:17 -0600 Subject: remove BSD make code to handle including .depend --- mk/depend-.mk | 2 -- mk/depend-gmake.mk | 3 --- mk/depend.mk | 7 +------ 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 mk/depend-.mk delete mode 100644 mk/depend-gmake.mk diff --git a/mk/depend-.mk b/mk/depend-.mk deleted file mode 100644 index 9d13b527..00000000 --- a/mk/depend-.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This space left intentionally blank because gmake does not load .depend -# by default diff --git a/mk/depend-gmake.mk b/mk/depend-gmake.mk deleted file mode 100644 index 947843e1..00000000 --- a/mk/depend-gmake.mk +++ /dev/null @@ -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 diff --git a/mk/depend.mk b/mk/depend.mk index 067c1ef0..44af3782 100644 --- a/mk/depend.mk +++ b/mk/depend.mk @@ -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 -- cgit v1.2.3