attr: Move plugin to libcharon
This commit is contained in:
@@ -637,3 +637,10 @@ if MONOLITHIC
|
||||
libcharon_la_LIBADD += plugins/resolve/libstrongswan-resolve.la
|
||||
endif
|
||||
endif
|
||||
|
||||
if USE_ATTR
|
||||
SUBDIRS += plugins/attr
|
||||
if MONOLITHIC
|
||||
libcharon_la_LIBADD += plugins/attr/libstrongswan-attr.la
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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)
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
/**
|
||||
* @defgroup attr attr
|
||||
* @ingroup hplugins
|
||||
* @ingroup cplugins
|
||||
*
|
||||
* @defgroup attr_plugin attr_plugin
|
||||
* @{ @ingroup attr
|
||||
@@ -17,8 +17,6 @@ LOCAL_SRC_FILES := $(filter %.c,$(libhydra_la_SOURCES))
|
||||
|
||||
# adding the plugin source files
|
||||
|
||||
LOCAL_SRC_FILES += $(call add_plugin, attr)
|
||||
|
||||
LOCAL_SRC_FILES += $(call add_plugin, kernel-pfkey)
|
||||
|
||||
LOCAL_SRC_FILES += $(call add_plugin, kernel-netlink)
|
||||
@@ -42,4 +40,3 @@ LOCAL_PRELINK_MODULE := false
|
||||
LOCAL_SHARED_LIBRARIES += libstrongswan
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
||||
@@ -37,13 +37,6 @@ else
|
||||
SUBDIRS = .
|
||||
endif
|
||||
|
||||
if USE_ATTR
|
||||
SUBDIRS += plugins/attr
|
||||
if MONOLITHIC
|
||||
libhydra_la_LIBADD += plugins/attr/libstrongswan-attr.la
|
||||
endif
|
||||
endif
|
||||
|
||||
if USE_ATTR_SQL
|
||||
SUBDIRS += plugins/attr_sql
|
||||
if MONOLITHIC
|
||||
|
||||
Reference in New Issue
Block a user