]> jfr.im git - solanum.git/blame - ircd/Makefile.am
common.h: raison d'ĂȘtre is gone, so out it goes.
[solanum.git] / ircd / Makefile.am
CommitLineData
c52df125
AC
1AUTOMAKE_OPTIONS = foreign
2
bc38c72c 3prefix = @prefix@
ff12cc94 4libircddir = @libdir@
bc38c72c 5
c83f2f5e
AC
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
c52df125 8AM_YFLAGS = -d
c52df125
AC
9
10BUILT_SOURCES = 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
b5c0180c
AC
17if MINGW
18EXTRA_FLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
19endif
20
ff12cc94 21libircd_la_SOURCES = \
fb7d74ef 22 authd.c \
c52df125
AC
23 bandbi.c \
24 blacklist.c \
25 cache.c \
26 capability.c \
27 channel.c \
28 chmode.c \
29 class.c \
30 client.c \
7d2852b4 31 dns.c \
c52df125
AC
32 extban.c \
33 getopt.c \
34 hash.c \
35 hook.c \
36 hostmask.c \
37 ipv4_from_ipv6.c \
c52df125
AC
38 ircd.c \
39 ircd_parser.y \
40 ircd_lexer.l \
41 ircd_signal.c \
42 listener.c \
43 logger.c \
44 match.c \
45 modules.c \
46 monitor.c \
a8e69f5d 47 msgbuf.c \
c52df125
AC
48 newconf.c \
49 operhash.c \
50 packet.c \
51 parse.c \
52 privilege.c \
bc38c72c 53 ratelimit.c \
c52df125
AC
54 reject.c \
55 restart.c \
56 s_auth.c \
57 s_conf.c \
58 s_newconf.c \
59 s_serv.c \
60 s_user.c \
61 scache.c \
62 send.c \
63 snomask.c \
64 sslproc.c \
65 substitution.c \
66 supported.c \
67 tgchange.c \
68 version.c \
69 whowas.c
61eb4ba6 70libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
a3a2f405 71libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
ff12cc94 72libircd_LTLIBRARIES = libircd.la
bc38c72c
AC
73
74bin_PROGRAMS = charybdis
75charybdis_SOURCES = main.c
4f0e3623 76charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
a3a2f405 77charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
bc38c72c 78
ff12cc94 79install-exec-hook: install-libircdLTLIBRARIES
bc38c72c 80 $(RM) -f version.c