aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/Makefile.am7
-rw-r--r--src/libcharon/plugins/attr_sql/Makefile.am (renamed from src/libhydra/plugins/attr_sql/Makefile.am)3
-rw-r--r--src/libcharon/plugins/attr_sql/attr_sql_plugin.c (renamed from src/libhydra/plugins/attr_sql/attr_sql_plugin.c)0
-rw-r--r--src/libcharon/plugins/attr_sql/attr_sql_plugin.h (renamed from src/libhydra/plugins/attr_sql/attr_sql_plugin.h)2
-rw-r--r--src/libcharon/plugins/attr_sql/sql_attribute.c (renamed from src/libhydra/plugins/attr_sql/sql_attribute.c)0
-rw-r--r--src/libcharon/plugins/attr_sql/sql_attribute.h (renamed from src/libhydra/plugins/attr_sql/sql_attribute.h)0
-rw-r--r--src/libhydra/Makefile.am7
-rw-r--r--src/pool/Makefile.am4
8 files changed, 13 insertions, 10 deletions
diff --git a/src/libcharon/Makefile.am b/src/libcharon/Makefile.am
index 5df7dbbf3..0384064fb 100644
--- a/src/libcharon/Makefile.am
+++ b/src/libcharon/Makefile.am
@@ -644,3 +644,10 @@ if MONOLITHIC
libcharon_la_LIBADD += plugins/attr/libstrongswan-attr.la
endif
endif
+
+if USE_ATTR_SQL
+ SUBDIRS += plugins/attr_sql
+if MONOLITHIC
+ libcharon_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
+endif
+endif
diff --git a/src/libhydra/plugins/attr_sql/Makefile.am b/src/libcharon/plugins/attr_sql/Makefile.am
index 6e7eae5eb..5d89e67cb 100644
--- a/src/libhydra/plugins/attr_sql/Makefile.am
+++ b/src/libcharon/plugins/attr_sql/Makefile.am
@@ -1,6 +1,7 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan \
- -I$(top_srcdir)/src/libhydra
+ -I$(top_srcdir)/src/libhydra \
+ -I$(top_srcdir)/src/libcharon
AM_CFLAGS = \
$(PLUGIN_CFLAGS)
diff --git a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c b/src/libcharon/plugins/attr_sql/attr_sql_plugin.c
index dde90051a..dde90051a 100644
--- a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
+++ b/src/libcharon/plugins/attr_sql/attr_sql_plugin.c
diff --git a/src/libhydra/plugins/attr_sql/attr_sql_plugin.h b/src/libcharon/plugins/attr_sql/attr_sql_plugin.h
index ba85a6b28..ef71492f3 100644
--- a/src/libhydra/plugins/attr_sql/attr_sql_plugin.h
+++ b/src/libcharon/plugins/attr_sql/attr_sql_plugin.h
@@ -15,7 +15,7 @@
/**
* @defgroup attr_sql attr_sql
- * @ingroup hplugins
+ * @ingroup cplugins
*
* @defgroup sql_plugin sql_plugin
* @{ @ingroup attr_sql
diff --git a/src/libhydra/plugins/attr_sql/sql_attribute.c b/src/libcharon/plugins/attr_sql/sql_attribute.c
index d527c3fba..d527c3fba 100644
--- a/src/libhydra/plugins/attr_sql/sql_attribute.c
+++ b/src/libcharon/plugins/attr_sql/sql_attribute.c
diff --git a/src/libhydra/plugins/attr_sql/sql_attribute.h b/src/libcharon/plugins/attr_sql/sql_attribute.h
index ca87eb27e..ca87eb27e 100644
--- a/src/libhydra/plugins/attr_sql/sql_attribute.h
+++ b/src/libcharon/plugins/attr_sql/sql_attribute.h
diff --git a/src/libhydra/Makefile.am b/src/libhydra/Makefile.am
index 1877a0bfa..e1537c1fb 100644
--- a/src/libhydra/Makefile.am
+++ b/src/libhydra/Makefile.am
@@ -37,13 +37,6 @@ else
SUBDIRS = .
endif
-if USE_ATTR_SQL
- SUBDIRS += plugins/attr_sql
-if MONOLITHIC
- libhydra_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
-endif
-endif
-
if USE_KERNEL_PFKEY
SUBDIRS += plugins/kernel_pfkey
if MONOLITHIC
diff --git a/src/pool/Makefile.am b/src/pool/Makefile.am
index b8d662e57..5ae624b88 100644
--- a/src/pool/Makefile.am
+++ b/src/pool/Makefile.am
@@ -11,11 +11,13 @@ pool.o : $(top_builddir)/config.status
AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan \
-I$(top_srcdir)/src/libhydra \
+ -I$(top_srcdir)/src/libcharon \
-DPLUGINS=\""${pool_plugins}\""
pool_LDADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la \
- $(top_builddir)/src/libhydra/libhydra.la
+ $(top_builddir)/src/libhydra/libhydra.la \
+ $(top_builddir)/src/libcharon/libcharon.la
endif USE_ATTR_SQL