Refactored certificate management for the vici and stroke interfaces
[strongswan.git] / src / libcharon / plugins / vici / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan \
3         -I$(top_srcdir)/src/libhydra \
4         -I$(top_srcdir)/src/libcharon \
5         -DIPSEC_PIDDIR=\"${piddir}\"
6
7 AM_CFLAGS = \
8         $(PLUGIN_CFLAGS)
9
10 if MONOLITHIC
11 noinst_LTLIBRARIES = libstrongswan-vici.la
12 else
13 plugin_LTLIBRARIES = libstrongswan-vici.la
14 endif
15
16 libstrongswan_vici_la_SOURCES = \
17         vici_socket.h vici_socket.c \
18         vici_message.h vici_message.c \
19         vici_builder.h vici_builder.c \
20         vici_dispatcher.h vici_dispatcher.c \
21         vici_cert_info.h vici_cert_info.c \
22         vici_query.h vici_query.c \
23         vici_control.h vici_control.c \
24         vici_config.h vici_config.c \
25         vici_cred.h vici_cred.c \
26         vici_attribute.h vici_attribute.c \
27         vici_authority.h vici_authority.c \
28         vici_logger.h vici_logger.c \
29         vici_plugin.h vici_plugin.c
30
31 libstrongswan_vici_la_LDFLAGS = -module -avoid-version
32
33
34 EXTRA_DIST = README.md
35
36
37 ipseclib_LTLIBRARIES = libvici.la
38
39 libvici_la_SOURCES = \
40         vici_message.c vici_message.h \
41         vici_builder.c vici_builder.h \
42         vici_cert_info.h vici_cert_info.c \
43         libvici.c libvici.h
44
45 libvici_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
46
47
48 TESTS = vici_tests
49
50 check_PROGRAMS = $(TESTS)
51
52 vici_tests_SOURCES = \
53         suites/test_socket.c \
54         suites/test_message.c \
55         suites/test_request.c \
56         suites/test_event.c \
57         vici_socket.c \
58         vici_message.c \
59         vici_builder.c \
60         vici_dispatcher.c \
61         libvici.c \
62         vici_tests.h vici_tests.c
63
64 vici_tests_CFLAGS = \
65         -I$(top_srcdir)/src/libstrongswan \
66         -I$(top_srcdir)/src/libstrongswan/tests \
67         @COVERAGE_CFLAGS@
68
69 vici_tests_LDFLAGS = @COVERAGE_LDFLAGS@
70 vici_tests_LDADD = \
71         $(top_builddir)/src/libstrongswan/libstrongswan.la \
72         $(top_builddir)/src/libstrongswan/tests/libtest.la
73
74
75 SUBDIRS =
76
77 if USE_RUBY_GEMS
78 SUBDIRS += ruby
79 endif
80
81 if USE_PYTHON_EGGS
82 SUBDIRS += python
83 endif
84
85 if USE_PERL_CPAN
86 SUBDIRS += perl
87 endif