2016-01-06 04:20:25 +01:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2016-07-20 20:55:46 +02:00
|
|
|
libircddir = @libdir@
|
2016-07-13 07:17:21 +02:00
|
|
|
|
2016-07-25 01:11:34 +02:00
|
|
|
# NOTE: the c++ version has a radically different API
|
|
|
|
#AM_YFLAGS = -d --language=c++
|
|
|
|
AM_YFLAGS = -d
|
2016-01-06 04:20:25 +01:00
|
|
|
|
2016-07-20 20:55:46 +02:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
@LTDLINCL@ \
|
2016-08-15 04:44:16 +02:00
|
|
|
@BOOST_CPPFLAGS@ \
|
|
|
|
-include ircd/ircd.h
|
2016-07-20 20:55:46 +02:00
|
|
|
|
2016-03-20 08:08:14 +01:00
|
|
|
if MINGW
|
2016-07-20 20:55:46 +02:00
|
|
|
PLATFORM_LDFLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
|
2016-03-20 08:08:14 +01:00
|
|
|
endif
|
|
|
|
|
2016-07-20 20:55:46 +02:00
|
|
|
AM_LDFLAGS = \
|
|
|
|
-export-dynamic \
|
|
|
|
-avoid-version \
|
|
|
|
-no-undefined \
|
|
|
|
$(PLATFORM_LDFLAGS)
|
|
|
|
|
|
|
|
AM_LDFLAGS += \
|
|
|
|
-L$(top_srcdir)/rb \
|
|
|
|
@BOOST_LDFLAGS@
|
|
|
|
|
2016-07-25 01:11:34 +02:00
|
|
|
BUILT_SOURCES = ircd_lexer.cc ircd_parser.cc
|
2016-07-20 20:55:46 +02:00
|
|
|
|
|
|
|
libircd_LTLIBRARIES = libircd.la
|
|
|
|
|
|
|
|
libircd_la_LIBADD = \
|
|
|
|
-lrb \
|
|
|
|
@LIBLTDL@ \
|
|
|
|
@BOOST_LIBS@
|
|
|
|
|
2016-04-16 18:05:00 +02:00
|
|
|
libircd_la_SOURCES = \
|
2016-07-13 07:17:21 +02:00
|
|
|
authproc.cc \
|
|
|
|
bandbi.cc \
|
|
|
|
cache.cc \
|
|
|
|
capability.cc \
|
|
|
|
channel.cc \
|
|
|
|
chmode.cc \
|
|
|
|
class.cc \
|
|
|
|
client.cc \
|
|
|
|
dns.cc \
|
2016-07-26 04:06:31 +02:00
|
|
|
exception.cc \
|
2016-07-13 07:17:21 +02:00
|
|
|
extban.cc \
|
2016-07-25 10:57:54 +02:00
|
|
|
fs.cc \
|
2016-07-13 07:17:21 +02:00
|
|
|
getopt.cc \
|
|
|
|
hash.cc \
|
|
|
|
hook.cc \
|
|
|
|
hostmask.cc \
|
2016-08-16 01:21:01 +02:00
|
|
|
info.cc \
|
2016-07-13 07:17:21 +02:00
|
|
|
ircd.cc \
|
2016-07-25 01:11:34 +02:00
|
|
|
ircd_lexer.cc \
|
|
|
|
ircd_parser.cc \
|
2016-07-13 07:17:21 +02:00
|
|
|
ircd_signal.cc \
|
|
|
|
listener.cc \
|
|
|
|
logger.cc \
|
|
|
|
match.cc \
|
|
|
|
modules.cc \
|
|
|
|
monitor.cc \
|
|
|
|
msgbuf.cc \
|
|
|
|
newconf.cc \
|
|
|
|
operhash.cc \
|
|
|
|
packet.cc \
|
|
|
|
parse.cc \
|
|
|
|
privilege.cc \
|
|
|
|
ratelimit.cc \
|
|
|
|
reject.cc \
|
|
|
|
restart.cc \
|
2016-08-16 11:12:01 +02:00
|
|
|
rfc1459.cc \
|
2016-07-13 07:17:21 +02:00
|
|
|
s_conf.cc \
|
|
|
|
s_newconf.cc \
|
|
|
|
s_serv.cc \
|
|
|
|
s_user.cc \
|
|
|
|
scache.cc \
|
|
|
|
send.cc \
|
|
|
|
snomask.cc \
|
|
|
|
sslproc.cc \
|
|
|
|
substitution.cc \
|
|
|
|
supported.cc \
|
|
|
|
tgchange.cc \
|
|
|
|
whowas.cc \
|
|
|
|
wsproc.cc
|
|
|
|
|
2016-07-25 01:11:34 +02:00
|
|
|
ircd_lexer.cc:
|
|
|
|
flex $(AM_LFLAGS) -o ircd_lexer.cc ircd_lexer.ll
|
|
|
|
|
|
|
|
ircd_parser.cc:
|
|
|
|
$(YACC) $(AM_YFLAGS) -o ircd_parser.cc ircd_parser.yy
|
2016-01-06 04:31:21 +01:00
|
|
|
|
2016-07-13 07:17:21 +02:00
|
|
|
install-data-local:
|
|
|
|
test -d $(prefix)/@logdir@ || mkdir -p $(prefix)/@logdir@
|
|
|
|
|
2016-07-01 05:04:00 +02:00
|
|
|
clean-local:
|
2016-07-25 01:11:34 +02:00
|
|
|
rm -f ircd_lexer.c ircd_lexer.cc
|
|
|
|
rm -f ircd_parser.c ircd_parser.cc
|
|
|
|
rm -f ircd_parser.h ircd_parser.hh
|
|
|
|
rm -f stack.hh
|