INCLUDES = -I$(top_srcdir)/src/include
if MINGW
- WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
+ WINFLAGS = -Wl,--no-undefined, --export-all-symbols
+ EXITBIN = gnunet-helper-exit
endif
if USE_COVERAGE
gnunet-daemon-exit \
$(EXITBIN)
-gnunet_helper_exit_SOURCES = \
- gnunet-helper-exit.c
-
+if MINGW
+ gnunet_helper_exit_LDFLAGS = \
+ -no-undefined -Wl,--export-all-symbols
+
+ gnunet_helper_exit_LDADD = \
+ -lsetupapi -lnewdev -lshell32 -liconv -lstdc++ \
+ -lcomdlg32 -lgdi32 -liphlpapi
+
+ gnunet_helper_exit_SOURCES = \
+ gnunet-helper-exit-windows.c
+else
+ gnunet_helper_exit_SOURCES = \
+ gnunet-helper-exit.c
+endif
gnunet_daemon_exit_SOURCES = \
gnunet-daemon-exit.c exit.h
gnunet_daemon_exit_LDADD = \