]> jfr.im git - solanum.git/blame - ircd/Makefile.am
Add general::hidden_caps
[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 9
2b535500 10BUILT_SOURCES = ircd_parser.h version.c
c52df125
AC
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
7445ece1 21libircd_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 68libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
a3a2f405 69libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
ff12cc94 70libircd_LTLIBRARIES = libircd.la
bc38c72c 71
a6f63a82
EK
72bin_PROGRAMS = solanum
73solanum_SOURCES = main.c
74solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
75solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
bc38c72c 76
ff12cc94 77install-exec-hook: install-libircdLTLIBRARIES
bc38c72c 78 $(RM) -f version.c