X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=lib%2Ftests%2FMakefile.am;h=09f9d2869732083a2dba60fdbfaa83ff97cd874a;hb=5871418432e1b127c760cd42a50f781d95d245fd;hp=526dcdc09d7fb09d9625afcfc92db00d05972f29;hpb=f58ce3d98a13e9c8d0930b54c5f593cbfa196d65;p=radsecproxy.git diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 526dcdc..09f9d28 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am @@ -1,10 +1,12 @@ AUTOMAKE_OPTIONS = foreign -INCLUDES = -I$(top_srcdir)/include -AM_CFLAGS = -Wall -g +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) +AM_CFLAGS = -Wall -Werror -g -bin_PROGRAMS = test-udp udp-server +TESTS = test-udp -test_udp_SOURCES = test-udp.c udp.c -test_udp_LDADD = ../libradsec.la -lcgreen -lm +check_PROGRAMS = test-udp udp-server -udp_server_SOURCES = udp-server.c udp.c +test_udp_SOURCES = test-udp.c udp.c udp.h +test_udp_LDADD = ../libradsec.la -lcunit -lm + +udp_server_SOURCES = udp-server.c udp.c udp.h