1 INCLUDES = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
6 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
10 AM_CFLAGS = --coverage -O0
17 libgnunettransport_la_SOURCES = \
18 transport_api.c transport.h \
19 transport_api_blacklist.c
20 libgnunettransport_la_LIBADD = \
21 $(top_builddir)/src/arm/libgnunetarm.la \
22 $(top_builddir)/src/hello/libgnunethello.la \
23 $(top_builddir)/src/util/libgnunetutil.la \
25 libgnunettransport_la_LDFLAGS = \
26 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
32 gnunet-service-transport
34 gnunet_transport_SOURCES = \
36 gnunet_transport_LDADD = \
37 $(top_builddir)/src/transport/libgnunettransport.la \
38 $(top_builddir)/src/util/libgnunetutil.la \
41 gnunet_service_transport_SOURCES = \
42 gnunet-service-transport.c plugin_transport.h
43 gnunet_service_transport_LDADD = \
44 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
45 $(top_builddir)/src/util/libgnunetutil.la \
50 plugin_LTLIBRARIES = \
51 libgnunet_plugin_transport_tcp.la \
52 libgnunet_plugin_transport_udp.la \
53 libgnunet_plugin_transport_template.la
54 # TODO: add udp, http, nat, etc.
56 libgnunet_plugin_transport_tcp_la_SOURCES = \
57 plugin_transport_tcp.c
58 libgnunet_plugin_transport_tcp_la_LIBADD = \
59 $(top_builddir)/src/hello/libgnunethello.la \
60 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
61 $(top_builddir)/src/util/libgnunetutil.la
62 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
65 libgnunet_plugin_transport_template_la_SOURCES = \
66 plugin_transport_template.c
67 libgnunet_plugin_transport_template_la_LIBADD = \
68 $(top_builddir)/src/util/libgnunetutil.la
69 libgnunet_plugin_transport_template_la_LDFLAGS = \
72 libgnunet_plugin_transport_udp_la_SOURCES = \
73 plugin_transport_udp.c
74 libgnunet_plugin_transport_udp_la_LIBADD = \
75 $(top_builddir)/src/hello/libgnunethello.la \
76 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
77 $(top_builddir)/src/util/libgnunetutil.la
78 libgnunet_plugin_transport_udp_la_LDFLAGS = \
82 test_transport_api_tcp \
83 test_transport_api_udp \
84 test_plugin_transport \
85 test_plugin_transport_udp
86 # TODO: add tests for tcp, udp, http, nat, etc.
88 TESTS = $(check_PROGRAMS)
90 test_transport_api_tcp_SOURCES = \
92 test_transport_api_tcp_LDADD = \
93 $(top_builddir)/src/transport/libgnunettransport.la \
94 $(top_builddir)/src/util/libgnunetutil.la
96 test_transport_api_udp_SOURCES = \
98 test_transport_api_udp_LDADD = \
99 $(top_builddir)/src/transport/libgnunettransport.la \
100 $(top_builddir)/src/util/libgnunetutil.la
102 test_plugin_transport_SOURCES = \
103 test_plugin_transport.c
104 test_plugin_transport_LDADD = \
105 $(top_builddir)/src/transport/libgnunettransport.la \
106 $(top_builddir)/src/util/libgnunetutil.la
108 test_plugin_transport_udp_SOURCES = \
109 test_plugin_transport_udp.c
110 test_plugin_transport_udp_LDADD = \
111 $(top_builddir)/src/transport/libgnunettransport.la \
112 $(top_builddir)/src/util/libgnunetutil.la
115 test_transport_api_data.conf \
116 test_transport_api_peer1.conf \
117 test_transport_api_peer2.conf \
118 test_plugin_transport_data.conf