]> git.meshlink.io Git - meshlink-tiny/blob - test/Makefile.am
Add a metering test.
[meshlink-tiny] / test / Makefile.am
1 TESTS = \
2         basic \
3         encrypted \
4         ephemeral \
5         import-export \
6         invite-join \
7         metering \
8         sign-verify \
9         storage-policy
10
11 dist_check_SCRIPTS = $(TESTS)
12
13 AM_CPPFLAGS = $(PTHREAD_CFLAGS) -I${top_srcdir}/src -iquote. -Wall
14 AM_LDFLAGS = $(PTHREAD_LIBS)
15
16 check_PROGRAMS = \
17         basic \
18         encrypted \
19         ephemeral \
20         import-export \
21         invite-join \
22         metering \
23         sign-verify \
24         storage-policy
25
26 if INSTALL_TESTS
27 bin_PROGRAMS = $(check_PROGRAMS)
28 endif
29
30 default_SOURCES = \
31         full.c full.h \
32         utils.c utils.h
33
34 LDADD = $(top_builddir)/src/libmeshlink-tiny.la -ldl
35
36 basic_SOURCES = basic.c $(default_SOURCES)
37 encrypted_SOURCES = encrypted.c $(default_SOURCES)
38 ephemeral_SOURCES = ephemeral.c $(default_SOURCES)
39 get_all_nodes_SOURCES = get-all-nodes.c $(default_SOURCES)
40 import_export_SOURCES = import-export.c $(default_SOURCES)
41 invite_join_SOURCES = invite-join.c $(default_SOURCES)
42 metering_SOURCES = metering.c netns_utils.c $(default_SOURCES)
43 sign_verify_SOURCES = sign-verify.c $(default_SOURCES)
44 storage_policy_SOURCES = storage-policy.c $(default_SOURCES)