summaryrefslogtreecommitdiff
path: root/make/gnu-dep.mk
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:05:11 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:05:11 +0000
commit944d154befc9e27b121d221074f4b24af500011b (patch)
tree8119ed36f8a4e6dd10467ba2f6f4a2bcf4c804da /make/gnu-dep.mk
parentee0d8addcea381775c98dc1e40031a0d658636b6 (diff)
Re-implement dependency generation in perl to increase speed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11559 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/gnu-dep.mk')
-rw-r--r--make/gnu-dep.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/make/gnu-dep.mk b/make/gnu-dep.mk
index f0ebb4d59..5cf0927da 100644
--- a/make/gnu-dep.mk
+++ b/make/gnu-dep.mk
@@ -1,3 +1,4 @@
-VDEP_OUT = echo -n .
-
-include ../make/gnu-real.mk
+CFILES = $(shell perl -e 'print join " ", <*.cpp>, <commands/*.cpp>, <modes/*.cpp>, <modules/*.cpp>, <modules/m_spanningtree/*.cpp>')
+CFILES += socketengines/$(SOCKETENGINE).cpp threadengines/threadengine_pthread.cpp
+alldep:
+ @../make/calcdep.pl $(CFILES)