]> git.ipfire.org Git - people/ms/strongswan.git/blob - src/libstrongswan/plugins/chapoly/Makefile.am
chapoly: Add an SSSE3 based driver
[people/ms/strongswan.git] / src / libstrongswan / plugins / chapoly / Makefile.am
1 AM_CPPFLAGS = \
2 -I$(top_srcdir)/src/libstrongswan
3
4 AM_CFLAGS = \
5 $(PLUGIN_CFLAGS)
6
7 noinst_LTLIBRARIES =
8 if MONOLITHIC
9 noinst_LTLIBRARIES += libstrongswan-chapoly.la
10 else
11 plugin_LTLIBRARIES = libstrongswan-chapoly.la
12 endif
13
14 libstrongswan_chapoly_la_SOURCES = \
15 chapoly_plugin.h chapoly_plugin.c \
16 chapoly_drv.h chapoly_drv.c \
17 chapoly_drv_portable.h chapoly_drv_portable.c \
18 chapoly_aead.h chapoly_aead.c
19
20 noinst_LTLIBRARIES += libchapoly-drv-ssse3.la
21 libchapoly_drv_ssse3_la_SOURCES = chapoly_drv_ssse3.h chapoly_drv_ssse3.c
22 if USE_X86X64
23 libchapoly_drv_ssse3_la_CFLAGS = $(PLUGIN_CFLAGS) -mssse3
24 endif
25
26 libstrongswan_chapoly_la_LIBADD = \
27 libchapoly-drv-ssse3.la
28
29 libstrongswan_chapoly_la_LDFLAGS = -module -avoid-version