diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-10 17:06:52 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-10 17:06:52 +0000 |
commit | 26cd5393c9308fabe73c41870f06f73a5b001cd7 (patch) | |
tree | f9cfd6afe3b35ea81add40d4bb5246a66a536f16 /make/calcdep.pl | |
parent | 892b3fde2fa974e339f049283d8d3e5f75a49107 (diff) |
Update m_cloaking to use free-form keys instead of weakening the hash IV
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-x | make/calcdep.pl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl index 890d8d265..2a0ea5d92 100755 --- a/make/calcdep.pl +++ b/make/calcdep.pl @@ -33,22 +33,21 @@ sub run() { # Autogenerated by calcdep VPATH = \$(SOURCEPATH)/src -all: bin/inspircd modules +all: inspircd commands modules END - my @core_deps; + my(@core_deps, @cmdlist, @modlist); 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; } - - my @modlist; + for my $file (<commands/*.cpp>) { my $out = find_output $file; dep_cpp $file, $out; - push @modlist, $out; + push @cmdlist, $out; } opendir my $moddir, 'modules'; @@ -72,6 +71,7 @@ END } my $core_mk = join ' ', @core_deps; + my $cmds = join ' ', @cmdlist; my $mods = join ' ', @modlist; print MAKE <<END; @@ -79,9 +79,12 @@ bin/inspircd: $core_mk \$(RUNCC) -o \$\@ \$(CORELDFLAGS) \$(LDLIBS) \$^ \$> inspircd: bin/inspircd + +commands: $cmds + modules: $mods -.PHONY: inspircd modules +.PHONY: inspircd commands modules END } |