summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 16:42:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 16:42:03 +0000
commite281922d55e302bd823be89895006239248505e3 (patch)
treec3e2587a67257f825055f34d427a01d1f6dfcf74 /.Makefile.inc
parent2e27c8a945e73d0f128d0f8677a7b0390e586ff1 (diff)
Auto generate the install list, no more need to insert it into the .makefile.inc for it to be part of make install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8312 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc85
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)