-INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
plugindir = $(libdir)/gnunet
if LINUX
if HAVE_LIBBLUETOOTH
- AM_LDFLAGS = -lbluetooth
BT_BIN = gnunet-helper-transport-bluetooth
BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
BT_PLUGIN_TEST = test_plugin_bluetooth
BT_QUOTA_TEST = test_quota_compliance_bluetooth \
test_quota_compliance_bluetooth_asymmetric
endif
+else
+if MINGW
+ BT_BIN = gnunet-helper-transport-bluetooth
+ BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
+endif
endif
if LINUX
gnunet_helper_transport_bluetooth_SOURCES = \
gnunet-helper-transport-bluetooth.c
+if MINGW
+ gnunet_helper_transport_bluetooth_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la
+ gnunet_helper_transport_bluetooth_LDFLAGS = -lws2_32
+else
+ gnunet_helper_transport_bluetooth_LDFLAGS = -lbluetooth
+endif
gnunet_transport_SOURCES = \
gnunet-transport.c
libgnunet_plugin_transport_http_client_la_CFLAGS = \
$(CFLAGS)
libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
- @LIBCURL_CPPFLAGS@
+ @LIBCURL_CPPFLAGS@ $(AM_CPPFLAGS)
libgnunet_plugin_transport_http_server_la_SOURCES = \
libgnunet_plugin_transport_https_client_la_CFLAGS = \
$(CFLAGS) -DBUILD_HTTPS
libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
- @LIBCURL_CPPFLAGS@
+ @LIBCURL_CPPFLAGS@ $(AM_CPPFLAGS)
libgnunet_plugin_transport_https_server_la_SOURCES = \
$(top_builddir)/src/hello/libgnunethello.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/transport/libgnunettransporttesting.la
-
+
test_plugin_udp_SOURCES = \
test_plugin_transport.c
test_plugin_udp_LDADD = \