]> jfr.im git - solanum.git/blame - ircd/Makefile.am
configure: check for MINGW
[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
ff12cc94 17libircd_la_SOURCES = \
fb7d74ef 18 authd.c \
c52df125
AC
19 bandbi.c \
20 blacklist.c \
21 cache.c \
22 capability.c \
23 channel.c \
24 chmode.c \
25 class.c \
26 client.c \
7d2852b4 27 dns.c \
c52df125
AC
28 extban.c \
29 getopt.c \
30 hash.c \
31 hook.c \
32 hostmask.c \
33 ipv4_from_ipv6.c \
c52df125
AC
34 ircd.c \
35 ircd_parser.y \
36 ircd_lexer.l \
37 ircd_signal.c \
38 listener.c \
39 logger.c \
40 match.c \
41 modules.c \
42 monitor.c \
a8e69f5d 43 msgbuf.c \
c52df125
AC
44 newconf.c \
45 operhash.c \
46 packet.c \
47 parse.c \
48 privilege.c \
bc38c72c 49 ratelimit.c \
c52df125
AC
50 reject.c \
51 restart.c \
52 s_auth.c \
53 s_conf.c \
54 s_newconf.c \
55 s_serv.c \
56 s_user.c \
57 scache.c \
58 send.c \
59 snomask.c \
60 sslproc.c \
61 substitution.c \
62 supported.c \
63 tgchange.c \
64 version.c \
65 whowas.c
61eb4ba6 66libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
a3a2f405 67libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
ff12cc94 68libircd_LTLIBRARIES = libircd.la
bc38c72c
AC
69
70bin_PROGRAMS = charybdis
71charybdis_SOURCES = main.c
4f0e3623 72charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
a3a2f405 73charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
bc38c72c 74
ff12cc94 75install-exec-hook: install-libircdLTLIBRARIES
bc38c72c 76 $(RM) -f version.c