does not terminate on invalid uri
[oweals/gnunet.git] / src / exit / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4   WINFLAGS = -Wl,--no-undefined, --export-all-symbols
5   EXITBIN = gnunet-helper-exit
6 endif
7
8 if USE_COVERAGE
9   AM_CFLAGS = --coverage -O0
10 endif
11
12 pkgcfgdir= $(pkgdatadir)/config.d/
13
14 libexecdir= $(pkglibdir)/libexec/
15
16 plugindir = $(libdir)/gnunet
17
18 dist_pkgcfg_DATA = \
19   exit.conf
20
21 if LINUX
22 EXITBIN = gnunet-helper-exit
23 install-exec-hook:
24         $(top_srcdir)/src/exit/install-exit-helper.sh $(libexecdir) $(SUDO_BINARY) || true
25 else
26 install-exec-hook:
27 endif
28
29
30 libexec_PROGRAMS = \
31   gnunet-daemon-exit \
32   $(EXITBIN) 
33
34 if MINGW
35   gnunet_helper_exit_LDFLAGS = \
36     -no-undefined -Wl,--export-all-symbols 
37    
38   gnunet_helper_exit_LDADD = \
39     -lsetupapi -lnewdev -lshell32 -liconv -lstdc++ \
40     -lcomdlg32 -lgdi32 -liphlpapi
41
42   gnunet_helper_exit_SOURCES = \
43     gnunet-helper-exit-windows.c
44 else
45   gnunet_helper_exit_SOURCES = \
46    gnunet-helper-exit.c
47 endif
48 gnunet_daemon_exit_SOURCES = \
49  gnunet-daemon-exit.c exit.h 
50 gnunet_daemon_exit_LDADD = \
51   $(top_builddir)/src/dns/libgnunetdnsstub.la \
52   $(top_builddir)/src/core/libgnunetcore.la \
53   $(top_builddir)/src/statistics/libgnunetstatistics.la \
54   $(top_builddir)/src/tun/libgnunettun.la \
55   $(top_builddir)/src/util/libgnunetutil.la \
56   $(top_builddir)/src/mesh/libgnunetmesh.la \
57   $(top_builddir)/src/regex/libgnunetregex.la \
58   $(GN_LIBINTL)