]> jfr.im git - solanum.git/blob - ircd/Makefile.am
global masktrace doesn't need to be an operspy action
[solanum.git] / ircd / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 prefix = @prefix@
4 libircddir = @libdir@
5
6 AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/librb/include
7 AM_LDFLAGS = -L$(top_srcdir)/librb/src -export-dynamic -avoid-version -no-undefined
8 AM_YFLAGS = -d
9
10 BUILT_SOURCES = ircd_parser.h version.c
11
12 version.c: version.c.SH ../CREDITS ../include/patchlevel.h ../include/serno.h
13 $(SHELL) version.c.SH
14 $(CP) version.c version.c.last
15 touch version.c.SH
16
17 libircd_la_SOURCES = \
18 authproc.c \
19 bandbi.c \
20 cache.c \
21 capability.c \
22 channel.c \
23 chmode.c \
24 class.c \
25 client.c \
26 dns.c \
27 extban.c \
28 getopt.c \
29 hash.c \
30 hook.c \
31 hostmask.c \
32 ircd.c \
33 ircd_parser.y \
34 ircd_lexer.l \
35 ircd_signal.c \
36 listener.c \
37 logger.c \
38 match.c \
39 modules.c \
40 monitor.c \
41 msgbuf.c \
42 newconf.c \
43 operhash.c \
44 packet.c \
45 parse.c \
46 privilege.c \
47 ratelimit.c \
48 reject.c \
49 restart.c \
50 s_conf.c \
51 s_newconf.c \
52 s_serv.c \
53 s_user.c \
54 scache.c \
55 send.c \
56 snomask.c \
57 sslproc.c \
58 substitution.c \
59 supported.c \
60 tgchange.c \
61 version.c \
62 whowas.c \
63 wsproc.c
64 libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
65 libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
66 libircd_LTLIBRARIES = libircd.la
67
68 bin_PROGRAMS = solanum
69 solanum_SOURCES = main.c
70 solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
71 solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
72
73 install-exec-hook: install-libircdLTLIBRARIES
74 $(RM) -f version.c