if LINUX
WANBIN = gnunet-transport-wlan-helper
WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
+ WLAN_API_TEST =
+# WLAN_API_TEST = test_transport_api_wlan
endif
endif
gnunet_nat_server_SOURCES = \
$(NATSERVER)
+
gnunet_transport_wlan_helper_SOURCES = \
- gnunet-transport-wlan-helper.c
+ gnunet-transport-wlan-helper.c
gnunet_transport_wlan_helper_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
-lpcap
gnunet_nat_client_SOURCES = \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
+gnunet_transport_DEPENDENCIES = \
+ libgnunettransport.la
gnunet_service_transport_SOURCES = \
gnunet-service-transport.c plugin_transport.h
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
+gnunet_service_transport_DEPENDENCIES = \
+ libgnunettransport.la
plugin_LTLIBRARIES = \
$(CFLAGS) -DBUILD_HTTPS
endif
+
check_PROGRAMS = \
test_transport_api_tcp \
test_transport_api_tcp_nat \
$(HTTP_API_TEST) \
$(HTTPS_PLUGIN_TEST) \
$(HTTPS_API_TEST) \
+ $(WLAN_API_TEST) \
+ test_transport_api_multi \
test_transport_api_reliability_tcp \
test_transport_api_reliability_tcp_nat \
test_transport_api_reliability_udp \
$(HTTP_API_TEST) \
$(HTTPS_PLUGIN_TEST) \
$(HTTPS_API_TEST) \
+ $(WLAN_API_TEST) \
+ test_transport_api_multi \
test_transport_api_reliability_tcp \
test_transport_api_reliability_tcp_nat \
$(HTTP_REL_TEST) \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la
-if HAVE_MHD
-
test_plugin_transport_http_SOURCES = \
test_plugin_transport_http.c
test_plugin_transport_http_LDADD = \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la
+if HAVE_PCAP
+if LINUX
+test_transport_api_wlan_SOURCES = \
+ test_transport_api.c
+test_transport_api_wlan_LDADD = \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/util/libgnunetutil.la
+endif
+endif
+
test_quota_compliance_tcp_SOURCES = \
test_quota_compliance.c
test_quota_compliance_tcp_LDADD = \
# $(top_builddir)/src/transport/libgnunettransport.la \
# $(top_builddir)/src/util/libgnunetutil.la
-endif
-
-
+test_transport_api_multi_SOURCES = \
+ test_transport_api.c
+test_transport_api_multi_LDADD = \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/util/libgnunetutil.la
EXTRA_DIST = \
test_transport_api_data.conf \
test_transport_api_tcp_peer1.conf \
test_transport_api_http_peer2.conf \
test_transport_api_https_peer1.conf \
test_transport_api_https_peer2.conf \
+ test_transport_api_wlan_peer1.conf \
+ test_transport_api_wlan_peer2.conf \
+ test_transport_api_multi_peer1.conf \
+ test_transport_api_multi_peer2.conf \
test_transport_api_rel_http_peer1.conf \
test_transport_api_rel_http_peer2.conf \
test_transport_api_rel_https_peer1.conf \
test_quota_compliance_https_peer1.conf \
test_quota_compliance_https_peer2.conf \
test_quota_compliance_udp_peer1.conf \
- test_quota_compliance_udp_peer2.conf
\ No newline at end of file
+ test_quota_compliance_udp_peer2.conf