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 libgnunettransport_la_LIBADD = \
20 $(top_builddir)/src/arm/libgnunetarm.la \
21 $(top_builddir)/src/hello/libgnunethello.la \
22 $(top_builddir)/src/util/libgnunetutil.la \
24 libgnunettransport_la_LDFLAGS = \
25 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
31 gnunet-service-transport
33 gnunet_transport_SOURCES = \
35 gnunet_transport_LDADD = \
36 $(top_builddir)/src/transport/libgnunettransport.la \
37 $(top_builddir)/src/util/libgnunetutil.la \
40 gnunet_service_transport_SOURCES = \
41 gnunet-service-transport.c plugin_transport.h
42 gnunet_service_transport_LDADD = \
43 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
44 $(top_builddir)/src/util/libgnunetutil.la \
49 plugin_LTLIBRARIES = \
50 libgnunet_plugin_transport_tcp.la \
51 libgnunet_plugin_transport_template.la
52 # TODO: add udp, http, nat, etc.
54 libgnunet_plugin_transport_tcp_la_SOURCES = \
55 plugin_transport_tcp.c
56 libgnunet_plugin_transport_tcp_la_LIBADD = \
57 $(top_builddir)/src/hello/libgnunethello.la \
58 $(top_builddir)/src/resolver/libgnunetresolver.la \
59 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
60 $(top_builddir)/src/util/libgnunetutil.la
61 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
64 libgnunet_plugin_transport_template_la_SOURCES = \
65 plugin_transport_template.c
66 libgnunet_plugin_transport_template_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la
68 libgnunet_plugin_transport_template_la_LDFLAGS = \
74 # TODO: add tests for tcp, udp, http, nat, etc.
76 TESTS = $(check_PROGRAMS)
78 test_transport_api_SOURCES = \
80 test_transport_api_LDADD = \
81 $(top_builddir)/src/transport/libgnunettransport.la \
82 $(top_builddir)/src/util/libgnunetutil.la
86 test_transport_api_data.conf \
87 test_transport_api_peer1.conf \
88 test_transport_api_peer2.conf