split out code that is needed only when tls or dtls is used
[radsecproxy.git] / Makefile.am
index 2e7d1cc..5361f24 100644 (file)
@@ -25,7 +25,7 @@ radsecproxy_SOURCES = radsecproxy.c \
                      tls.h \
                      dtls.h
 
-radsecproxy_CFLAGS  = -g -Wall -pedantic -pthread @SSL_CFLAGS@ @TARGET_CFLAGS@
+radsecproxy_CFLAGS  = -g -Wall -pedantic -pthread -DRADPROT_UDP -DRADPROT_TCP -DRADPROT_TLS -DRADPROT_DTLS @SSL_CFLAGS@ @TARGET_CFLAGS@
 radsecproxy_LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@
 radsecproxy_LDADD   = @SSL_LIBS@