From 2710741e10eb856f341e866bdc274e8a89463587 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Jan 2007 23:31:29 +0000 Subject: Integrate OSX patches from BuildSmart, plus a few tweaks and fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6428 e03df62e-2008-0410-955e-edbf42e46eb7 --- .Makefile.inc | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to '.Makefile.inc') diff --git a/.Makefile.inc b/.Makefile.inc index d1e464aaa..870a95bc9 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -6,6 +6,7 @@ # Original Makefile & ./configure by # Small modifications by # +DARWIN = @IS_DARWIN@ CC = @CC@ MAKE = @MAKEPROG@ @@ -55,6 +56,30 @@ install: all @-install -d -m $(INSTMODE) $(BINPATH) @-install -d -m $(INSTMODE) $(CONPATH) @-install -d -m $(INSTMODE) ${MODPATH} +ifeq ($(DARWIN),YES) + -install -m $(INSTMODE) src/libIRCDasyncdns.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDbase.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDchannels.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDcommand_parse.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDcommands.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDconfigreader.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDcull_list.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDdynamic.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDhash.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDhelper.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDinspsocket.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDmode.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDmodules.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDsocket.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDsocketengine.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDstring.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDuserprocess.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDusers.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDwildcard.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDxline.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDtimer.dylib $(LIBPATH) + -install -m $(INSTMODE) src/libIRCDsnomasks.dylib $(LIBPATH) +else -install -m $(INSTMODE) src/libIRCDasyncdns.so $(LIBPATH) -install -m $(INSTMODE) src/libIRCDbase.so $(LIBPATH) -install -m $(INSTMODE) src/libIRCDchannels.so $(LIBPATH) @@ -77,6 +102,7 @@ install: all -install -m $(INSTMODE) src/libIRCDxline.so $(LIBPATH) -install -m $(INSTMODE) src/libIRCDtimer.so $(LIBPATH) -install -m $(INSTMODE) src/libIRCDsnomasks.so $(LIBPATH) +endif -install -m $(INSTMODE) src/inspircd $(BINPATH) -install -m $(INSTMODE) inspircd $(BASE) 2>/dev/null -install -m $(INSTMODE) src/cmd_admin.so $(LIBPATH) @@ -163,7 +189,7 @@ module: clean: @echo Cleaning... - @rm -rvf src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ src/modes/*~ src/modes/*.o src/modes/*.a src/modules/*/*.o src/modules/*/*.so + @rm -rvf src/*.dylib src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ src/modes/*~ src/modes/*.o src/modes/*.a src/modules/*/*.o src/modules/*/*.so @echo Completed. modclean: -- cgit v1.2.3