summaryrefslogtreecommitdiffstats
path: root/lib/tests/Makefile.am
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-06-26 22:00:08 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2008-06-26 22:00:08 +0000
commit6c476db6dcc7aa70a687d09c10e6ad515c290c23 (patch)
tree01262e224740a0b01fe018eb167b3c46de3a6ea7 /lib/tests/Makefile.am
parent2968a166e2524c5c1c557a12ae8dd6eaf698d7ea (diff)
downloadmonitoring-plugins-6c476db6dcc7aa70a687d09c10e6ad515c290c23.tar.gz
Adding libtap into distribution to help run C based tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2013 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests/Makefile.am')
-rw-r--r--lib/tests/Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index 25e2bed3..45c11527 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -15,39 +15,41 @@ EXTRA_DIST = $(np_test_scripts) $(np_test_files)
15 15
16LIBS = @LIBINTL@ 16LIBS = @LIBINTL@
17 17
18TAP_LIB_DIR = $(top_srcdir)/@TAP_DIR@/src
19
18test_utils_SOURCES = test_utils.c 20test_utils_SOURCES = test_utils.c
19test_utils_CFLAGS = -g -I.. 21test_utils_CFLAGS = -g -I..
20test_utils_LDFLAGS = -L/usr/local/lib -ltap 22test_utils_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
21test_utils_LDADD = ../utils_base.o 23test_utils_LDADD = ../utils_base.o
22 24
23test_disk_SOURCES = test_disk.c 25test_disk_SOURCES = test_disk.c
24test_disk_CFLAGS = -g -I.. 26test_disk_CFLAGS = -g -I..
25test_disk_LDFLAGS = -L/usr/local/lib -ltap 27test_disk_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
26test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a 28test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a
27 29
28test_tcp_SOURCES = test_tcp.c 30test_tcp_SOURCES = test_tcp.c
29test_tcp_CFLAGS = -g -I.. 31test_tcp_CFLAGS = -g -I..
30test_tcp_LDFLAGS = -L/usr/local/lib -ltap 32test_tcp_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
31test_tcp_LDADD = ../utils_tcp.o 33test_tcp_LDADD = ../utils_tcp.o
32 34
33test_cmd_SOURCES = test_cmd.c 35test_cmd_SOURCES = test_cmd.c
34test_cmd_CFLAGS = -g -I.. 36test_cmd_CFLAGS = -g -I..
35test_cmd_LDFLAGS = -L/usr/local/lib -ltap 37test_cmd_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
36test_cmd_LDADD = ../utils_cmd.o ../utils_base.o 38test_cmd_LDADD = ../utils_cmd.o ../utils_base.o
37 39
38test_base64_SOURCES = test_base64.c 40test_base64_SOURCES = test_base64.c
39test_base64_CFLAGS = -g -I.. 41test_base64_CFLAGS = -g -I..
40test_base64_LDFLAGS = -L/usr/local/lib -ltap 42test_base64_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
41test_base64_LDADD = $(top_srcdir)/gl/base64.o 43test_base64_LDADD = $(top_srcdir)/gl/base64.o
42 44
43test_ini_SOURCES = test_ini.c 45test_ini_SOURCES = test_ini.c
44test_ini_CFLAGS = -g -I.. 46test_ini_CFLAGS = -g -I..
45test_ini_LDFLAGS = -L/usr/local/lib -ltap 47test_ini_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
46test_ini_LDADD = ../utils_base.o ../parse_ini.o 48test_ini_LDADD = ../utils_base.o ../parse_ini.o
47 49
48test_opts_SOURCES = test_opts.c 50test_opts_SOURCES = test_opts.c
49test_opts_CFLAGS = -g -I.. 51test_opts_CFLAGS = -g -I..
50test_opts_LDFLAGS = -L/usr/local/lib -ltap 52test_opts_LDFLAGS = -L$(TAP_LIB_DIR) -ltap
51test_opts_LDADD = ../utils_base.o ../parse_ini.o ../extra_opts.o 53test_opts_LDADD = ../utils_base.o ../parse_ini.o ../extra_opts.o
52 54
53test: ${noinst_PROGRAMS} 55test: ${noinst_PROGRAMS}