summaryrefslogtreecommitdiffstats
path: root/bin/tests/pkcs11/Makefile.in
blob: 73e059670509c0c6693a4f652615e7993cc27d69 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.

srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

@BIND9_MAKE_INCLUDES@

PROVIDER =	@PKCS11_PROVIDER@

CINCLUDES =	${ISC_INCLUDES}

CDEFINES =	-DPK11_LIB_LOCATION=\"${PROVIDER}\"

ISCLIBS =	../../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@

LIBS =		${ISCLIBS} @LIBS@

SUBDIRS =	benchmarks

TARGETS =	pkcs11-md5sum@EXEEXT@ pkcs11-hmacmd5@EXEEXT@
SRCS =		pkcs11-md5sum.c pkcs11-hmacmd5.c

@BIND9_MAKE_RULES@

pkcs11-md5sum@EXEEXT@: @srcdir@/pkcs11-md5sum.c
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
		-o $@ @srcdir@/pkcs11-md5sum.c ${LIBS}

pkcs11-hmacmd5@EXEEXT@: @srcdir@/pkcs11-hmacmd5.c
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
		-o $@ @srcdir@/pkcs11-hmacmd5.c ${LIBS}

test:

clean distclean::
	rm -f ${TARGETS}