]>
Commit | Line | Data |
---|---|---|
c52df125 AC |
1 | AUTOMAKE_OPTIONS = foreign |
2 | ||
bc38c72c | 3 | prefix = @prefix@ |
ff12cc94 | 4 | libircddir = @libdir@ |
bc38c72c | 5 | |
c83f2f5e AC |
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 | |
c52df125 | 8 | AM_YFLAGS = -d |
c52df125 | 9 | |
2b535500 | 10 | BUILT_SOURCES = ircd_parser.h version.c |
c52df125 AC |
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 | ||
b5c0180c AC |
17 | if MINGW |
18 | EXTRA_FLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*' | |
19 | endif | |
20 | ||
ff12cc94 | 21 | libircd_la_SOURCES = \ |
64fae260 | 22 | authproc.c \ |
c52df125 | 23 | bandbi.c \ |
c52df125 AC |
24 | cache.c \ |
25 | capability.c \ | |
26 | channel.c \ | |
27 | chmode.c \ | |
28 | class.c \ | |
29 | client.c \ | |
7d2852b4 | 30 | dns.c \ |
c52df125 AC |
31 | extban.c \ |
32 | getopt.c \ | |
33 | hash.c \ | |
34 | hook.c \ | |
35 | hostmask.c \ | |
36 | ipv4_from_ipv6.c \ | |
c52df125 AC |
37 | ircd.c \ |
38 | ircd_parser.y \ | |
39 | ircd_lexer.l \ | |
40 | ircd_signal.c \ | |
41 | listener.c \ | |
42 | logger.c \ | |
43 | match.c \ | |
44 | modules.c \ | |
45 | monitor.c \ | |
a8e69f5d | 46 | msgbuf.c \ |
c52df125 AC |
47 | newconf.c \ |
48 | operhash.c \ | |
49 | packet.c \ | |
50 | parse.c \ | |
51 | privilege.c \ | |
bc38c72c | 52 | ratelimit.c \ |
c52df125 AC |
53 | reject.c \ |
54 | restart.c \ | |
c52df125 AC |
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 \ | |
c53ca1e0 AC |
67 | whowas.c \ |
68 | wsproc.c | |
61eb4ba6 | 69 | libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined |
a3a2f405 | 70 | libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb |
ff12cc94 | 71 | libircd_LTLIBRARIES = libircd.la |
bc38c72c AC |
72 | |
73 | bin_PROGRAMS = charybdis | |
74 | charybdis_SOURCES = main.c | |
4f0e3623 | 75 | charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self |
a3a2f405 | 76 | charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb |
bc38c72c | 77 | |
ff12cc94 | 78 | install-exec-hook: install-libircdLTLIBRARIES |
bc38c72c | 79 | $(RM) -f version.c |