summaryrefslogtreecommitdiff
path: root/make/bsd-real.mk
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 22:44:44 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 22:44:44 +0000
commiteb910456e2f01255f277fe060fef6f7dd3018cf7 (patch)
treef34967b93597ee1e1ab597ea420393732d5b66a0 /make/bsd-real.mk
parentdb6308f63001b3071c9104736e4a40cfb87468ec (diff)
Move file inclusion logic into calcdep, and complain about ambiguous #include directives there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11587 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/bsd-real.mk')
-rw-r--r--make/bsd-real.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/make/bsd-real.mk b/make/bsd-real.mk
index 6fdf2e57f..4ccc11be3 100644
--- a/make/bsd-real.mk
+++ b/make/bsd-real.mk
@@ -1,13 +1,11 @@
CORE_TARGS != perl -e 'print join " ", grep s/\.cpp/.o/, <*.cpp>, <modes/*.cpp>'
CMD_TARGS != perl -e 'print join " ", grep s/\.cpp/.so/, <commands/*.cpp>'
MOD_TARGS != perl -e 'print join " ", grep s/\.cpp/.so/, <modules/*.cpp>'
-MDIR_TARGS != perl -e 'print join " ", grep s!/?$$!.so!, <modules/m_*/>'
+MDIR_TARGS != perl -e 'print join " ", grep s!/?$$!.so!, grep -d, <modules/m_*>'
CORE_TARGS += socketengines/$(SOCKETENGINE).o threadengines/threadengine_pthread.o
-DFILES != perl -e 'print join " ", grep s!([^/]+)\.cpp!.$$1.d!, <*.cpp>, <commands/*.cpp>, <modes/*.cpp>, <modules/*.cpp>, <modules/m_*/*.cpp>'
-DFILES2 != perl -e 'print join " ", grep s!([^/]+)/?$$!.$$1.d!, <modules/m_*/>'
-DFILES += $(DFILES2) socketengines/.$(SOCKETENGINE).d threadengines/.threadengine_pthread.d
+DFILES != perl ../make/calcdep.pl -all
all: inspircd commands modules