summaryrefslogtreecommitdiff
path: root/tests/unit_tests/engine-key/Makefile.am
blob: 246222514ae831e5a033003eac833c1bf7a38ec7 (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
AUTOMAKE_OPTIONS = foreign

check_LTLIBRARIES = libtestengine.la
conffiles = openssl.cnf
EXTRA_DIST = \
	openssl.cnf.in \
	check_engine_keys.sh

TESTS_ENVIRONMENT = srcdir="$(abs_srcdir)"; \
	builddir="$(abs_builddir)"; \
	top_builddir="$(top_builddir)"; \
	top_srcdir="$(top_srcdir)"; \
	export srcdir builddir top_builddir top_srcdir;

TESTS = check_engine_keys.sh
check_engine_keys.sh: $(conffiles)

CLEANFILES = \
	client.key \
	passwd \
	log.txt \
	$(conffiles)

openssl.cnf: $(srcdir)/openssl.cnf.in
	sed "s|ABSBUILDDIR|$(abs_builddir)|" < $(srcdir)/openssl.cnf.in > $@

libtestengine_la_SOURCES = libtestengine.c
libtestengine_la_LDFLAGS = @TEST_LDFLAGS@ -rpath /lib -shrext .so
libtestengine_la_CFLAGS = @TEST_CFLAGS@ -I$(openvpn_srcdir) -I$(compat_srcdir)