LRN: Here's a patch. See if it doesn't break anything for you.
[oweals/gnunet.git] / src / exit / 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 pkgcfgdir= $(pkgdatadir)/config.d/
12
13 libexecdir= $(pkglibdir)/libexec/
14
15 plugindir = $(libdir)/gnunet
16
17 dist_pkgcfg_DATA = \
18   exit.conf
19
20 if LINUX
21 EXITBIN = gnunet-helper-exit
22 install-exec-hook:
23         $(top_srcdir)/src/exit/install-exit-helper.sh $(libexecdir) $(SUDO_BINARY) || true
24 else
25 install-exec-hook:
26 endif
27
28
29 libexec_PROGRAMS = \
30   gnunet-daemon-exit \
31   $(EXITBIN) 
32
33 gnunet_helper_exit_SOURCES = \
34  gnunet-helper-exit.c
35
36 gnunet_daemon_exit_SOURCES = \
37  gnunet-daemon-exit.c exit.h 
38 gnunet_daemon_exit_LDADD = \
39   $(top_builddir)/src/dns/libgnunetdnsstub.la \
40   $(top_builddir)/src/core/libgnunetcore.la \
41   $(top_builddir)/src/statistics/libgnunetstatistics.la \
42   $(top_builddir)/src/tun/libgnunettun.la \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(top_builddir)/src/mesh/libgnunetmesh.la \
45   $(top_builddir)/src/regex/libgnunetregex.la \
46   $(GN_LIBINTL)