diff options
author | Martin Willi <martin@revosec.ch> | 2014-11-04 14:13:34 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2015-02-20 13:34:54 +0100 |
commit | 6bfd1fbb71a4a3bd3079f9d26823f7bb12d9cd07 (patch) | |
tree | e31eb4316b12d3e120b32a72336ec0c6a1bab847 /src | |
parent | a75980c4aaa7a31dc1455a01abbf36547c9c8bf2 (diff) | |
download | strongswan-6bfd1fbb71a4a3bd3079f9d26823f7bb12d9cd07.tar.bz2 strongswan-6bfd1fbb71a4a3bd3079f9d26823f7bb12d9cd07.tar.xz |
resolve: Move plugin back to libcharon
Since pluto is gone, all existing users build upon libcharon.
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/Makefile.am | 7 | ||||
-rw-r--r-- | src/libcharon/plugins/resolve/Makefile.am (renamed from src/libhydra/plugins/resolve/Makefile.am) | 1 | ||||
-rw-r--r-- | src/libcharon/plugins/resolve/resolve_handler.c (renamed from src/libhydra/plugins/resolve/resolve_handler.c) | 1 | ||||
-rw-r--r-- | src/libcharon/plugins/resolve/resolve_handler.h (renamed from src/libhydra/plugins/resolve/resolve_handler.h) | 0 | ||||
-rw-r--r-- | src/libcharon/plugins/resolve/resolve_plugin.c (renamed from src/libhydra/plugins/resolve/resolve_plugin.c) | 1 | ||||
-rw-r--r-- | src/libcharon/plugins/resolve/resolve_plugin.h (renamed from src/libhydra/plugins/resolve/resolve_plugin.h) | 0 | ||||
-rw-r--r-- | src/libhydra/Makefile.am | 7 |
7 files changed, 8 insertions, 9 deletions
diff --git a/src/libcharon/Makefile.am b/src/libcharon/Makefile.am index e666950f1..7f7e32155 100644 --- a/src/libcharon/Makefile.am +++ b/src/libcharon/Makefile.am @@ -630,3 +630,10 @@ if MONOLITHIC libcharon_la_LIBADD += plugins/xauth_noauth/libstrongswan-xauth-noauth.la endif endif + +if USE_RESOLVE + SUBDIRS += plugins/resolve +if MONOLITHIC + libcharon_la_LIBADD += plugins/resolve/libstrongswan-resolve.la +endif +endif diff --git a/src/libhydra/plugins/resolve/Makefile.am b/src/libcharon/plugins/resolve/Makefile.am index 33c3e70fc..9cfc370c0 100644 --- a/src/libhydra/plugins/resolve/Makefile.am +++ b/src/libcharon/plugins/resolve/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/libstrongswan \ -I$(top_srcdir)/src/libhydra \ + -I$(top_srcdir)/src/libcharon \ -DRESOLV_CONF=\"${resolv_conf}\" AM_CFLAGS = \ diff --git a/src/libhydra/plugins/resolve/resolve_handler.c b/src/libcharon/plugins/resolve/resolve_handler.c index 069466ab5..1242ca6ff 100644 --- a/src/libhydra/plugins/resolve/resolve_handler.c +++ b/src/libcharon/plugins/resolve/resolve_handler.c @@ -374,4 +374,3 @@ resolve_handler_t *resolve_handler_create() return &this->public; } - diff --git a/src/libhydra/plugins/resolve/resolve_handler.h b/src/libcharon/plugins/resolve/resolve_handler.h index 77bf9781c..77bf9781c 100644 --- a/src/libhydra/plugins/resolve/resolve_handler.h +++ b/src/libcharon/plugins/resolve/resolve_handler.h diff --git a/src/libhydra/plugins/resolve/resolve_plugin.c b/src/libcharon/plugins/resolve/resolve_plugin.c index 2fef09a49..00c025f13 100644 --- a/src/libhydra/plugins/resolve/resolve_plugin.c +++ b/src/libcharon/plugins/resolve/resolve_plugin.c @@ -99,4 +99,3 @@ plugin_t *resolve_plugin_create() return &this->public.plugin; } - diff --git a/src/libhydra/plugins/resolve/resolve_plugin.h b/src/libcharon/plugins/resolve/resolve_plugin.h index 0148b10d7..0148b10d7 100644 --- a/src/libhydra/plugins/resolve/resolve_plugin.h +++ b/src/libcharon/plugins/resolve/resolve_plugin.h diff --git a/src/libhydra/Makefile.am b/src/libhydra/Makefile.am index 7334cdc2e..71c42c3de 100644 --- a/src/libhydra/Makefile.am +++ b/src/libhydra/Makefile.am @@ -72,13 +72,6 @@ if MONOLITHIC endif endif -if USE_RESOLVE - SUBDIRS += plugins/resolve -if MONOLITHIC - libhydra_la_LIBADD += plugins/resolve/libstrongswan-resolve.la -endif -endif - if MONOLITHIC SUBDIRS += . endif |