summaryrefslogtreecommitdiff
path: root/src/libstrongswan/plugins/random/Makefile.am
blob: 5df99271816fb2310b1691d6f4acb301052e4aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

INCLUDES = -I$(top_srcdir)/src/libstrongswan

AM_CFLAGS = -rdynamic \
-DDEV_RANDOM=\"${random_device}\" \
-DDEV_URANDOM=\"${urandom_device}\"

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