502da69951458c30b781ce7d76dc9e9842aca5a8
[rahunas] / src / Makefile.am
1 SUBDIRS = include/linux/netfilter_ipv4
2
3 bin_PROGRAMS = rahunasd
4
5 IPSET_VERSION:=2.3.3
6
7 AM_CFLAGS = \
8         $(LIBGNET_CFLAGS) \
9         $(LIBGDA_CFLAGS) \
10         -I$(top_builddir)/src/include/ \
11         -DRAHUNAS_VERSION=\"$(RAHUNAS_VERSION)\" \
12         -DPROGRAM=\"$(PROGRAM)\" \
13         -DIPSET_VERSION=\"$(IPSET_VERSION)\" \
14         -DRAHUNAS_CONF_DIR=\"$(sysconfdir)/rahunas/\" \
15   -DRAHUNAS_LOG_DIR=\"$(localstatedir)/log/rahunas/\" \
16   -DRAHUNAS_RUN_DIR=\"$(localstatedir)/run/\"
17
18 rahunasd_SOURCES = \
19         rahunasd.c \
20         rahunasd.h \
21         rh-server.c \
22         rh-server.h \
23         rh-xmlrpc-server.c \
24         rh-xmlrpc-server.h \
25         rh-xmlrpc-cmd.c \
26         rh-xmlrpc-cmd.h \
27   rh-ipset.c \
28         rh-ipset.h \
29         rh-utils.c \
30         rh-utils.h \
31         rh-task.c \
32         rh-task.h \
33         rh-task-memset.c \
34         rh-task-memset.h \
35         rh-task-ipset.c \
36         rh-task-ipset.h \
37         rh-task-dbset.c \
38         rh-task-dbset.h \
39   rh-task-bandwidth.c \
40   rh-task-bandwidth.h \
41   rh-radius.h \
42   rh-config.c \
43         rh-config.h
44
45 rahunasd_LDADD =  \
46         $(top_builddir)/xmlrpc/libgnetxmlrpc.a \
47   $(top_builddir)/lcfg/liblcfg.a \
48         $(LIBGNET_LIBS) \
49         $(LIBGDA_LIBS)