etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / tests / pkcs11 / Makefile.in
blob4e06b74c0df33178c07e5aec980dba84a5a8cf0f
1 # Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
3 # Permission to use, copy, modify, and/or distribute this software for any
4 # purpose with or without fee is hereby granted, provided that the above
5 # copyright notice and this permission notice appear in all copies.
7 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 # PERFORMANCE OF THIS SOFTWARE.
15 srcdir = @srcdir@
16 VPATH = @srcdir@
17 top_srcdir = @top_srcdir@
19 @BIND9_MAKE_INCLUDES@
21 PROVIDER = @PKCS11_PROVIDER@
23 CINCLUDES = ${ISC_INCLUDES}
25 CDEFINES = -DPK11_LIB_LOCATION=\"${PROVIDER}\"
27 ISCLIBS = ../../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
29 LIBS = ${ISCLIBS} @LIBS@
31 SUBDIRS = benchmarks
33 TARGETS = pkcs11-md5sum@EXEEXT@ pkcs11-hmacmd5@EXEEXT@
34 SRCS = pkcs11-md5sum.c pkcs11-hmacmd5.c
36 @BIND9_MAKE_RULES@
38 pkcs11-md5sum@EXEEXT@: @srcdir@/pkcs11-md5sum.c
39 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
40 -o $@ @srcdir@/pkcs11-md5sum.c ${LIBS}
42 pkcs11-hmacmd5@EXEEXT@: @srcdir@/pkcs11-hmacmd5.c
43 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
44 -o $@ @srcdir@/pkcs11-hmacmd5.c ${LIBS}
46 test:
48 clean distclean::
49 rm -f ${TARGETS}