10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
18175N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
17185N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
17180N/A# See the License for the specific language governing permissions
17180N/A# and limitations under the License.
17180N/A#
12285N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
18399N/A# information: Portions Copyright [yyyy] [name of copyright owner]
13494N/A#
10139N/A# CDDL HEADER END
10139N/A
10139N/A#
18325N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
10139N/A#
12285N/A
12773N/Ainclude ../../../make-rules/shared-macros.mk
12773N/A
12773N/ACFLAGS = -m64 -I../coolkey-1.1.0/src/coolkey
13368N/ALDFLAGS = -L/usr/lib/64 -R/usr/lib/64
18266N/ALIBS = -lcoolkeypk11 -lckyapplet -lpcsclite -lz -lpthread
10139N/A
10737N/Aall:
11419N/A $(MAKE) build-test
17733N/A
10139N/Abuild-test: test.c
13494N/A $(CC) $(CFLAGS) $(LDFLAGS) -o testcoolkey test.c $(LIBS)
11419N/A
11895N/Aclean:
13494N/A rm -f testcoolkey
10737N/A
13494N/A.PHONY: all clean
11420N/A
11044N/A