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