]> jfr.im git - solanum.git/blob - ircd/Makefile.am
Change struct Dictionary(*) to rb_dictionary(_\1).
[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 = 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 authd.c \
23 bandbi.c \
24 blacklist.c \
25 cache.c \
26 capability.c \
27 channel.c \
28 chmode.c \
29 class.c \
30 client.c \
31 dns.c \
32 extban.c \
33 getopt.c \
34 hash.c \
35 hook.c \
36 hostmask.c \
37 ipv4_from_ipv6.c \
38 ircd.c \
39 ircd_parser.y \
40 ircd_lexer.l \
41 ircd_signal.c \
42 listener.c \
43 logger.c \
44 match.c \
45 modules.c \
46 monitor.c \
47 msgbuf.c \
48 newconf.c \
49 operhash.c \
50 packet.c \
51 parse.c \
52 privilege.c \
53 ratelimit.c \
54 reject.c \
55 restart.c \
56 s_auth.c \
57 s_conf.c \
58 s_newconf.c \
59 s_serv.c \
60 s_user.c \
61 scache.c \
62 send.c \
63 snomask.c \
64 sslproc.c \
65 substitution.c \
66 supported.c \
67 tgchange.c \
68 version.c \
69 whowas.c
70 libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
71 libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
72 libircd_LTLIBRARIES = libircd.la
73
74 bin_PROGRAMS = charybdis
75 charybdis_SOURCES = main.c
76 charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
77 charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
78
79 install-exec-hook: install-libircdLTLIBRARIES
80 $(RM) -f version.c