aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exit/Makefile.am42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/exit/Makefile.am b/src/exit/Makefile.am
new file mode 100644
index 000000000..9d1e8b413
--- /dev/null
+++ b/src/exit/Makefile.am
@@ -0,0 +1,42 @@
1INCLUDES = -I$(top_srcdir)/src/include
2
3if MINGW
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
5endif
6
7if USE_COVERAGE
8 AM_CFLAGS = --coverage -O0
9endif
10
11pkgcfgdir= $(pkgdatadir)/config.d/
12
13plugindir = $(libdir)/gnunet
14
15dist_pkgcfg_DATA = \
16 exit.conf
17
18if LINUX
19EXITBIN = gnunet-helper-exit
20install-exec-hook:
21 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-exit || true
22 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-exit || true
23else
24install-exec-hook:
25endif
26
27
28bin_PROGRAMS = \
29 gnunet-daemon-exit $(EXITBIN)
30
31
32gnunet_helper_exit_SOURCES = \
33 gnunet-helper-exit.c
34
35gnunet_daemon_exit_SOURCES = \
36 gnunet-daemon-exit.c
37gnunet_daemon_exit_LDADD = \
38 $(top_builddir)/src/core/libgnunetcore.la \
39 $(top_builddir)/src/statistics/libgnunetstatistics.la \
40 $(top_builddir)/src/util/libgnunetutil.la \
41 $(top_builddir)/src/mesh/libgnunetmesh.la \
42 $(GN_LIBINTL)