* Makefile.am: Compile with -fno-strict-aliasing to avoid the warnings
[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 EXTRA_DIST = radsecproxy.conf-example \
48                 radsecproxy.1 \
49                 radsecproxy.conf.5.xml
50
51 man: $(srcdir)/radsecproxy.conf.5.xml
52         docbook2x-man $<
53
54 # Build HTML version of radsecproxy.conf.5.  NOTE: Only tested with
55 # 'openjade' package installed on Ubuntu 9.10.
56 html: $(srcdir)/radsecproxy.conf.5.xml
57         -openjade -E2000 -t sgml-raw -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -o radsecproxy.conf.html $<
58
59 clean-local:
60         -rm radsecproxy.conf.5