57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
check_PROGRAMS = \
|
|
test_pkt_normalizer \
|
|
test_etcp \
|
|
test_etcp_stress \
|
|
test_etcp_simple \
|
|
test_lib_comprehensive \
|
|
test_lib_simple \
|
|
test_lib_performance \
|
|
test_debug_config \
|
|
test_ll_queue_comprehensive \
|
|
test_ecc_encrypt \
|
|
test_routing
|
|
|
|
test_pkt_normalizer_SOURCES = test_pkt_normalizer.c
|
|
test_pkt_normalizer_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
test_etcp_SOURCES = test_etcp.c
|
|
test_etcp_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
test_etcp_stress_SOURCES = test_etcp_stress.c
|
|
test_etcp_stress_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
test_etcp_simple_SOURCES = test_etcp_simple.c
|
|
test_etcp_simple_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
test_lib_comprehensive_SOURCES = test_lib_comprehensive.c
|
|
test_lib_comprehensive_CFLAGS = -I$(top_srcdir)/lib
|
|
|
|
test_lib_simple_SOURCES = test_lib_simple.c
|
|
test_lib_simple_CFLAGS = -I$(top_srcdir)/lib
|
|
|
|
test_lib_performance_SOURCES = test_lib_performance.c
|
|
test_lib_performance_CFLAGS = -I$(top_srcdir)/lib
|
|
|
|
test_debug_config_SOURCES = test_debug_config.c
|
|
test_debug_config_CFLAGS = -I$(top_srcdir)/lib
|
|
|
|
test_ll_queue_comprehensive_SOURCES = test_ll_queue_comprehensive.c
|
|
test_ll_queue_comprehensive_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
test_ecc_encrypt_SOURCES = test_ecc_encrypt.c
|
|
test_ecc_encrypt_CFLAGS = -I$(top_srcdir)/tinycrypt/lib/include \
|
|
-I$(top_srcdir)/tinycrypt/lib/source \
|
|
-I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
test_routing_SOURCES = test_routing.c
|
|
test_routing_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
|
|
|
|
# Link all tests against the libraries
|
|
LDADD = \
|
|
$(top_builddir)/lib/libuasync.a \
|
|
-lpthread
|
|
|
|
# Register tests with automake
|
|
TESTS = $(check_PROGRAMS)
|
|
|