summaryrefslogtreecommitdiff
path: root/src/libstrongswan/plugins/random/Makefile.am
blob: 7c03c66ef692a98943ebbc34c9ffd7e9a9a307b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan \
	-DDEV_RANDOM=\"${random_device}\" \
	-DDEV_URANDOM=\"${urandom_device}\"

AM_CFLAGS = \
	-rdynamic

if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-random.la
else
plugin_LTLIBRARIES = libstrongswan-random.la
endif

libstrongswan_random_la_SOURCES = \
	random_plugin.h random_plugin.c \
	random_rng.c random_rng.h

libstrongswan_random_la_LDFLAGS = -module -avoid-version