]> jfr.im git - irc/rqf/shadowircd.git/blob - libratbox/src/Makefile.am
Copied libratbox and related stuff from shadowircd upstream.
[irc/rqf/shadowircd.git] / libratbox / src / Makefile.am
1 # $Id: Makefile.am 26046 2008-09-09 16:37:30Z androsyn $
2
3 AUTOMAKE_OPTIONS = foreign
4
5 INCLUDES = -I. -I../include @SSL_CFLAGS@ @GNUTLS_CFLAGS@
6
7 BUILT_SOURCES = version.c
8
9 version.c: version.c.SH ../CREDITS
10 $(SHELL) ./version.c.SH
11 $(CP) version.c version.c.last
12
13 version.lo: version.c ../include/serno.h
14 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
15
16 libratbox_la_SOURCES = \
17 unix.c \
18 win32.c \
19 crypt.c \
20 balloc.c \
21 commio.c \
22 openssl.c \
23 gnutls.c \
24 nossl.c \
25 event.c \
26 ratbox_lib.c \
27 rb_memory.c \
28 linebuf.c \
29 snprintf.c \
30 tools.c \
31 helper.c \
32 devpoll.c \
33 epoll.c \
34 poll.c \
35 ports.c \
36 sigio.c \
37 select.c \
38 kqueue.c \
39 rawbuf.c \
40 patricia.c \
41 arc4random.c \
42 version.c
43
44
45 libratbox_la_LDFLAGS = @CRYPT_LIB@ @SSL_LIBS@ @GNUTLS_LIBS@ -avoid-version -no-undefined -export-symbols export-syms.txt
46 libratbox_la_LIBADD = @CRYPT_LIB@ @SSL_LIBS@ @GNUTLS_LIBS@
47 lib_LTLIBRARIES = libratbox.la
48