BUILT_SOURCES = checksum.c
CLEANFILES = checksum.c
-INCLUDES = -I$(top_srcdir)/src/libstrongswan
+INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
+ -I$(top_srcdir)/src/libcharon
AM_CFLAGS = -rdynamic \
-DS_PLUGINS=\""${s_plugins}\"" -DS_PATH=\""${top_builddir}/src/libstrongswan/plugins\""
#include <dlfcn.h>
#include <library.h>
+#include <hydra.h>
+#include <daemon.h>
#include <utils/enumerator.h>
/* we need to fake the pluto symbol to dlopen() the xauth plugin */
{
int i;
+ /* forces link against libhydra/libcharon */
+ hydra = NULL;
+ charon = NULL;
+
/* avoid confusing leak reports in build process */
setenv("LEAK_DETECTIVE_DISABLE", "1", 0);
library_init(NULL);