aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/libhydra/Makefile.am30
2 files changed, 34 insertions, 0 deletions
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
+