Makefile.am formatting and removal of spurious variable.
[radsecproxy.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 sbin_PROGRAMS = radsecproxy
4 bin_PROGRAMS = catgconf
5 noinst_LIBRARIES = librsp.a
6
7 radsecproxy_SOURCES = main.c
8
9 librsp_a_SOURCES = \
10         radsecproxy.c \
11         tlscommon.c \
12         gconfig.c \
13         util.c \
14         debug.c \
15         list.c \
16         hash.c \
17         tlv11.c \
18         hostport.c \
19         radmsg.c \
20         udp.c \
21         tcp.c \
22         tls.c \
23         dtls.c \
24         fticks.c \
25         radsecproxy.h \
26         tlscommon.h \
27         gconfig.h \
28         debug.h \
29         util.h \
30         list.h \
31         hash.h \
32         tlv11.h \
33         hostport.h \
34         radmsg.h \
35         udp.h \
36         tcp.h \
37         tls.h \
38         dtls.h \
39         fticks.h
40
41 catgconf_SOURCES = \
42         debug.c \
43         util.c \
44         gconfig.c \
45         catgconf.c
46
47 radsecproxy_CFLAGS = \
48         -g -Wall -Werror -fno-strict-aliasing @SSL_CFLAGS@ @TARGET_CFLAGS@
49 radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@
50 radsecproxy_LDADD = librsp.a @SSL_LIBS@
51
52 catgconf_CFLAGS = -g -Wall -fno-strict-aliasing @TARGET_CFLAGS@
53 catgconf_LDFLAGS = @TARGET_LDFLAGS@
54
55 dist_man_MANS = radsecproxy.1 $(GENMANPAGES)
56 EXTRA_DIST = LICENSE THANKS radsecproxy.conf-example radsecproxy.conf.5.xml \
57         tools/naptr-eduroam.sh tools/radsec-dynsrv.sh tools/README
58
59 if HAVE_DOCBOOK2X_MAN
60 GENMANPAGES = radsecproxy.conf.5
61 endif
62
63 radsecproxy.conf.5: $(srcdir)/radsecproxy.conf.5.xml
64         docbook2x-man $<
65
66 # Build HTML version of radsecproxy.conf.5.  NOTE: Only tested with
67 # 'openjade' package installed on Ubuntu 9.10.
68 html: $(srcdir)/radsecproxy.conf.5.xml
69         -openjade -E2000 -t sgml-raw -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -o radsecproxy.conf.html $<
70
71 clean-local:
72         -rm radsecproxy.conf.5