diff options
Diffstat (limited to 'src/exit/Makefile.am')
-rw-r--r-- | src/exit/Makefile.am | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/exit/Makefile.am b/src/exit/Makefile.am index be3a66a34..eb2a7a9aa 100644 --- a/src/exit/Makefile.am +++ b/src/exit/Makefile.am | |||
@@ -1,7 +1,8 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | 1 | INCLUDES = -I$(top_srcdir)/src/include |
2 | 2 | ||
3 | if MINGW | 3 | if MINGW |
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | 4 | WINFLAGS = -Wl,--no-undefined, --export-all-symbols |
5 | EXITBIN = gnunet-helper-exit | ||
5 | endif | 6 | endif |
6 | 7 | ||
7 | if USE_COVERAGE | 8 | if USE_COVERAGE |
@@ -30,9 +31,20 @@ libexec_PROGRAMS = \ | |||
30 | gnunet-daemon-exit \ | 31 | gnunet-daemon-exit \ |
31 | $(EXITBIN) | 32 | $(EXITBIN) |
32 | 33 | ||
33 | gnunet_helper_exit_SOURCES = \ | 34 | if MINGW |
34 | gnunet-helper-exit.c | 35 | gnunet_helper_exit_LDFLAGS = \ |
35 | 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 | ||
36 | gnunet_daemon_exit_SOURCES = \ | 48 | gnunet_daemon_exit_SOURCES = \ |
37 | gnunet-daemon-exit.c exit.h | 49 | gnunet-daemon-exit.c exit.h |
38 | gnunet_daemon_exit_LDADD = \ | 50 | gnunet_daemon_exit_LDADD = \ |