X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.Makefile.inc;h=6ca267f49223dcf8e05e6879d4d075f4ffac4752;hb=cc0deea2322bb840f80d8aed9acbb05e13d5bebb;hp=882c409e39db66c78fa90cc79dca37ce85842de4;hpb=f65debb46ea781d0a8d8bf48f833d8385b82959e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/.Makefile.inc b/.Makefile.inc index 882c409e3..6ca267f49 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -1,7 +1,9 @@ # InspIRCd Main Makefile # # (C) InspIRCd Development Team, 2002-2007 -# DO NOT MODIFY UNLESS YOU KNOW WHAT YOU ARE DOING! +# This file is automagically generated by configure, from +# .Makefile.inc. Any changes made will go away! :P +# Please do not edit unless you know what you're doing. # CC = @CC@ @@ -14,11 +16,12 @@ BASE = $(DESTDIR)@BASE_DIR@ CONPATH = $(DESTDIR)@CONFIG_DIR@ MODPATH = $(DESTDIR)@MODULE_DIR@ BINPATH = $(DESTDIR)@BINARY_DIR@ +LAUNCHDPATH = $(DESTDIR)/System/Library/LaunchDaemons LIBPATH = $(DESTDIR)@LIBRARY_DIR@ LIB_EXT = @LIBRARY_EXT@ MODULES = @MODULES@ STATICLIBS = @STATICLIBS@ -INSTMODE = 0700 +INSTMODE = 0755 MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=${MODPATH}' 'LIBPATH=${LIBPATH}' 'STATICLIBS=${STATICLIBS}' 'INSTMODE=${INSTMODE}' all: @MAKEORDER@ finishmessage @@ -64,7 +67,7 @@ ircd: @echo "*************************************" ${MAKE} -C src DIRNAME="src" $(MAKEARGS) -install: all +install: all@EXTRA_DIR@ @-install -d -m $(INSTMODE) ${BASE} @-install -d -m $(INSTMODE) $(LIBPATH) @-install -d -m $(INSTMODE) $(BINPATH) @@ -93,7 +96,7 @@ install: all -install -m $(INSTMODE) src/libIRCDtimer.$(LIB_EXT) $(LIBPATH) -install -m $(INSTMODE) src/libIRCDsnomasks.$(LIB_EXT) $(LIBPATH) -install -m $(INSTMODE) src/inspircd $(BINPATH) - -install -m $(INSTMODE) inspircd $(BASE) 2>/dev/null + -install -m $(INSTMODE) @STARTSCRIPT@ $(@DESTINATION@) 2>/dev/null -install -m $(INSTMODE) src/cmd_admin.so $(LIBPATH) -install -m $(INSTMODE) src/cmd_away.so $(LIBPATH) -install -m $(INSTMODE) src/cmd_clearcache.so $(LIBPATH) @@ -193,11 +196,16 @@ modclean: squeakyclean: distclean +launchd_dir: + @-install -d -m $(INSTMODE) ${LAUNCHDPATH} + configureclean: rm -f .config.cache rm src/modules/Makefile rm src/Makefile rm Makefile + rm include/inspircd_config.h + rm include/inspircd_se_config.h distclean: modclean clean configureclean