summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-30 18:31:05 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-30 18:31:05 +0000
commit7aa5e059a8f66d91bd8b69c58c657ceb70b4baff (patch)
tree3c846a54d4391ff662d0339fd7854a1c215ba7e5 /make/calcdep.pl
parent4a64082e31c3c3dfa97a1edfb8a3c97fe8d32ea7 (diff)
Remove include/inspircd_se_config.h and socketengine-specific headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index d9242b098..890d8d265 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -37,9 +37,10 @@ all: bin/inspircd modules
END
my @core_deps;
- for my $file (<*.cpp>, <modes/*.cpp>, "socketengines/$ENV{SOCKETENGINE}.cpp", "threadengines/threadengine_pthread.cpp") {
+ for my $file (<*.cpp>, <modes/*.cpp>, <socketengines/*.cpp>, "threadengines/threadengine_pthread.cpp") {
my $out = find_output $file;
dep_cpp $file, $out;
+ next if $file =~ m#^socketengines/# && $file ne "socketengines/$ENV{SOCKETENGINE}.cpp";
push @core_deps, $out;
}