2016-01-06 04:20:25 +01:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2016-01-06 04:31:21 +01:00
|
|
|
prefix = @prefix@
|
2016-01-06 08:16:08 +01:00
|
|
|
libircddir = @libdir@
|
2016-01-06 04:31:21 +01:00
|
|
|
|
2016-03-06 09:29:53 +01:00
|
|
|
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
|
2016-01-06 04:20:25 +01:00
|
|
|
AM_YFLAGS = -d
|
|
|
|
|
|
|
|
BUILT_SOURCES = 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
|
|
|
|
|
2016-01-06 08:16:08 +01:00
|
|
|
libircd_la_SOURCES = \
|
2016-01-06 11:41:57 +01:00
|
|
|
authd.c \
|
2016-01-06 04:20:25 +01:00
|
|
|
bandbi.c \
|
|
|
|
blacklist.c \
|
|
|
|
cache.c \
|
|
|
|
capability.c \
|
|
|
|
channel.c \
|
|
|
|
chmode.c \
|
|
|
|
class.c \
|
|
|
|
client.c \
|
2016-01-06 11:28:34 +01:00
|
|
|
dns.c \
|
2016-01-06 04:20:25 +01:00
|
|
|
extban.c \
|
|
|
|
getopt.c \
|
|
|
|
hash.c \
|
|
|
|
hook.c \
|
|
|
|
hostmask.c \
|
|
|
|
ipv4_from_ipv6.c \
|
|
|
|
ircd.c \
|
|
|
|
ircd_parser.y \
|
|
|
|
ircd_lexer.l \
|
|
|
|
ircd_signal.c \
|
|
|
|
listener.c \
|
|
|
|
logger.c \
|
|
|
|
match.c \
|
|
|
|
modules.c \
|
|
|
|
monitor.c \
|
2016-02-10 07:08:58 +01:00
|
|
|
msgbuf.c \
|
2016-01-06 04:20:25 +01:00
|
|
|
newconf.c \
|
|
|
|
operhash.c \
|
|
|
|
packet.c \
|
|
|
|
parse.c \
|
|
|
|
privilege.c \
|
2016-01-06 04:31:21 +01:00
|
|
|
ratelimit.c \
|
2016-01-06 04:20:25 +01:00
|
|
|
reject.c \
|
|
|
|
restart.c \
|
|
|
|
s_auth.c \
|
|
|
|
s_conf.c \
|
|
|
|
s_newconf.c \
|
|
|
|
s_serv.c \
|
|
|
|
s_user.c \
|
|
|
|
scache.c \
|
|
|
|
send.c \
|
|
|
|
snomask.c \
|
|
|
|
sslproc.c \
|
|
|
|
substitution.c \
|
|
|
|
supported.c \
|
|
|
|
tgchange.c \
|
|
|
|
version.c \
|
|
|
|
whowas.c
|
2016-01-06 08:16:08 +01:00
|
|
|
libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version
|
2016-03-06 09:34:47 +01:00
|
|
|
libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
|
2016-01-06 08:16:08 +01:00
|
|
|
libircd_LTLIBRARIES = libircd.la
|
2016-01-06 04:31:21 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS = charybdis
|
|
|
|
charybdis_SOURCES = main.c
|
2016-01-06 08:40:48 +01:00
|
|
|
charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
|
2016-03-06 09:34:47 +01:00
|
|
|
charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
|
2016-01-06 04:31:21 +01:00
|
|
|
|
2016-01-06 08:16:08 +01:00
|
|
|
install-exec-hook: install-libircdLTLIBRARIES
|
2016-01-06 04:31:21 +01:00
|
|
|
$(RM) -f version.c
|