Add a rdrand plugin stub detecting availability of RDRAND instructions

This commit is contained in:
Martin Willi
2013-01-11 10:45:14 +01:00
parent 0e0870aef7
commit ed8dc6f132
5 changed files with 187 additions and 0 deletions
@@ -0,0 +1,15 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic
if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-rdrand.la
else
plugin_LTLIBRARIES = libstrongswan-rdrand.la
endif
libstrongswan_rdrand_la_SOURCES = \
rdrand_plugin.h rdrand_plugin.c
libstrongswan_rdrand_la_LDFLAGS = -module -avoid-version