moved tnc_imv plugin to libtnccs thanks to recommendation callback function
[strongswan.git] / src / libtnccs / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan \
3         -I$(top_srcdir)/src/libtncif \
4         -I$(top_srcdir)/src/libtls
5
6 ipseclib_LTLIBRARIES = libtnccs.la
7
8 libtnccs_la_LIBADD = $(top_builddir)/src/libtncif/libtncif.la
9
10 libtnccs_la_SOURCES = \
11 tnc/tnc.h tnc/tnc.c \
12 tnc/imc/imc.h tnc/imc/imc_manager.h \
13 tnc/imv/imv.h tnc/imv/imv_manager.h \
14 tnc/imv/imv_recommendations.h tnc/imv/imv_recommendations.c \
15 tnc/tnccs/tnccs.h tnc/tnccs/tnccs.c \
16 tnc/tnccs/tnccs_manager.h tnc/tnccs/tnccs_manager.c
17
18 EXTRA_DIST = Android.mk
19
20 # build optional plugins
21 ########################
22
23 if MONOLITHIC
24 SUBDIRS =
25 else
26 SUBDIRS = .
27 endif
28
29 if USE_TNC_TNCCS
30   SUBDIRS += plugins/tnc_tnccs
31 if MONOLITHIC
32   libtnccs_la_LIBADD += plugins/tnc_tnccs/libstrongswan-tnc-tnccs.la
33 endif
34 endif
35
36 if USE_TNC_IMC
37   SUBDIRS += plugins/tnc_imc
38 if MONOLITHIC
39   libtnccs_la_LIBADD += plugins/tnc_imc/libstrongswan-tnc-imc.la
40 endif
41 endif
42
43 if USE_TNC_IMV
44   SUBDIRS += plugins/tnc_imv
45 if MONOLITHIC
46   libtnccs_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la
47 endif
48 endif
49
50 if USE_TNCCS_11
51   SUBDIRS += plugins/tnccs_11
52 if MONOLITHIC
53   libtnccs_la_LIBADD += plugins/tnccs_11/libstrongswan-tnccs-11.la
54 endif
55 endif
56
57 if USE_TNCCS_20
58   SUBDIRS += plugins/tnccs_20
59 if MONOLITHIC
60   libtnccs_la_LIBADD += plugins/tnccs_20/libstrongswan-tnccs-20.la
61 endif
62 endif
63
64 if USE_TNCCS_DYNAMIC
65   SUBDIRS += plugins/tnccs_dynamic
66 if MONOLITHIC
67   libtnccs_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
68 endif
69 endif
70
71