Makefile.com revision 9526:f2574a949d8e
1109998Smarkm#
2160814Ssimon# CDDL HEADER START
3160814Ssimon#
4160814Ssimon# The contents of this file are subject to the terms of the
5109998Smarkm# Common Development and Distribution License (the "License").
6238405Sjkim# You may not use this file except in compliance with the License.
7109998Smarkm#
8109998Smarkm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9109998Smarkm# or http://www.opensolaris.org/os/licensing.
10109998Smarkm# See the License for the specific language governing permissions
11109998Smarkm# and limitations under the License.
12109998Smarkm#
13296341Sdelphij# When distributing Covered Code, include this CDDL HEADER in each
14109998Smarkm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15109998Smarkm# If applicable, add the following below this CDDL HEADER, with the
16109998Smarkm# fields enclosed by brackets "[]" replaced with your own identifying
17109998Smarkm# information: Portions Copyright [yyyy] [name of copyright owner]
18109998Smarkm#
19109998Smarkm# CDDL HEADER END
20109998Smarkm#
21109998Smarkm#
22109998Smarkm# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23109998Smarkm# Use is subject to license terms.
24109998Smarkm#
25109998Smarkm
26109998SmarkmLIBRARY= libpkcs11.a
27109998SmarkmVERS= .1
28109998Smarkm
29109998Smarkm
30109998SmarkmOBJECTS= \
31109998Smarkm	metaAttrManager.o \
32109998Smarkm	metaCrypt.o \
33109998Smarkm	metaDigest.o \
34109998Smarkm	metaDualCrypt.o \
35109998Smarkm	metaGeneral.o \
36109998Smarkm	metaKeys.o \
37109998Smarkm	metaMechManager.o \
38109998Smarkm	metaObject.o \
39109998Smarkm	metaObjectManager.o \
40109998Smarkm	metaRand.o \
41109998Smarkm	metaSession.o \
42109998Smarkm	metaSessionManager.o \
43109998Smarkm	metaSign.o \
44109998Smarkm	metaSlotManager.o \
45109998Smarkm	metaSlotToken.o \
46109998Smarkm	metaUtil.o \
47109998Smarkm	metaVerify.o \
48109998Smarkm	pkcs11General.o 	\
49109998Smarkm	pkcs11SlotToken.o 	\
50109998Smarkm	pkcs11Session.o 	\
51109998Smarkm	pkcs11Object.o 		\
52109998Smarkm	pkcs11Crypt.o 		\
53109998Smarkm	pkcs11Digest.o	 	\
54109998Smarkm	pkcs11Sign.o 		\
55109998Smarkm	pkcs11Verify.o 		\
56109998Smarkm	pkcs11DualCrypt.o 	\
57109998Smarkm	pkcs11Keys.o 		\
58160814Ssimon	pkcs11Rand.o		\
59160814Ssimon	pkcs11Slottable.o	\
60160814Ssimon	pkcs11Conf.o		\
61296341Sdelphij	pkcs11Sessionlist.o	\
62160814Ssimon	pkcs11SUNWExtensions.o
63160814Ssimon
64160814Ssimoninclude ../../../Makefile.lib
65160814Ssimon
66160814SsimonSRCDIR=		../common
67296341SdelphijINCDIR=		../../include
68160814Ssimon
69160814SsimonLIBS =		$(DYNLIB) $(LINTLIB)
70160814Ssimon$(LINTLIB) :=	SRCS = $(SRCDIR)/$(LINTSRC)
71109998SmarkmLDLIBS +=	-lcryptoutil -lc -lscf
72109998Smarkm
73109998SmarkmCFLAGS	+=	$(CCVERBOSE)
74160814SsimonCPPFLAGS +=	-I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
75109998Smarkm
76160814SsimonLINTFLAGS64 += -errchk=longptr64
77109998Smarkm
78160814Ssimon.KEEP_STATE:
79160814Ssimon
80296341Sdelphijall:	$(LIBS)
81160814Ssimon
82160814Ssimonlint: lintcheck
83109998Smarkm
84238405Sjkiminclude $(SRC)/lib/Makefile.targ
85296341Sdelphij