- minor
[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 plugindir = $(libdir)/gnunet
14
15 dist_pkgcfg_DATA = \
16   exit.conf
17
18 if LINUX
19 EXITBIN = gnunet-helper-exit
20 install-exec-hook:
21         $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-exit || true
22         $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-exit || true
23 else
24 install-exec-hook:
25 endif
26
27
28 bin_PROGRAMS = \
29   gnunet-daemon-exit $(EXITBIN) 
30
31
32 gnunet_helper_exit_SOURCES = \
33  gnunet-helper-exit.c
34
35 gnunet_daemon_exit_SOURCES = \
36  gnunet-daemon-exit.c exit.h 
37 gnunet_daemon_exit_LDADD = \
38   $(top_builddir)/src/core/libgnunetcore.la \
39   $(top_builddir)/src/statistics/libgnunetstatistics.la \
40   $(top_builddir)/src/tun/libgnunettun.la \
41   $(top_builddir)/src/util/libgnunetutil.la \
42   $(top_builddir)/src/mesh/libgnunetmesh.la \
43   $(GN_LIBINTL)