2013-07-17 12:45:39 +00:00
|
|
|
AM_CPPFLAGS = \
|
2013-02-12 11:25:39 +00:00
|
|
|
-I$(top_srcdir)/src/libstrongswan \
|
|
|
|
-I$(top_srcdir)/src/libtncif \
|
|
|
|
-I$(top_srcdir)/src/libtls
|
2011-10-20 19:12:29 +00:00
|
|
|
|
2013-09-04 12:25:22 +00:00
|
|
|
AM_LDFLAGS = \
|
|
|
|
-no-undefined
|
|
|
|
|
2011-10-20 19:12:29 +00:00
|
|
|
ipseclib_LTLIBRARIES = libtnccs.la
|
|
|
|
|
2013-09-04 12:25:22 +00:00
|
|
|
libtnccs_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
|
|
|
$(top_builddir)/src/libtncif/libtncif.la
|
2011-10-20 19:12:29 +00:00
|
|
|
|
2014-01-08 10:06:50 +00:00
|
|
|
if USE_WINDOWS
|
|
|
|
libtnccs_la_LIBADD += -lws2_32
|
|
|
|
endif
|
|
|
|
|
2011-10-20 19:12:29 +00:00
|
|
|
libtnccs_la_SOURCES = \
|
2011-10-25 09:56:26 +00:00
|
|
|
tnc/tnc.h tnc/tnc.c \
|
|
|
|
tnc/imc/imc.h tnc/imc/imc_manager.h \
|
|
|
|
tnc/imv/imv.h tnc/imv/imv_manager.h \
|
|
|
|
tnc/imv/imv_recommendations.h tnc/imv/imv_recommendations.c \
|
|
|
|
tnc/tnccs/tnccs.h tnc/tnccs/tnccs.c \
|
|
|
|
tnc/tnccs/tnccs_manager.h tnc/tnccs/tnccs_manager.c
|
2011-10-24 23:10:02 +00:00
|
|
|
|
2011-11-22 17:31:12 +00:00
|
|
|
EXTRA_DIST = Android.mk
|
2013-08-08 09:02:17 +00:00
|
|
|
|
2017-04-28 15:49:50 +00:00
|
|
|
if STATIC_PLUGIN_CONSTRUCTORS
|
|
|
|
BUILT_SOURCES = $(srcdir)/plugin_constructors.c
|
|
|
|
CLEANFILES = $(srcdir)/plugin_constructors.c
|
|
|
|
|
|
|
|
$(srcdir)/plugin_constructors.c: $(top_srcdir)/src/libstrongswan/plugins/plugin_constructors.py
|
|
|
|
$(AM_V_GEN) \
|
|
|
|
$(PYTHON) $(top_srcdir)/src/libstrongswan/plugins/plugin_constructors.py ${t_plugins} > $@
|
|
|
|
endif
|
|
|
|
|
2013-08-08 09:02:17 +00:00
|
|
|
# build optional plugins
|
|
|
|
########################
|
|
|
|
|
|
|
|
if MONOLITHIC
|
|
|
|
SUBDIRS =
|
|
|
|
else
|
|
|
|
SUBDIRS = .
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_TNC_TNCCS
|
|
|
|
SUBDIRS += plugins/tnc_tnccs
|
|
|
|
if MONOLITHIC
|
|
|
|
libtnccs_la_LIBADD += plugins/tnc_tnccs/libstrongswan-tnc-tnccs.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_TNC_IMC
|
|
|
|
SUBDIRS += plugins/tnc_imc
|
|
|
|
if MONOLITHIC
|
|
|
|
libtnccs_la_LIBADD += plugins/tnc_imc/libstrongswan-tnc-imc.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-08-08 17:43:43 +00:00
|
|
|
if USE_TNC_IMV
|
|
|
|
SUBDIRS += plugins/tnc_imv
|
|
|
|
if MONOLITHIC
|
|
|
|
libtnccs_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-08-08 09:02:17 +00:00
|
|
|
if USE_TNCCS_11
|
|
|
|
SUBDIRS += plugins/tnccs_11
|
|
|
|
if MONOLITHIC
|
|
|
|
libtnccs_la_LIBADD += plugins/tnccs_11/libstrongswan-tnccs-11.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_TNCCS_20
|
|
|
|
SUBDIRS += plugins/tnccs_20
|
|
|
|
if MONOLITHIC
|
|
|
|
libtnccs_la_LIBADD += plugins/tnccs_20/libstrongswan-tnccs-20.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_TNCCS_DYNAMIC
|
|
|
|
SUBDIRS += plugins/tnccs_dynamic
|
|
|
|
if MONOLITHIC
|
|
|
|
libtnccs_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
|
|
|
|
endif
|
|
|
|
endif
|