]>
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 \ | |
c52df125 AC |
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 \ | |
a8e69f5d | 45 | msgbuf.c \ |
c52df125 AC |
46 | newconf.c \ |
47 | operhash.c \ | |
48 | packet.c \ | |
49 | parse.c \ | |
50 | privilege.c \ | |
bc38c72c | 51 | ratelimit.c \ |
c52df125 AC |
52 | reject.c \ |
53 | restart.c \ | |
c52df125 AC |
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 \ | |
c53ca1e0 AC |
66 | whowas.c \ |
67 | wsproc.c | |
61eb4ba6 | 68 | libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined |
a3a2f405 | 69 | libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb |
ff12cc94 | 70 | libircd_LTLIBRARIES = libircd.la |
bc38c72c AC |
71 | |
72 | bin_PROGRAMS = charybdis | |
73 | charybdis_SOURCES = main.c | |
4f0e3623 | 74 | charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self |
a3a2f405 | 75 | charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb |
bc38c72c | 76 | |
ff12cc94 | 77 | install-exec-hook: install-libircdLTLIBRARIES |
bc38c72c | 78 | $(RM) -f version.c |