0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright (C) 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntsrcdir = @srcdir@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntVPATH = @srcdir@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunttop_srcdir = @top_srcdir@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt@BIND9_MAKE_INCLUDES@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntPROVIDER = @PKCS11_PROVIDER@
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntCINCLUDES = ${ISC_INCLUDES}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntCDEFINES = -DPK11_LIB_LOCATION=\"${PROVIDER}\"
2729aea3c1a720269aaae92ce3a84af1ba0a75ebMark AndrewsISCLIBS = ../../../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntLIBS = ${ISCLIBS} @LIBS@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntTARGETS = session@EXEEXT@ login@EXEEXT@ random@EXEEXT@ \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt sha1@EXEEXT@ create@EXEEXT@ find@EXEEXT@ \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt pubrsa@EXEEXT@ privrsa@EXEEXT@ genrsa@EXEEXT@ \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt sign@EXEEXT@ verify@EXEEXT@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntSRCS = session.c login.c random.c sha1.c create.c find.c \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt@BIND9_MAKE_RULES@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntsession@EXEEXT@: @srcdir@/session.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/session.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntlogin@EXEEXT@: @srcdir@/login.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/login.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntrandom@EXEEXT@: @srcdir@/random.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/random.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntsha1@EXEEXT@: @srcdir@/sha1.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/sha1.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntcreate@EXEEXT@: @srcdir@/create.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/create.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntfind@EXEEXT@: @srcdir@/find.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/find.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntpubrsa@EXEEXT@: @srcdir@/pubrsa.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/pubrsa.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntprivrsa@EXEEXT@: @srcdir@/privrsa.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/privrsa.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntgenrsa@EXEEXT@: @srcdir@/genrsa.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/genrsa.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntsign@EXEEXT@: @srcdir@/sign.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/sign.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntverify@EXEEXT@: @srcdir@/verify.c
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont -o $@ @srcdir@/verify.c ${LIBS}
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntclean distclean::
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt rm -f ${TARGETS}