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 \
35 gnunet_nat_server_SOURCES = \
39 gnunet_transport_SOURCES = \
41 gnunet_transport_LDADD = \
42 $(top_builddir)/src/transport/libgnunettransport.la \
43 $(top_builddir)/src/util/libgnunetutil.la \
46 gnunet_service_transport_SOURCES = \
47 gnunet-service-transport.c plugin_transport.h \
48 gnunet-service-transport_blacklist.c gnunet-service-transport_blacklist.h
49 gnunet_service_transport_LDADD = \
50 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
51 $(top_builddir)/src/util/libgnunetutil.la \
56 plugin_LTLIBRARIES = \
57 libgnunet_plugin_transport_tcp.la \
58 libgnunet_plugin_transport_udp.la \
59 libgnunet_plugin_transport_template.la
60 # TODO: add udp, http, nat, etc.
62 libgnunet_plugin_transport_tcp_la_SOURCES = \
63 plugin_transport_tcp.c
64 libgnunet_plugin_transport_tcp_la_LIBADD = \
65 $(top_builddir)/src/hello/libgnunethello.la \
66 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
67 $(top_builddir)/src/util/libgnunetutil.la
68 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
71 libgnunet_plugin_transport_template_la_SOURCES = \
72 plugin_transport_template.c
73 libgnunet_plugin_transport_template_la_LIBADD = \
74 $(top_builddir)/src/util/libgnunetutil.la
75 libgnunet_plugin_transport_template_la_LDFLAGS = \
78 libgnunet_plugin_transport_udp_la_SOURCES = \
79 plugin_transport_udp.c
80 libgnunet_plugin_transport_udp_la_LIBADD = \
81 $(top_builddir)/src/hello/libgnunethello.la \
82 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
83 $(top_builddir)/src/util/libgnunetutil.la
84 libgnunet_plugin_transport_udp_la_LDFLAGS = \
88 test_transport_api_tcp \
89 test_transport_api_udp
90 # test_plugin_transport \
91 # test_plugin_transport_udp
92 # TODO: add tests for http, nat, etc.
94 TESTS = $(check_PROGRAMS)
96 test_transport_api_tcp_SOURCES = \
98 test_transport_api_tcp_LDADD = \
99 $(top_builddir)/src/transport/libgnunettransport.la \
100 $(top_builddir)/src/util/libgnunetutil.la
102 test_transport_api_udp_SOURCES = \
104 test_transport_api_udp_LDADD = \
105 $(top_builddir)/src/transport/libgnunettransport.la \
106 $(top_builddir)/src/util/libgnunetutil.la
108 test_plugin_transport_SOURCES = \
109 test_plugin_transport.c
110 test_plugin_transport_LDADD = \
111 $(top_builddir)/src/transport/libgnunettransport.la \
112 $(top_builddir)/src/util/libgnunetutil.la
114 test_plugin_transport_udp_SOURCES = \
115 test_plugin_transport_udp.c
116 test_plugin_transport_udp_LDADD = \
117 $(top_builddir)/src/transport/libgnunettransport.la \
118 $(top_builddir)/src/util/libgnunetutil.la
121 test_transport_api_data.conf \
122 test_transport_api_peer1.conf \
123 test_transport_api_peer2.conf \
124 test_plugin_transport_data.conf