summaryrefslogtreecommitdiffstats
path: root/lib/tests/Makefile.am
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-06-03 15:14:15 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-06-03 15:14:15 (GMT)
commitfdd2312171ef9ecc030abf522915f55a025f78bc (patch)
treeb425e88ec78b29384c1084772e21aa8522805222 /lib/tests/Makefile.am
parent0ad5dc61893b282ca3ea31c43bf0e372eb4de4cb (diff)
downloadmonitoring-plugins-fdd2312171ef9ecc030abf522915f55a025f78bc.tar.gz
Makefile.am changes for test_tcp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1731 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests/Makefile.am')
-rw-r--r--lib/tests/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index cd9234e..6594db2 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -7,9 +7,9 @@ check_PROGRAMS = @EXTRA_TEST@
7 7
8INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins 8INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
9 9
10EXTRA_PROGRAMS = test_utils test_disk 10EXTRA_PROGRAMS = test_utils test_disk test_tcp
11 11
12EXTRA_DIST = test_utils.t test_disk.t 12EXTRA_DIST = test_utils.t test_disk.t test_tcp.t
13 13
14LIBS = @LIBINTL@ 14LIBS = @LIBINTL@
15 15
@@ -23,6 +23,11 @@ test_disk_CFLAGS = -g -I..
23test_disk_LDFLAGS = -L/usr/local/lib -ltap 23test_disk_LDFLAGS = -L/usr/local/lib -ltap
24test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a 24test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a
25 25
26test_tcp_SOURCES = test_tcp.c
27test_tcp_CFLAGS = -g -I..
28test_tcp_LDFLAGS = -L/usr/local/lib -ltap
29test_tcp_LDADD = ../utils_tcp.o
30
26test: ${noinst_PROGRAMS} 31test: ${noinst_PROGRAMS}
27 perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) 32 perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS)
28 33