[Pkg-irc-commits] r173 - in /packages/inspircd/trunk/debian/patches: ./ 00list 01_remove_libIRCDfoo_stuff.dpatch

nenolod-guest at users.alioth.debian.org nenolod-guest at users.alioth.debian.org
Wed Feb 27 16:50:27 UTC 2008


Author: nenolod-guest
Date: Wed Feb 27 16:50:27 2008
New Revision: 173

URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=173
Log:
Remove libIRCDfoo stuff. Needs testing.

Added:
    packages/inspircd/trunk/debian/patches/
    packages/inspircd/trunk/debian/patches/00list
    packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch   (with props)

Added: packages/inspircd/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/patches/00list?rev=173&op=file
==============================================================================
--- packages/inspircd/trunk/debian/patches/00list (added)
+++ packages/inspircd/trunk/debian/patches/00list Wed Feb 27 16:50:27 2008
@@ -1,0 +1,2 @@
+01_remove_libIRCDfoo_stuff.dpatch
+

Added: packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch?rev=173&op=file
==============================================================================
--- packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch (added)
+++ packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch Wed Feb 27 16:50:27 2008
@@ -1,0 +1,274 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_remove_libIRCDfoo_stuff.dpatch by William Pitcock <nenolod at sacredspiral.co.uk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad inspircd~/configure inspircd/configure
+--- inspircd~/configure	2007-12-09 14:32:25.000000000 -0600
++++ inspircd/configure	2008-02-27 10:53:18.000000000 -0600
+@@ -1698,101 +1698,41 @@
+ 
+ if ($config{IS_DARWIN} eq "YES") {
+ 	print FH <<EOM;
+-all: libIRCDtimer.dylib libIRCDcull_list.dylib libIRCDuserprocess.dylib libIRCDsocketengine.dylib libIRCDsocket.dylib libIRCDhash.dylib libIRCDchannels.dylib libIRCDmode.dylib libIRCDxline.dylib libIRCDstring.dylib libIRCDasyncdns.dylib libIRCDbase.dylib libIRCDconfigreader.dylib libIRCDinspsocket.dylib libIRCDcommands.dylib libIRCDdynamic.dylib libIRCDusers.dylib libIRCDmodules.dylib libIRCDwildcard.dylib libIRCDhelper.dylib libIRCDcommand_parse.dylib libIRCDsnomasks.dylib 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 $cmdobjs libIRCDtimer.dylib libIRCDcull_list.dylib libIRCDuserprocess.dylib libIRCDsocketengine.dylib libIRCDsocket.dylib libIRCDhash.dylib libIRCDchannels.dylib libIRCDmode.dylib libIRCDxline.dylib libIRCDstring.dylib libIRCDasyncdns.dylib libIRCDbase.dylib libIRCDconfigreader.dylib libIRCDinspsocket.dylib libIRCDsnomasks.dylib libIRCDcommands.dylib libIRCDdynamic.dylib libIRCDusers.dylib libIRCDmodules.dylib libIRCDwildcard.dylib libIRCDhelper.dylib libIRCDcommand_parse.dylib
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c inspircd.cpp
+-	\$(CC) -pipe -dynamic -bind_at_load -L. -o inspircd \$(LDLIBS) inspircd.o libIRCDchannels.dylib libIRCDmode.dylib libIRCDxline.dylib libIRCDstring.dylib libIRCDasyncdns.dylib libIRCDbase.dylib libIRCDconfigreader.dylib libIRCDinspsocket.dylib libIRCDcommands.dylib libIRCDdynamic.dylib libIRCDusers.dylib libIRCDmodules.dylib libIRCDwildcard.dylib libIRCDhelper.dylib libIRCDhash.dylib libIRCDsocket.dylib libIRCDsocketengine.dylib libIRCDuserprocess.dylib libIRCDcull_list.dylib libIRCDcommand_parse.dylib libIRCDtimer.dylib libIRCDsnomasks.dylib
+-
+-libIRCDsocketengine.dylib: $se.cpp socketengine.cpp ../include/base.h ../include/hashcomp.h ../include/globals.h ../include/inspircd_config.h ../include/$se.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c socketengine.cpp
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c $se.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDsocketengine.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDsocketengine.dylib socketengine.o $se.o
+-
+-libIRCDsnomasks.dylib: snomasks.cpp ../include/base.h ../include/hashcomp.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/channels.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c snomasks.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDsnomasks.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDsnomasks.dylib snomasks.o
+-
+-libIRCDcommand_parse.dylib: 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) -pipe -install_name $config{LIBRARY_DIR}/libIRCDcommand_parse.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDcommand_parse.dylib command_parse.o
+-
+-libIRCDcull_list.dylib: 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
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDcull_list.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDcull_list.dylib cull_list.o
+-
+-libIRCDuserprocess.dylib: userprocess.cpp ../include/base.h ../include/hashcomp.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c userprocess.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDuserprocess.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDuserprocess.dylib userprocess.o
+-
+-libIRCDhash.dylib: hashcomp.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 hashcomp.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDhash.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDhash.dylib hashcomp.o
+-
+-libIRCDhelper.dylib: helperfuncs.cpp ../include/base.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c helperfuncs.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDhelper.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDhelper.dylib helperfuncs.o
+-
+-libIRCDchannels.dylib: channels.cpp ../include/base.h ../include/channels.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c channels.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDchannels.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDchannels.dylib channels.o
+-
+-libIRCDmode.dylib: mode.cpp ../include/base.h ../include/mode.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(RELCPPFILES)
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c mode.cpp
+-	\${MAKE} -C "modes" DIRNAME="src/modes" CC="\$(CC)" \$(MAKEARGS) CPPFILES="\$(CPPFILES)"
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDmode.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDmode.dylib mode.o modes/modeclasses.a
+-
+-libIRCDxline.dylib: xline.cpp ../include/base.h ../include/xline.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c xline.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDxline.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDxline.dylib xline.o
+-
+-libIRCDstring.dylib: 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) -pipe -I../include \$(FLAGS) -export-dynamic -c inspstring.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDstring.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDstring.dylib inspstring.o
+-
+-libIRCDasyncdns.dylib: dns.cpp ../include/base.h ../include/dns.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c dns.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDasyncdns.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDasyncdns.dylib dns.o
+-
+-libIRCDbase.dylib: base.cpp ../include/base.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c base.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDbase.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDbase.dylib base.o
+-
+-libIRCDconfigreader.dylib: configreader.cpp ../include/base.h ../include/configreader.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c configreader.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDconfigreader.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDconfigreader.dylib configreader.o
+-
+-libIRCDcommands.dylib: commands.cpp ../include/base.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c commands.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDcommands.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDcommands.dylib commands.o
+-
+-libIRCDdynamic.dylib: 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) -pipe -I../include \$(FLAGS) -export-dynamic -c dynamic.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDdynamic.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDdynamic.dylib dynamic.o
+-
+-libIRCDusers.dylib: users.cpp ../include/base.h ../include/users.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c users.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDusers.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDusers.dylib users.o
+-
+-libIRCDmodules.dylib: modules.cpp ../include/base.h ../include/modules.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c modules.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDmodules.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDmodules.dylib modules.o
++all: inspircd
+ 
+-libIRCDwildcard.dylib: 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) -pipe -I../include \$(FLAGS) -export-dynamic -c wildcard.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDwildcard.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDwildcard.dylib wildcard.o
++SOURCES = \
++	inspircd.cpp		\
++	$se.cpp			\
++	socketengine.cpp	\
++	snomasks.cpp		\
++	command_parse.cpp	\
++	cull_list.cpp		\
++	userprocess.cpp		\
++	hashcomp.cpp		\
++	helperfuncs.cpp		\
++	channels.cpp		\
++	mode.cpp		\
++	xline.cpp		\
++	inspstring.cpp		\
++	dns.cpp			\
++	base.cpp		\
++	configreader.cpp	\
++	commands.cpp		\
++	dynamic.cpp		\
++	users.cpp		\
++	modules.cpp		\
++	wildcard.cpp		\
++	socket.cpp		\
++	inspsocket.cpp		\
++	timer.cpp
+ 
+-libIRCDsocket.dylib: socket.cpp ../include/base.h ../include/inspircd.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c socket.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDsocket.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDsocket.dylib socket.o
++OBJECTS = \${SOURCES:.cpp=.o}
+ 
+-libIRCDinspsocket.dylib: inspsocket.cpp ../include/base.h ../include/inspircd.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c inspsocket.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDinspsocket.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDinspsocket.dylib inspsocket.o
++.cpp.o:
++	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c \$@ -o \$<
+ 
+-libIRCDtimer.dylib: timer.cpp ../include/base.h ../include/inspircd.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c timer.cpp
+-	\$(CC) -pipe -install_name $config{LIBRARY_DIR}/libIRCDtimer.dylib -dynamiclib -twolevel_namespace -undefined dynamic_lookup -o libIRCDtimer.dylib timer.o
++inspircd: \${SOURCES} \${OBJECTS} ../include/base.h ../include/channels.h ../include/inspircd.h ../include/channels.h ../include/globals.h ../include/inspircd_config.h ../include/socket.h $cmdobjs
++	\$(CC) -pipe -dynamic -bind_at_load -L. -o inspircd \$(LDLIBS) \${OBJECTS}
+ 
+ EOM
+ 
+@@ -1808,99 +1748,41 @@
+ 	}
+ 
+ 	print FH <<EOM;
+-all: libIRCDtimer.so libIRCDcull_list.so libIRCDuserprocess.so libIRCDsocketengine.so libIRCDsocket.so libIRCDhash.so libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDconfigreader.so libIRCDinspsocket.so $cmdobjs libIRCDcommands.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDhelper.so libIRCDcommand_parse.so libIRCDsnomasks.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 libIRCDtimer.so libIRCDcull_list.so libIRCDuserprocess.so libIRCDsocketengine.so libIRCDsocket.so libIRCDhash.so libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDconfigreader.so libIRCDinspsocket.so $cmdobjs libIRCDsnomasks.so libIRCDcommands.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDhelper.so libIRCDcommand_parse.so
+-	\$(CC) -pipe -I../include $extra $RPATH \$(FLAGS) $freebsd4libs -rdynamic -L. inspircd.cpp -o inspircd \$(LDLIBS) libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDconfigreader.so libIRCDinspsocket.so libIRCDcommands.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 libIRCDtimer.so libIRCDsnomasks.so
+-
+-libIRCDsocketengine.so: $se.cpp socketengine.cpp ../include/base.h ../include/hashcomp.h ../include/globals.h ../include/inspircd_config.h ../include/$se.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c socketengine.cpp $se.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDsocketengine.so socketengine.o $se.o
+-
+-libIRCDsnomasks.so: snomasks.cpp ../include/base.h ../include/hashcomp.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/channels.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c snomasks.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDsnomasks.so snomasks.o
+-
+-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) -pipe $RPATH -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
+-	\$(CC) -pipe $RPATH -shared -o libIRCDcull_list.so cull_list.o
+-
+-libIRCDuserprocess.so: userprocess.cpp ../include/base.h ../include/hashcomp.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c userprocess.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDuserprocess.so userprocess.o
+-
+-libIRCDhash.so: hashcomp.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 hashcomp.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDhash.so hashcomp.o
+-
+-libIRCDhelper.so: helperfuncs.cpp ../include/base.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c helperfuncs.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDhelper.so helperfuncs.o
+-
+-libIRCDchannels.so: channels.cpp ../include/base.h ../include/channels.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c channels.cpp
+-	\$(CC) -pipe $RPATH -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 \$(RELCPPFILES)
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c mode.cpp
+-	\${MAKE} -C "modes" DIRNAME="src/modes" CC="\$(CC)" \$(MAKEARGS) CPPFILES="\$(CPPFILES)"
+-	\$(CC) -pipe $RPATH -shared -o libIRCDmode.so mode.o modes/modeclasses.a
+-
+-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 ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c xline.cpp
+-	\$(CC) -pipe $RPATH -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) -pipe -I../include \$(FLAGS) -export-dynamic -c inspstring.cpp
+-	\$(CC) -pipe $RPATH -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 ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c dns.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDasyncdns.so dns.o
+-
+-libIRCDbase.so: base.cpp ../include/base.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c base.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDbase.so base.o
+-
+-libIRCDconfigreader.so: configreader.cpp ../include/base.h ../include/configreader.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c configreader.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDconfigreader.so configreader.o
+-
+-libIRCDcommands.so: commands.cpp ../include/base.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c commands.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDcommands.so commands.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) -pipe -I../include \$(FLAGS) -export-dynamic -c dynamic.cpp
+-	\$(CC) -pipe $RPATH -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 ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c users.cpp
+-	\$(CC) -pipe $RPATH -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 ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c modules.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDmodules.so modules.o
++all: inspircd
+ 
+-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) -pipe -I../include \$(FLAGS) -export-dynamic -c wildcard.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDwildcard.so wildcard.o
++SOURCES = \
++	inspircd.cpp		\
++	$se.cpp			\
++	socketengine.cpp	\
++	snomasks.cpp		\
++	command_parse.cpp	\
++	cull_list.cpp		\
++	userprocess.cpp		\
++	hashcomp.cpp		\
++	helperfuncs.cpp		\
++	channels.cpp		\
++	mode.cpp		\
++	xline.cpp		\
++	inspstring.cpp		\
++	dns.cpp			\
++	base.cpp		\
++	configreader.cpp	\
++	commands.cpp		\
++	dynamic.cpp		\
++	users.cpp		\
++	modules.cpp		\
++	wildcard.cpp		\
++	socket.cpp		\
++	inspsocket.cpp		\
++	timer.cpp
+ 
+-libIRCDsocket.so: socket.cpp ../include/base.h ../include/inspircd.h ../include/globals.h ../include/inspircd_config.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c socket.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDsocket.so socket.o
++OBJECTS = \${SOURCES:.cpp=.o}
+ 
+-libIRCDinspsocket.so: inspsocket.cpp ../include/base.h ../include/inspircd.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c inspsocket.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDinspsocket.so inspsocket.o
++.cpp.o:
++	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c \$@ -o \$<
+ 
+-libIRCDtimer.so: timer.cpp ../include/base.h ../include/inspircd.h ../include/globals.h ../include/inspircd_config.h ../include/timer.h
+-	\$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c timer.cpp
+-	\$(CC) -pipe $RPATH -shared -o libIRCDtimer.so timer.o
++inspircd: \${SOURCES} \${OBJECTS} ../include/base.h ../include/channels.h ../include/inspircd.h ../include/channels.h ../include/globals.h ../include/inspircd_config.h ../include/socket.h $cmdobjs
++	\$(CC) -pipe -rdynamic $exta $RPATH \$(FLAGS) $freebsd4libs -L. -o inspircd \$(LDLIBS) \${OBJECTS}
+ 
+ EOM
+ }

Propchange: packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-irc-commits mailing list