From d9e78741ad138bcdf3daeea3518d22eca23d5edd Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 10:05:06 +0000 Subject: Fixed dodgy makefile generation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2507 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 4 ++-- src/modules.cpp | 1 + src/users.cpp | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index b9032c110..83eb03606 100755 --- a/configure +++ b/configure @@ -1079,7 +1079,7 @@ CC = im a cheezeball CXXFLAGS = -I../include \${FLAGS} -all: libIRCDcommand_parse.so libIRCDcull_list.so libIRCDuserprocess.so libIRCDsocketengine.so libIRCDsocket.so libIRCDhash.so libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDio.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDhelper.so inspircd +all: libIRCDcull_list.so libIRCDuserprocess.so libIRCDsocketengine.so libIRCDsocket.so libIRCDhash.so libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDio.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDhelper.so libIRCDcommand_parse.so inspircd inspircd: inspircd.cpp ../include/base.h ../include/channels.h ../include/inspircd.h ../include/channels.h ../include/globals.h ../include/inspircd_config.h ../include/socket.h \$(CC) -I../include \$(FLAGS) -rdynamic -L. inspircd.cpp -o inspircd \$(LDLIBS) libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDio.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDhelper.so libIRCDhash.so libIRCDsocket.so libIRCDsocketengine.so libIRCDuserprocess.so libIRCDcull_list.so libIRCDcommand_parse.so @@ -1090,7 +1090,7 @@ libIRCDsocketengine.so: socketengine.cpp ../include/base.h ../include/hashcomp.h libIRCDcommand_parse.so: command_parse.cpp ../include/base.h ../include/hashcomp.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c command_parse.cpp - \$(CC) -shared -o libIRCDcommand_parse.so command_parse.cpp + \$(CC) -shared -o libIRCDcommand_parse.so command_parse.o libIRCDcull_list.so: cull_list.cpp ../include/base.h ../include/hashcomp.h ../include/globals.h ../include/inspircd_config.h ../include/users.h ../include/channels.h \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c cull_list.cpp diff --git a/src/modules.cpp b/src/modules.cpp index a5404038b..83c0abd21 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -49,6 +49,7 @@ using namespace std; #include "socketengine.h" #include "typedefs.h" #include "modules.h" +#include "command_parse.h" extern SocketEngine* SE; extern ServerConfig *Config; diff --git a/src/users.cpp b/src/users.cpp index 0552ca882..2ad0fd307 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -51,6 +51,7 @@ extern serverstats* stats; extern ServerConfig *Config; extern user_hash clientlist; extern whowas_hash whowas; +extern Module* IOHookModule; std::vector local_users; std::vector all_opers; -- cgit v1.2.3