1# Copyright (C) Internet Systems Consortium, Inc. ("ISC") 2# 3# SPDX-License-Identifier: MPL-2.0 4# 5# This Source Code Form is subject to the terms of the Mozilla Public 6# License, v. 2.0. If a copy of the MPL was not distributed with this 7# file, you can obtain one at https://mozilla.org/MPL/2.0/. 8# 9# See the COPYRIGHT file distributed with this work for additional 10# information regarding copyright ownership. 11 12srcdir = @srcdir@ 13VPATH = @srcdir@ 14top_srcdir = @top_srcdir@ 15 16@BIND9_MAKE_INCLUDES@ 17 18CINCLUDES = ${ISC_INCLUDES} 19CDEFINES = 20 21ISCLIBS = ../../../../lib/isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@ 22 23LIBS = ${ISCLIBS} @LIBS@ 24 25SUBDIRS = 26 27TARGETS = session@EXEEXT@ login@EXEEXT@ \ 28 create@EXEEXT@ find@EXEEXT@ \ 29 pubrsa@EXEEXT@ privrsa@EXEEXT@ genrsa@EXEEXT@ \ 30 sign@EXEEXT@ verify@EXEEXT@ 31 32SRCS = session.c login.c create.c find.c \ 33 pubrsa.c privrsa.c genrsa.c sign.c verify.c 34 35@BIND9_MAKE_RULES@ 36 37session@EXEEXT@: @srcdir@/session.c 38 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 39 -o $@ @srcdir@/session.c ${LIBS} 40 41login@EXEEXT@: @srcdir@/login.c 42 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 43 -o $@ @srcdir@/login.c ${LIBS} 44 45create@EXEEXT@: @srcdir@/create.c 46 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 47 -o $@ @srcdir@/create.c ${LIBS} 48 49find@EXEEXT@: @srcdir@/find.c 50 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 51 -o $@ @srcdir@/find.c ${LIBS} 52 53pubrsa@EXEEXT@: @srcdir@/pubrsa.c 54 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 55 -o $@ @srcdir@/pubrsa.c ${LIBS} 56 57privrsa@EXEEXT@: @srcdir@/privrsa.c 58 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 59 -o $@ @srcdir@/privrsa.c ${LIBS} 60 61genrsa@EXEEXT@: @srcdir@/genrsa.c 62 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 63 -o $@ @srcdir@/genrsa.c ${LIBS} 64 65sign@EXEEXT@: @srcdir@/sign.c 66 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 67 -o $@ @srcdir@/sign.c ${LIBS} 68 69verify@EXEEXT@: @srcdir@/verify.c 70 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \ 71 -o $@ @srcdir@/verify.c ${LIBS} 72 73clean distclean:: 74 rm -f ${TARGETS} 75