]> jfr.im git - solanum.git/blob - ircd/Makefile.am
commio: further win32 fixes
[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 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 ircd.c \
35 ircd_parser.y \
36 ircd_lexer.l \
37 ircd_signal.c \
38 listener.c \
39 logger.c \
40 match.c \
41 modules.c \
42 monitor.c \
43 msgbuf.c \
44 newconf.c \
45 operhash.c \
46 packet.c \
47 parse.c \
48 privilege.c \
49 ratelimit.c \
50 reject.c \
51 restart.c \
52 s_auth.c \
53 s_conf.c \
54 s_newconf.c \
55 s_serv.c \
56 s_user.c \
57 scache.c \
58 send.c \
59 snomask.c \
60 sslproc.c \
61 substitution.c \
62 supported.c \
63 tgchange.c \
64 version.c \
65 whowas.c
66 libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
67 libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
68 libircd_LTLIBRARIES = libircd.la
69
70 bin_PROGRAMS = charybdis
71 charybdis_SOURCES = main.c
72 charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
73 charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
74
75 install-exec-hook: install-libircdLTLIBRARIES
76 $(RM) -f version.c