]> jfr.im git - solanum.git/blob - ircd/Makefile.am
Track and inform modules of privset changes
[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 if MINGW
18 EXTRA_FLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
19 endif
20
21 libircd_la_SOURCES = \
22 authproc.c \
23 bandbi.c \
24 cache.c \
25 capability.c \
26 channel.c \
27 chmode.c \
28 class.c \
29 client.c \
30 dns.c \
31 extban.c \
32 getopt.c \
33 hash.c \
34 hook.c \
35 hostmask.c \
36 ircd.c \
37 ircd_parser.y \
38 ircd_lexer.l \
39 ircd_signal.c \
40 listener.c \
41 logger.c \
42 match.c \
43 modules.c \
44 monitor.c \
45 msgbuf.c \
46 newconf.c \
47 operhash.c \
48 packet.c \
49 parse.c \
50 privilege.c \
51 ratelimit.c \
52 reject.c \
53 restart.c \
54 s_conf.c \
55 s_newconf.c \
56 s_serv.c \
57 s_user.c \
58 scache.c \
59 send.c \
60 snomask.c \
61 sslproc.c \
62 substitution.c \
63 supported.c \
64 tgchange.c \
65 version.c \
66 whowas.c \
67 wsproc.c
68 libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
69 libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
70 libircd_LTLIBRARIES = libircd.la
71
72 bin_PROGRAMS = solanum
73 solanum_SOURCES = main.c
74 solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
75 solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
76
77 install-exec-hook: install-libircdLTLIBRARIES
78 $(RM) -f version.c