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_blacklist.c gnunet-service-transport_blacklist.h
44 gnunet_service_transport_LDADD = \
45 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
46 $(top_builddir)/src/util/libgnunetutil.la \
51 plugin_LTLIBRARIES = \
52 libgnunet_plugin_transport_tcp.la \
53 libgnunet_plugin_transport_udp.la \
54 libgnunet_plugin_transport_template.la
55 # TODO: add udp, http, nat, etc.
57 libgnunet_plugin_transport_tcp_la_SOURCES = \
58 plugin_transport_tcp.c
59 libgnunet_plugin_transport_tcp_la_LIBADD = \
60 $(top_builddir)/src/hello/libgnunethello.la \
61 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
62 $(top_builddir)/src/util/libgnunetutil.la
63 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
66 libgnunet_plugin_transport_template_la_SOURCES = \
67 plugin_transport_template.c
68 libgnunet_plugin_transport_template_la_LIBADD = \
69 $(top_builddir)/src/util/libgnunetutil.la
70 libgnunet_plugin_transport_template_la_LDFLAGS = \
73 libgnunet_plugin_transport_udp_la_SOURCES = \
74 plugin_transport_udp.c
75 libgnunet_plugin_transport_udp_la_LIBADD = \
76 $(top_builddir)/src/hello/libgnunethello.la \
77 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
78 $(top_builddir)/src/util/libgnunetutil.la
79 libgnunet_plugin_transport_udp_la_LDFLAGS = \
83 test_transport_api_tcp \
84 test_transport_api_udp \
85 test_plugin_transport \
86 test_plugin_transport_udp
87 # TODO: add tests for tcp, udp, http, nat, etc.
89 TESTS = $(check_PROGRAMS)
91 test_transport_api_tcp_SOURCES = \
93 test_transport_api_tcp_LDADD = \
94 $(top_builddir)/src/transport/libgnunettransport.la \
95 $(top_builddir)/src/util/libgnunetutil.la
97 test_transport_api_udp_SOURCES = \
99 test_transport_api_udp_LDADD = \
100 $(top_builddir)/src/transport/libgnunettransport.la \
101 $(top_builddir)/src/util/libgnunetutil.la
103 test_plugin_transport_SOURCES = \
104 test_plugin_transport.c
105 test_plugin_transport_LDADD = \
106 $(top_builddir)/src/transport/libgnunettransport.la \
107 $(top_builddir)/src/util/libgnunetutil.la
109 test_plugin_transport_udp_SOURCES = \
110 test_plugin_transport_udp.c
111 test_plugin_transport_udp_LDADD = \
112 $(top_builddir)/src/transport/libgnunettransport.la \
113 $(top_builddir)/src/util/libgnunetutil.la
116 test_transport_api_data.conf \
117 test_transport_api_peer1.conf \
118 test_transport_api_peer2.conf \
119 test_plugin_transport_data.conf