Begin implementing the gnunet-vpn-helper
[oweals/gnunet.git] / src / vpn / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage -O0
9 endif
10
11 if LINUX
12 VPNBIN = gnunet-vpn-helper
13 install-exec-hook:
14         chown root $(bindir)/gnunet-vpn-helper || true
15         chmod u+s $(bindir)/gnunet-vpn-helper || true
16 else
17 install-exec-hook:
18 endif
19
20
21 bin_PROGRAMS = \
22  gnunet-daemon-vpn $(VPNBIN)
23
24
25 gnunet_vpn_helper_SOURCES = \
26  gnunet-vpn-helper.c \
27  gnunet-vpn-helper-p.h \
28  tun.h tun.c
29
30 # debug.c  debug.h \
31 # packet.h packet.c \
32 # pretty-print.c  pretty-print.h \
33 # tcp.c  tcp.h \
34 # test.c \
35 # tun.c  tun.h \
36 # udp.c udp.h
37
38 gnunet_daemon_vpn_SOURCES = \
39  gnunet-daemon-vpn.c
40 gnunet_daemon_vpn_LDADD = \
41   $(top_builddir)/src/core/libgnunetcore.la \
42   $(top_builddir)/src/statistics/libgnunetstatistics.la \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(GN_LIBINTL)
45
46
47 #check_PROGRAMS = \
48 # test_XXX
49
50 #TESTS = \
51 # test_transport_api_tcp 
52
53
54 #test_transport_api_tcp_SOURCES = \
55 # test_transport_api.c
56 #test_transport_api_tcp_LDADD = \
57 # $(top_builddir)/src/transport/libgnunettransport.la \
58 # $(top_builddir)/src/util/libgnunetutil.la  
59
60 #EXTRA_DIST = test_transport_api_data.conf