summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: e2ab1e01b25135a25660d4105288db3976a2bac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
AUTOMAKE_OPTIONS = foreign

sbin_PROGRAMS = radsecproxy
bin_PROGRAMS  = catgconf

radsecproxy_SOURCES = radsecproxy.c \
                      tlscommon.c \
                      gconfig.c \
                      util.c \
                      debug.c \
                      list.c \
                      hash.c \
                      tlv11.c \
                      hostport.c \
                      radmsg.c \
                      udp.c \
                      tcp.c \
                      tls.c \
                      dtls.c \
                      radsecproxy.h \
                      tlscommon.h \
                      gconfig.h \
                      debug.h \
                      util.h \
                      list.h \
                      hash.h \
                      tlv11.h \
                      hostport.h \
                      radmsg.h \
                      udp.h \
                      tcp.h \
                      tls.h \
                      dtls.h

catgconf_SOURCES    = debug.c \
                      util.c \
                      gconfig.c \
                      catgconf.c

radsecproxy_CFLAGS  = -g -Wall @SSL_CFLAGS@ @TARGET_CFLAGS@
radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@
radsecproxy_LDADD   = @SSL_LIBS@

catgconf_CFLAGS     = -g -Wall @TARGET_CFLAGS@
catgconf_LDFLAGS    = @TARGET_LDFLAGS@

EXTRA_DIST = radsecproxy.conf-example \
		radsecproxy.1 \
		radsecproxy.conf.5.xml

man: $(srcdir)/radsecproxy.conf.5.xml
	docbook2x-man $<

# Build HTML version of radsecproxy.conf.5.  NOTE: Only tested with
# 'openjade' package installed on Ubuntu 9.10.
html: $(srcdir)/radsecproxy.conf.5.xml
	-openjade -E2000 -t sgml-raw -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -o radsecproxy.conf.html $<

clean-local:
	-rm radsecproxy.conf.5