1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
5 WINFLAGS = -Wl,--no-undefined,--export-all-symbols
6 VPNBIN = gnunet-helper-vpn
10 AM_CFLAGS = --coverage -O0
13 pkgcfgdir= $(pkgdatadir)/config.d/
15 libexecdir= $(pkglibdir)/libexec/
17 plugindir = $(libdir)/gnunet
23 VPNBIN = gnunet-helper-vpn
25 $(top_srcdir)/src/vpn/install-vpn-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_BINARY) || true
43 gnunet_helper_vpn_LDFLAGS = \
44 -no-undefined -Wl,--export-all-symbols
46 gnunet_helper_vpn_LDADD = \
47 -lsetupapi -lnewdev -lshell32 -liconv -lstdc++ \
48 -lcomdlg32 -lgdi32 -liphlpapi
50 gnunet_helper_vpn_SOURCES = \
51 gnunet-helper-vpn-windows.c
53 gnunet_helper_vpn_SOURCES = \
56 gnunet_service_vpn_SOURCES = \
58 gnunet_service_vpn_LDADD = \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
60 $(top_builddir)/src/tun/libgnunettun.la \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(top_builddir)/src/cadet/libgnunetcadet.la \
63 $(top_builddir)/src/regex/libgnunetregex.la \
65 gnunet_service_vpn_CFLAGS = \
66 -I$(top_srcdir)/src/exit $(CFLAGS)
68 gnunet_vpn_SOURCES = \
72 $(top_builddir)/src/tun/libgnunettun.la \
73 $(top_builddir)/src/util/libgnunetutil.la \
76 libgnunetvpn_la_SOURCES = \
78 libgnunetvpn_la_LIBADD = \
79 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
80 libgnunetvpn_la_LDFLAGS = \