aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-24 10:37:01 +0100
committerTobias Brunner <tobias@strongswan.org>2010-03-24 18:53:09 +0100
commit0bf68cbf7c0a7302322bffaaba8a3488d8b60c41 (patch)
tree316366c3639c5e8f09ab1b5bd200db2c97d55a24
parentdc9ddba6e3f2da0648a9c706350dbf7272e4cb78 (diff)
downloadstrongswan-0bf68cbf7c0a7302322bffaaba8a3488d8b60c41.tar.bz2
strongswan-0bf68cbf7c0a7302322bffaaba8a3488d8b60c41.tar.xz
Adding libhydra stub.
-rw-r--r--configure.in2
-rw-r--r--src/Makefile.am4
-rw-r--r--src/libhydra/Makefile.am30
3 files changed, 36 insertions, 0 deletions
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
+