]> jfr.im git - solanum.git/blob - ircd/Makefile.am
9554f19762570a34c2097f1a02bb810c166422fd
[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)/libratbox/include
7 AM_LDFLAGS = -L$(top_srcdir)/libratbox/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 libircd_la_SOURCES = \
18 authd.c \
19 bandbi.c \
20 blacklist.c \
21 cache.c \
22 capability.c \
23 channel.c \
24 chmode.c \
25 class.c \
26 client.c \
27 dns.c \
28 extban.c \
29 getopt.c \
30 hash.c \
31 hook.c \
32 hostmask.c \
33 ipv4_from_ipv6.c \
34 irc_radixtree.c \
35 irc_dictionary.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_auth.c \
55 s_conf.c \
56 s_newconf.c \
57 s_serv.c \
58 s_user.c \
59 scache.c \
60 send.c \
61 snomask.c \
62 sslproc.c \
63 substitution.c \
64 supported.c \
65 tgchange.c \
66 version.c \
67 whowas.c
68 libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version
69 libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/libratbox/src -lratbox
70 libircd_LTLIBRARIES = libircd.la
71
72 bin_PROGRAMS = charybdis
73 charybdis_SOURCES = main.c
74 charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
75 charybdis_LDADD = libircd.la -L$(top_srcdir)/libratbox/src -lratbox
76
77 install-exec-hook: install-libircdLTLIBRARIES
78 $(RM) -f version.c