1TEST_TRANSPORT_MAPPER_CFLAGS = $(TEST_CFLAGS)
2
3EXTRA_DIST += modules/afsocket/tests/CMakeLists.txt
4
5TRANSPORT_MAPPER_LIB = 					\
6	modules/afsocket/tests/transport-mapper-lib.c	\
7	modules/afsocket/tests/transport-mapper-lib.h
8
9modules_afsocket_tests_TESTS			=		\
10	modules/afsocket/tests/test-transport-mapper		\
11	modules/afsocket/tests/test-transport-mapper-inet	\
12	modules/afsocket/tests/test-transport-mapper-unix
13
14check_PROGRAMS					+=	\
15	$(modules_afsocket_tests_TESTS)
16
17modules_afsocket_tests_test_transport_mapper_CFLAGS = 	\
18	$(TEST_TRANSPORT_MAPPER_CFLAGS)			\
19	-I$(top_srcdir)/modules/afsocket
20
21modules_afsocket_tests_test_transport_mapper_LDADD = 	\
22	$(TEST_LDADD)
23
24modules_afsocket_tests_test_transport_mapper_LDFLAGS =	\
25	-dlpreopen $(top_builddir)/modules/afsocket/libafsocket.la
26
27modules_afsocket_tests_test_transport_mapper_SOURCES = 	\
28	modules/afsocket/tests/test-transport-mapper.c	\
29	$(TRANSPORT_MAPPER_LIB)
30
31modules_afsocket_tests_test_transport_mapper_inet_CFLAGS = 	\
32	$(TEST_TRANSPORT_MAPPER_CFLAGS)				\
33	-I$(top_srcdir)/modules/afsocket
34
35modules_afsocket_tests_test_transport_mapper_inet_LDADD = 	\
36	$(TEST_LDADD)
37
38modules_afsocket_tests_test_transport_mapper_inet_LDFLAGS =	\
39	-dlpreopen $(top_builddir)/modules/afsocket/libafsocket.la
40
41modules_afsocket_tests_test_transport_mapper_inet_SOURCES = 	\
42	modules/afsocket/tests/test-transport-mapper-inet.c	\
43	$(TRANSPORT_MAPPER_LIB)
44
45modules_afsocket_tests_test_transport_mapper_unix_CFLAGS = 	\
46	$(TEST_TRANSPORT_MAPPER_CFLAGS)				\
47	-I$(top_srcdir)/modules/afsocket
48
49modules_afsocket_tests_test_transport_mapper_unix_LDADD = 	\
50	$(TEST_LDADD)
51
52modules_afsocket_tests_test_transport_mapper_unix_LDFLAGS =	\
53	-dlpreopen $(top_builddir)/modules/afsocket/libafsocket.la
54
55modules_afsocket_tests_test_transport_mapper_unix_SOURCES = 	\
56	modules/afsocket/tests/test-transport-mapper-unix.c	\
57	$(TRANSPORT_MAPPER_LIB)
58