Debian Codegraph @

tests/Makefile.am

raw
1 EXTRA_DIST = README.md unit-tests.sh proxy-tests.sh LICENSE
2
3 noinst_PROGRAMS = \
4 bandwidth-server-one \
5 bandwidth-server-many-up \
6 bandwidth-client \
7 random-test-server \
8 random-test-client \
9 unit-test-server \
10 unit-test-client \
11 proxy-test-server \
12 proxy-test-client \
13 version
14
15 common_ldflags = \
16 $(top_builddir)/src/libmodbus.la
17
18 bandwidth_server_one_SOURCES = bandwidth-server-one.c
19 bandwidth_server_one_LDADD = $(common_ldflags)
20
21 bandwidth_server_many_up_SOURCES = bandwidth-server-many-up.c
22 bandwidth_server_many_up_LDADD = $(common_ldflags)
23
24 bandwidth_client_SOURCES = bandwidth-client.c
25 bandwidth_client_LDADD = $(common_ldflags)
26
27 random_test_server_SOURCES = random-test-server.c
28 random_test_server_LDADD = $(common_ldflags)
29
30 random_test_client_SOURCES = random-test-client.c
31 random_test_client_LDADD = $(common_ldflags)
32
33 unit_test_server_SOURCES = unit-test-server.c unit-test.h
34 unit_test_server_LDADD = $(common_ldflags)
35
36 unit_test_client_SOURCES = unit-test-client.c unit-test.h
37 unit_test_client_LDADD = $(common_ldflags)
38
39 proxy_test_server_SOURCES = proxy-test-server.c
40 proxy_test_server_LDADD = $(common_ldflags)
41
42 proxy_test_client_SOURCES = proxy-test-client.c unit-test.h
43 proxy_test_client_LDADD = $(common_ldflags)
44
45 version_SOURCES = version.c
46 version_LDADD = $(common_ldflags)
47
48 AM_CPPFLAGS = \
49 -include $(top_builddir)/config.h \
50 -DSYSCONFDIR=\""$(sysconfdir)"\" \
51 -DLIBEXECDIR=\""$(libexecdir)"\" \
52 -I${top_srcdir}/src \
53 -I${top_builddir}/src
54
55 AM_CFLAGS = $(LIBMODBUSCFLAGS) $(WARNING_CFLAGS)
56
57 CLEANFILES = *~ *.log
58
59 noinst_SCRIPTS=unit-tests.sh
60 TESTS=./unit-tests.sh