From 0bf68cbf7c0a7302322bffaaba8a3488d8b60c41 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 24 Mar 2010 10:37:01 +0100 Subject: [PATCH] Adding libhydra stub. --- configure.in | 2 ++ src/Makefile.am | 4 ++++ src/libhydra/Makefile.am | 30 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 src/libhydra/Makefile.am diff --git a/configure.in b/configure.in index ae597d026..d7a0b204e 100644 --- a/configure.in +++ b/configure.in @@ -840,6 +840,7 @@ AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue) AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue) AM_CONDITIONAL(USE_SCRIPTS, test x$scripts = xtrue) AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$pluto = xtrue -o x$tools = xtrue) +AM_CONDITIONAL(USE_LIBHYDRA, test x$charon = xtrue -o x$pluto = xtrue) AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue) AM_CONDITIONAL(USE_VSTR, test x$vstr = xtrue) AM_CONDITIONAL(USE_SIMAKA, test x$simaka = xtrue) @@ -897,6 +898,7 @@ AC_OUTPUT( src/libstrongswan/plugins/gcrypt/Makefile src/libstrongswan/plugins/agent/Makefile src/libstrongswan/plugins/test_vectors/Makefile + src/libhydra/Makefile src/libfreeswan/Makefile src/libsimaka/Makefile src/pluto/Makefile diff --git a/src/Makefile.am b/src/Makefile.am index bcef3e827..8d4dd2e37 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,6 +4,10 @@ if USE_LIBSTRONGSWAN SUBDIRS += libstrongswan endif +if USE_LIBHYDRA + SUBDIRS += libhydra +endif + if USE_SIMAKA SUBDIRS += libsimaka endif diff --git a/src/libhydra/Makefile.am b/src/libhydra/Makefile.am new file mode 100644 index 000000000..702ee3e0d --- /dev/null +++ b/src/libhydra/Makefile.am @@ -0,0 +1,30 @@ +lib_LTLIBRARIES = libhydra.la + +libhydra_la_SOURCES = + +libhydra_la_LIBADD = + +#INCLUDES = -I$(top_srcdir)/src/libstrongswan +AM_CFLAGS = \ +-DIPSEC_DIR=\"${ipsecdir}\" \ +-DPLUGINDIR=\"${plugindir}\" \ +-DSTRONGSWAN_CONF=\"${strongswan_conf}\" + +#EXTRA_DIST = Android.mk + +# build optional plugins +######################## + +if MONOLITHIC +SUBDIRS = +else +SUBDIRS = . +endif + +#if USE_FOO +# SUBDIRS += plugins/foo +#if MONOLITHIC +# libhydra_la_LIBADD += plugins/foo/libstrongswan-foo.la +#endif +#endif +