diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-09 03:46:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-09 03:46:21 +0000 |
commit | 141467d8703fd1e887d8509d0b61ad798d36a205 (patch) | |
tree | d0867c13b63ad78b7233ff5c213a5151c8706b62 /src/Makefile | |
parent | 71046a6a1c3827170ed19326fed7a63487dca658 (diff) |
New way of building modules, this is supposedly more portable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1339 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 51 |
1 files changed, 34 insertions, 17 deletions
diff --git a/src/Makefile b/src/Makefile index 6a15d5963..8d197abe5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -15,53 +15,70 @@ inspircd: inspircd.cpp ../include/base.h ../include/channels.h ../include/inspir $(CXX) -I../include $(FLAGS) -rdynamic -L. inspircd.cpp -o inspircd $(LDLIBS) libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDutil.so libIRCDio.so libIRCDconnection.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDservers.so libIRCDchannels.so: channels.cpp ../include/base.h ../include/channels.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDchannels.so channels.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c channels.cpp + $(CC) -shared -o libIRCDchannels.so channels.o libIRCDmode.so: mode.cpp ../include/base.h ../include/mode.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDmode.so mode.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c mode.cpp + $(CC) -shared -o libIRCDmode.so mode.o libIRCDxline.so: xline.cpp ../include/base.h ../include/xline.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDxline.so xline.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c xline.cpp + $(CC) -shared -o libIRCDxline.so xline.o libIRCDstring.so: inspstring.cpp ../include/base.h ../include/inspstring.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDstring.so inspstring.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c inspstring.cpp + $(CC) -shared -o libIRCDstring.so inspstring.o libIRCDasyncdns.so: dns.cpp ../include/base.h ../include/dns.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDasyncdns.so dns.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c dns.cpp + $(CC) -shared -o libIRCDasyncdns.so dns.o libIRCDbase.so: base.cpp ../include/base.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDbase.so base.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c base.cpp + $(CC) -shared -o libIRCDbase.so base.o libIRCDutil.so: inspircd_util.cpp ../include/base.h ../include/inspircd_util.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDutil.so inspircd_util.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c inspircd_util.cpp + $(CC) -shared -o libIRCDutil.so inspircd_util.o libIRCDio.so: inspircd_io.cpp ../include/base.h ../include/inspircd_io.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDio.so inspircd_io.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c inspircd_io.cpp + $(CC) -shared -o libIRCDio.so inspircd_io.o libIRCDconnection.so: connection.cpp ../include/base.h ../include/connection.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDconnection.so connection.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c connection.cpp + $(CC) -shared -o libIRCDconnection.so connection.o libIRCDmessage.so: message.cpp ../include/base.h ../include/message.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDmessage.so message.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c message.cpp + $(CC) -shared -o libIRCDmessage.so message.o libIRCDcommands.so: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDcommands.so commands.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c commands.cpp + $(CC) -shared -o libIRCDcommands.so commands.o libIRCDdnsqueue.so: dnsqueue.cpp ../include/base.h ../include/dnsqueue.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDdnsqueue.so dnsqueue.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c dnsqueue.cpp + $(CC) -shared -o libIRCDdnsqueue.so dnsqueue.o libIRCDdynamic.so: dynamic.cpp ../include/base.h ../include/dynamic.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDdynamic.so dynamic.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c dynamic.cpp + $(CC) -shared -o libIRCDdynamic.so dynamic.o libIRCDusers.so: users.cpp ../include/base.h ../include/users.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDusers.so users.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c users.cpp + $(CC) -shared -o libIRCDusers.so users.o libIRCDmodules.so: modules.cpp ../include/base.h ../include/modules.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDmodules.so modules.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c modules.cpp + $(CC) -shared -o libIRCDmodules.so modules.o libIRCDwildcard.so: wildcard.cpp ../include/base.h ../include/wildcard.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDwildcard.so wildcard.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c wildcard.cpp + $(CC) -shared -o libIRCDwildcard.so wildcard.o libIRCDservers.so: servers.cpp ../include/base.h ../include/servers.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h - $(CC) -I../include $(FLAGS) -shared -o libIRCDservers.so servers.cpp + $(CC) -I../include $(FLAGS) -export-dynamic -c servers.cpp + $(CC) -shared -o libIRCDservers.so servers.o |