Move processor_t (thread-pool) to libhydra.
[strongswan.git] / src / libhydra / Makefile.am
index 35a807e..78e12e0 100644 (file)
@@ -1,7 +1,13 @@
 lib_LTLIBRARIES = libhydra.la
 
 libhydra_la_SOURCES = \
-hydra.c hydra.h
+hydra.c hydra.h \
+attributes/attributes.c attributes/attributes.h \
+attributes/attribute_provider.h attributes/attribute_handler.h \
+attributes/attribute_manager.c attributes/attribute_manager.h \
+attributes/mem_pool.c attributes/mem_pool.h \
+processing/jobs/job.h \
+processing/processor.c processing/processor.h
 
 libhydra_la_LIBADD =
 
@@ -11,7 +17,7 @@ AM_CFLAGS = \
 -DPLUGINDIR=\"${plugindir}\" \
 -DSTRONGSWAN_CONF=\"${strongswan_conf}\"
 
-#EXTRA_DIST = Android.mk
+EXTRA_DIST = Android.mk
 
 # build optional plugins
 ########################
@@ -22,6 +28,13 @@ 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
@@ -29,3 +42,10 @@ if MONOLITHIC
 endif
 endif
 
+if USE_RESOLVE
+  SUBDIRS += plugins/resolve
+if MONOLITHIC
+  libhydra_la_LIBADD += plugins/resolve/libstrongswan-resolve.la
+endif
+endif
+