forked from nhorman/rng-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
51 lines (36 loc) · 1.12 KB
/
Makefile.am
File metadata and controls
51 lines (36 loc) · 1.12 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
##
## Toplevel Makefile.am for rng-tools
##
SUBDIRS = contrib tests
sbin_PROGRAMS = rngd
bin_PROGRAMS = rngtest
man_MANS = rngd.8 rngtest.1
noinst_LIBRARIES = librngd.a
rngd_SOURCES = rngd.h rngd.c rngd_entsource.h rngd_entsource.c \
rngd_linux.h rngd_linux.c util.c
if NISTBEACON
rngd_SOURCES += rngd_nistbeacon.c
endif
if RDRAND
rngd_SOURCES += rngd_rdrand.c rdrand_asm.S
endif
if DARN
rngd_SOURCES += rngd_darn.c
endif
if JITTER
rngd_SOURCES += rngd_jitter.c
endif
if RTLSDR
rngd_SOURCES += rngd_rtlsdr.c
endif
rngd_LDADD = librngd.a -lsysfs $(LIBS) $(librtlsdr_LIBS) ${libp11_LIBS} ${libcrypto_LIBS} ${jansson_LIBS} ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} $(PTHREAD_LIBS)
if PKCS11
rngd_SOURCES += rngd_pkcs11.c
pkcs11_ENGINE = -DDEFAULT_PKCS11_ENGINE=\"$(PKCS11_ENGINE)\"
endif
rngd_CFLAGS = ${pkcs11_CFLAGS} $(librtlsdr_CFLAGS) ${pkcs11_ENGINE} ${libp11_CFLAGS} ${libcrypto_CFLAGS} ${libxml2_CFLAGS} ${openssl_CFLAGS} $(PTHREAD_CFLAGS)
rngd_LDFLAGS = $(PTHREAD_CFLAGS)
rngtest_SOURCES = exits.h stats.h stats.c rngtest.c
rngtest_LDADD = librngd.a
librngd_a_SOURCES = fips.h fips.c
EXTRA_DIST = autogen.sh