]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
In static build save munged files as .m_name_static.cpp rather than m_name_static...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Apr 2006 00:13:15 +0000 (00:13 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Apr 2006 00:13:15 +0000 (00:13 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3912 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index 7a9b4372c71ba46e449ddd918a00e4bda46b74c5..c42cbf05e5e4cbd479b228946219d12e75b35c69 100755 (executable)
--- a/configure
+++ b/configure
@@ -1229,8 +1229,8 @@ HEADER
                        # Write Entry to the Makefile
                        ###
                        print FILEHANDLE <<EOCHEESE;
-m_$i.o: m_$i\_static.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h
-       \$(CC) -pipe -I../../include \$(FLAGS) $flags -export-dynamic -c m_$i\_static.cpp
+m_$i.o: .m_$i\_static.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h
+       \$(CC) -pipe -I../../include \$(FLAGS) $flags -export-dynamic -c .m_$i\_static.cpp
        mv m_$i\_static.o ../m_$i.o
 
 EOCHEESE
@@ -1239,7 +1239,7 @@ EOCHEESE
                        ###
                        print "Configuring module [\033[1;32mm_$i.so\033[0m] for static linking... ";
                        open(MODULE,"<src/modules/m_".$i.".cpp") or die("Could not open m_".$i.".cpp");
-                       open(MUNGED,">src/modules/m_".$i."_static.cpp") or die("Could not create m_".$i."_static.cpp");
+                       open(MUNGED,">src/modules/.m_".$i."_static.cpp") or die("Could not create .m_".$i."_static.cpp");
                        while (chomp($a = <MODULE>)) { 
                                $a =~ s/init_module/$i\_init/g;
                                print MUNGED "$a\n";