diff options
Diffstat (limited to '.Makefile.inc')
-rw-r--r-- | .Makefile.inc | 85 |
1 files changed, 3 insertions, 82 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 367c77e22..398a2902e 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -18,7 +18,6 @@ MODPATH = $(DESTDIR)@MODULE_DIR@ BINPATH = $(DESTDIR)@BINARY_DIR@ LAUNCHDPATH = $(DESTDIR)/System/Library/LaunchDaemons LIBPATH = $(DESTDIR)@LIBRARY_DIR@ -LIB_EXT = @LIBRARY_EXT@ MODULES = @MODULES@ INSTMODE = 0755 MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=${MODPATH}' 'LIBPATH=${LIBPATH}' 'INSTMODE=${INSTMODE}' @@ -67,91 +66,13 @@ ircd: ${MAKE} -C src DIRNAME="src" $(MAKEARGS) install: all@EXTRA_DIR@ - @-install -d -m $(INSTMODE) ${BASE} + @-install -d -m $(INSTMODE) $(BASE) @-install -d -m $(INSTMODE) $(LIBPATH) @-install -d -m $(INSTMODE) $(BINPATH) @-install -d -m $(INSTMODE) $(CONPATH) - @-install -d -m $(INSTMODE) ${MODPATH} - -install -m $(INSTMODE) src/libIRCDasyncdns.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDbase.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDchannels.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDcommand_parse.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDcommands.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDconfigreader.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDcull_list.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDdynamic.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDhash.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDhelper.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDinspsocket.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDmode.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDmodules.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDsocket.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDsocketengine.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDstring.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDuserprocess.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDusers.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDwildcard.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDxline.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDtimer.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDsnomasks.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDserver.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDfilelogger.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/libIRCDuserresolver.$(LIB_EXT) $(LIBPATH) - -install -m $(INSTMODE) src/inspircd $(BINPATH) + @-install -d -m $(INSTMODE) $(MODPATH) +@INSTALL_LIST@ -install -m $(INSTMODE) src/inspircd $(BINPATH) -install -m $(INSTMODE) @STARTSCRIPT@ $(@DESTINATION@) 2>/dev/null - -install -m $(INSTMODE) src/commands/cmd_admin.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_away.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_clearcache.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_commands.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_connect.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_die.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_eline.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_gline.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_info.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_invite.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_ison.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_join.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_kick.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_kill.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_kline.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_links.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_list.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_loadmodule.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_lusers.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_map.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_modules.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_motd.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_names.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_nick.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_notice.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_oper.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_part.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_pass.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_ping.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_pong.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_privmsg.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_qline.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_quit.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_rehash.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_reloadmodule.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_restart.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_rules.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_server.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_squit.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_stats.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_time.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_topic.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_trace.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_unloadmodule.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_user.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_userhost.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_version.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_wallops.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_who.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_whois.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_whowas.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_zline.so $(LIBPATH) - -install -m $(INSTMODE) src/commands/cmd_mode.so $(LIBPATH) @-cp .gdbargs $(BASE) @-cp conf/inspircd.quotes.example $(CONPATH) @-cp conf/inspircd.rules.example $(CONPATH) |