]> jfr.im git - solanum.git/blame_incremental - ircd/Makefile.am
Implement hook priorities
[solanum.git] / ircd / Makefile.am
... / ...
CommitLineData
1AUTOMAKE_OPTIONS = foreign
2
3prefix = @prefix@
4libircddir = @libdir@
5
6AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/librb/include
7AM_LDFLAGS = -L$(top_srcdir)/librb/src -export-dynamic -avoid-version -no-undefined
8AM_YFLAGS = -d
9
10BUILT_SOURCES = ircd_parser.h version.c
11
12version.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
17if MINGW
18EXTRA_FLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
19endif
20
21libircd_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
68libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
69libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
70libircd_LTLIBRARIES = libircd.la
71
72bin_PROGRAMS = charybdis
73charybdis_SOURCES = main.c
74charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
75charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
76
77install-exec-hook: install-libircdLTLIBRARIES
78 $(RM) -f version.c