From e9dd0998706a0ce099826b982bbb1671909fe026 Mon Sep 17 00:00:00 2001 From: Benoit Neil Date: Tue, 7 Apr 2009 21:59:15 +0000 Subject: Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake scripts), and fixed a missing define under windows in a test source file. --- tests/server/Makefile.inc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/server/Makefile.inc (limited to 'tests/server/Makefile.inc') diff --git a/tests/server/Makefile.inc b/tests/server/Makefile.inc new file mode 100644 index 000000000..b4394f9e8 --- /dev/null +++ b/tests/server/Makefile.inc @@ -0,0 +1,22 @@ +noinst_PROGRAMS = sws getpart sockfilt resolve tftpd + +useful = getpart.c getpart.h $(top_srcdir)/lib/strequal.c \ + $(top_srcdir)/lib/base64.c $(top_srcdir)/lib/mprintf.c \ + $(top_srcdir)/lib/memdebug.c $(top_srcdir)/lib/timeval.c + +resolve_SOURCES= resolve.c util.c util.h $(useful) +resolve_LDADD = @TEST_SERVER_LIBS@ + +sws_SOURCES= sws.c util.c util.h $(useful) +sws_LDADD = @TEST_SERVER_LIBS@ + +sockfilt_SOURCES = sockfilt.c util.c util.h $(useful) \ + $(top_srcdir)/lib/inet_pton.c +sockfilt_LDADD = @TEST_SERVER_LIBS@ + +getpart_SOURCES= testpart.c $(useful) +# This is needed because of (unused) network debugging functions in memdebug.c +getpart_LDADD = @TEST_SERVER_LIBS@ + +tftpd_SOURCES = tftpd.c util.c util.h $(useful) tftp.h +tftpd_LDADD = @TEST_SERVER_LIBS@ -- cgit v1.2.3