X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/1eeb046930d7f29d9faeac44bd756db2bddcc05a..8e1bdeda92e1414e312406e7169caf40ad48308b:/ircd/Makefile.am diff --git a/ircd/Makefile.am b/ircd/Makefile.am index ed06d3bb..a157ea4f 100644 --- a/ircd/Makefile.am +++ b/ircd/Makefile.am @@ -3,21 +3,24 @@ AUTOMAKE_OPTIONS = foreign prefix = @prefix@ libircddir = @libdir@ -AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include -AM_LDFLAGS = -L$(top_srcdir)/libratbox/src -export-dynamic -avoid-version -no-undefined +AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/librb/include +AM_LDFLAGS = -L$(top_srcdir)/librb/src -export-dynamic -avoid-version -no-undefined AM_YFLAGS = -d -BUILT_SOURCES = version.c +BUILT_SOURCES = ircd_parser.h version.c version.c: version.c.SH ../CREDITS ../include/patchlevel.h ../include/serno.h $(SHELL) version.c.SH $(CP) version.c version.c.last touch version.c.SH +if MINGW +EXTRA_FLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*' +endif + libircd_la_SOURCES = \ - authd.c \ + authproc.c \ bandbi.c \ - blacklist.c \ cache.c \ capability.c \ channel.c \ @@ -30,8 +33,6 @@ libircd_la_SOURCES = \ hash.c \ hook.c \ hostmask.c \ - ipv4_from_ipv6.c \ - irc_dictionary.c \ ircd.c \ ircd_parser.y \ ircd_lexer.l \ @@ -41,6 +42,7 @@ libircd_la_SOURCES = \ match.c \ modules.c \ monitor.c \ + msgbuf.c \ newconf.c \ operhash.c \ packet.c \ @@ -49,7 +51,6 @@ libircd_la_SOURCES = \ ratelimit.c \ reject.c \ restart.c \ - s_auth.c \ s_conf.c \ s_newconf.c \ s_serv.c \ @@ -62,15 +63,16 @@ libircd_la_SOURCES = \ supported.c \ tgchange.c \ version.c \ - whowas.c -libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/libratbox/src -lratbox + whowas.c \ + wsproc.c +libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined +libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb libircd_LTLIBRARIES = libircd.la -bin_PROGRAMS = charybdis -charybdis_SOURCES = main.c -charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self -charybdis_LDADD = libircd.la -L$(top_srcdir)/libratbox/src -lratbox +bin_PROGRAMS = solanum +solanum_SOURCES = main.c +solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self +solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb install-exec-hook: install-libircdLTLIBRARIES $(RM) -f version.c