summaryrefslogtreecommitdiff
path: root/src/libstrongswan/plugins/chapoly/Makefile.am
blob: 1753de0c762114d37c52938e111360f331c7fda4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan

AM_CFLAGS = \
	$(PLUGIN_CFLAGS)

noinst_LTLIBRARIES =
if MONOLITHIC
noinst_LTLIBRARIES += libstrongswan-chapoly.la
else
plugin_LTLIBRARIES = libstrongswan-chapoly.la
endif

libstrongswan_chapoly_la_SOURCES = \
	chapoly_plugin.h chapoly_plugin.c \
	chapoly_drv.h chapoly_drv.c \
	chapoly_drv_portable.h chapoly_drv_portable.c \
	chapoly_aead.h chapoly_aead.c

noinst_LTLIBRARIES += libchapoly-drv-ssse3.la
libchapoly_drv_ssse3_la_SOURCES = chapoly_drv_ssse3.h chapoly_drv_ssse3.c
if USE_X86X64
  libchapoly_drv_ssse3_la_CFLAGS = $(PLUGIN_CFLAGS) -mssse3
endif

libstrongswan_chapoly_la_LIBADD = \
	libchapoly-drv-ssse3.la

libstrongswan_chapoly_la_LDFLAGS = -module -avoid-version