bad commit fix
[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  debug.c  debug.h \
27  packet.h packet.c \
28  pretty-print.c  pretty-print.h \
29  tcp.c  tcp.h \
30  test.c \
31  tun.c  tun.h
32
33 gnunet_daemon_vpn_SOURCES = \
34  gnunet-daemon-vpn.c
35 gnunet_daemon_vpn_LDADD = \
36   $(top_builddir)/src/core/libgnunetcore.la \
37   $(top_builddir)/src/statistics/libgnunetstatistics.la \
38   $(top_builddir)/src/util/libgnunetutil.la \
39   $(GN_LIBINTL)
40
41
42 #check_PROGRAMS = \
43 # test_XXX
44
45 #TESTS = \
46 # test_transport_api_tcp 
47
48
49 #test_transport_api_tcp_SOURCES = \
50 # test_transport_api.c
51 #test_transport_api_tcp_LDADD = \
52 # $(top_builddir)/src/transport/libgnunettransport.la \
53 # $(top_builddir)/src/util/libgnunetutil.la  
54
55 #EXTRA_DIST = test_transport_api_data.conf