-bin_PROGRAMS = radsecproxy
+sbin_PROGRAMS = radsecproxy
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 \
- debug.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
-radsecproxy_CFLAGS = -g -Wall -pedantic -pthread @SSL_CFLAGS@
-radsecproxy_LDFLAGS = @SSL_LDFLAGS@
+radsecproxy_CFLAGS = -g -Wall -pedantic -pthread @SSL_CFLAGS@ @TARGET_CFLAGS@
+radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@
radsecproxy_LDADD = @SSL_LIBS@
dist_sysconf_DATA = $(srcdir)/radsecproxy.conf-example