diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tests/Makefile.am | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 25e2bed..45c1152 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 | ||
16 | LIBS = @LIBINTL@ | 16 | LIBS = @LIBINTL@ |
17 | 17 | ||
18 | TAP_LIB_DIR = $(top_srcdir)/@TAP_DIR@/src | ||
19 | |||
18 | test_utils_SOURCES = test_utils.c | 20 | test_utils_SOURCES = test_utils.c |
19 | test_utils_CFLAGS = -g -I.. | 21 | test_utils_CFLAGS = -g -I.. |
20 | test_utils_LDFLAGS = -L/usr/local/lib -ltap | 22 | test_utils_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
21 | test_utils_LDADD = ../utils_base.o | 23 | test_utils_LDADD = ../utils_base.o |
22 | 24 | ||
23 | test_disk_SOURCES = test_disk.c | 25 | test_disk_SOURCES = test_disk.c |
24 | test_disk_CFLAGS = -g -I.. | 26 | test_disk_CFLAGS = -g -I.. |
25 | test_disk_LDFLAGS = -L/usr/local/lib -ltap | 27 | test_disk_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
26 | test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a | 28 | test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a |
27 | 29 | ||
28 | test_tcp_SOURCES = test_tcp.c | 30 | test_tcp_SOURCES = test_tcp.c |
29 | test_tcp_CFLAGS = -g -I.. | 31 | test_tcp_CFLAGS = -g -I.. |
30 | test_tcp_LDFLAGS = -L/usr/local/lib -ltap | 32 | test_tcp_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
31 | test_tcp_LDADD = ../utils_tcp.o | 33 | test_tcp_LDADD = ../utils_tcp.o |
32 | 34 | ||
33 | test_cmd_SOURCES = test_cmd.c | 35 | test_cmd_SOURCES = test_cmd.c |
34 | test_cmd_CFLAGS = -g -I.. | 36 | test_cmd_CFLAGS = -g -I.. |
35 | test_cmd_LDFLAGS = -L/usr/local/lib -ltap | 37 | test_cmd_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
36 | test_cmd_LDADD = ../utils_cmd.o ../utils_base.o | 38 | test_cmd_LDADD = ../utils_cmd.o ../utils_base.o |
37 | 39 | ||
38 | test_base64_SOURCES = test_base64.c | 40 | test_base64_SOURCES = test_base64.c |
39 | test_base64_CFLAGS = -g -I.. | 41 | test_base64_CFLAGS = -g -I.. |
40 | test_base64_LDFLAGS = -L/usr/local/lib -ltap | 42 | test_base64_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
41 | test_base64_LDADD = $(top_srcdir)/gl/base64.o | 43 | test_base64_LDADD = $(top_srcdir)/gl/base64.o |
42 | 44 | ||
43 | test_ini_SOURCES = test_ini.c | 45 | test_ini_SOURCES = test_ini.c |
44 | test_ini_CFLAGS = -g -I.. | 46 | test_ini_CFLAGS = -g -I.. |
45 | test_ini_LDFLAGS = -L/usr/local/lib -ltap | 47 | test_ini_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
46 | test_ini_LDADD = ../utils_base.o ../parse_ini.o | 48 | test_ini_LDADD = ../utils_base.o ../parse_ini.o |
47 | 49 | ||
48 | test_opts_SOURCES = test_opts.c | 50 | test_opts_SOURCES = test_opts.c |
49 | test_opts_CFLAGS = -g -I.. | 51 | test_opts_CFLAGS = -g -I.. |
50 | test_opts_LDFLAGS = -L/usr/local/lib -ltap | 52 | test_opts_LDFLAGS = -L$(TAP_LIB_DIR) -ltap |
51 | test_opts_LDADD = ../utils_base.o ../parse_ini.o ../extra_opts.o | 53 | test_opts_LDADD = ../utils_base.o ../parse_ini.o ../extra_opts.o |
52 | 54 | ||
53 | test: ${noinst_PROGRAMS} | 55 | test: ${noinst_PROGRAMS} |