vici: Add low-level IPC protocol description
[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         -rdynamic
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_query.h vici_query.c \
22         vici_control.h vici_control.c \
23         vici_config.h vici_config.c \
24         vici_cred.h vici_cred.c \
25         vici_attribute.h vici_attribute.c \
26         vici_logger.h vici_logger.c \
27         vici_plugin.h vici_plugin.c
28
29 libstrongswan_vici_la_LDFLAGS = -module -avoid-version
30
31
32 EXTRA_DIST = README.md
33
34
35 lib_LTLIBRARIES = libvici.la
36
37 libvici_la_SOURCES = \
38         vici_message.c vici_message.h \
39         vici_builder.c vici_builder.h \
40         libvici.c libvici.h
41
42 libvici_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
43
44
45 TESTS = vici_tests
46
47 check_PROGRAMS = $(TESTS)
48
49 vici_tests_SOURCES = \
50         suites/test_socket.c \
51         suites/test_message.c \
52         suites/test_request.c \
53         suites/test_event.c \
54         vici_socket.c \
55         vici_message.c \
56         vici_builder.c \
57         vici_dispatcher.c \
58         libvici.c \
59         vici_tests.h vici_tests.c
60
61 vici_tests_CFLAGS = \
62         -I$(top_srcdir)/src/libstrongswan \
63         -I$(top_srcdir)/src/libstrongswan/tests \
64         @COVERAGE_CFLAGS@
65
66 vici_tests_LDFLAGS = @COVERAGE_LDFLAGS@
67 vici_tests_LDADD = \
68         $(top_builddir)/src/libstrongswan/libstrongswan.la \
69         $(top_builddir)/src/libstrongswan/tests/libtest.la