1 # Copyright (C) 2009, 2012, 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 # Id: Makefile.in,v 1.2 2009/10/05 12:07:08 fdupont Exp
19 top_srcdir
= @top_srcdir@
23 CINCLUDES
= ${ISC_INCLUDES}
27 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@ @ISC_OPENSSL_LIBS@
29 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
31 DEPLIBS
= ${ISCDEPLIBS}
33 # if FORCE_STATIC_PROVIDER: LIBS += ${PROVIDER}
34 LIBS
= ${ISCLIBS} @LIBS@
38 TARGETS
= pkcs11-list@EXEEXT@ pkcs11-destroy@EXEEXT@ \
39 pkcs11-keygen@EXEEXT@ pkcs11-tokens@EXEEXT@
40 SRCS
= pkcs11-list.c pkcs11-destroy.c \
41 pkcs11-keygen.c pkcs11-tokens.c
42 OBJS
= pkcs11-list.@O@ pkcs11-destroy.@O@ \
43 pkcs11-keygen.@O@ pkcs11-tokens.@O@
46 MANPAGES
= pkcs11-list
.8 pkcs11-destroy
.8 \
47 pkcs11-keygen
.8 pkcs11-tokens
.8
48 HTMLPAGES
= pkcs11-list.html pkcs11-destroy.html \
49 pkcs11-keygen.html pkcs11-tokens.html
50 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
54 pkcs11-list@EXEEXT@
: @
srcdir@
/pkcs11-list.@O@
${DEPLIBS}
55 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
56 -o
$@ @
srcdir@
/pkcs11-list.@O@
${LIBS}
58 pkcs11-destroy@EXEEXT@
: @
srcdir@
/pkcs11-destroy.@O@
${DEPLIBS}
59 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
60 -o
$@ @
srcdir@
/pkcs11-destroy.@O@
${LIBS}
62 pkcs11-keygen@EXEEXT@
: @
srcdir@
/pkcs11-keygen.@O@
${DEPLIBS}
63 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
64 -o
$@ @
srcdir@
/pkcs11-keygen.@O@
${LIBS}
66 pkcs11-tokens@EXEEXT@
: @
srcdir@
/pkcs11-tokens.@O@
${DEPLIBS}
67 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} \
68 -o
$@ @
srcdir@
/pkcs11-tokens.@O@
${LIBS}
72 docclean manclean maintainer-clean
::
76 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${sbindir}
77 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man8
79 install:: ${TARGETS} installdirs
80 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} pkcs11-list@EXEEXT@ \
82 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} pkcs11-destroy@EXEEXT@ \
84 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} pkcs11-keygen@EXEEXT@ \
86 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} pkcs11-tokens@EXEEXT@ \
88 ${INSTALL_DATA} ${srcdir}/pkcs11-list
.8 ${DESTDIR}${mandir}/man8
89 ${INSTALL_DATA} ${srcdir}/pkcs11-destroy
.8 ${DESTDIR}${mandir}/man8
90 ${INSTALL_DATA} ${srcdir}/pkcs11-keygen
.8 ${DESTDIR}${mandir}/man8
91 ${INSTALL_DATA} ${srcdir}/pkcs11-tokens
.8 ${DESTDIR}${mandir}/man8
94 rm -f
${OBJS} ${TARGETS}