10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 52522Sraf# Common Development and Distribution License (the "License"). 62522Sraf# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*9526SPeter.Shoults@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate 260Sstevel@tonic-gateLIBRARY= libpkcs11.a 270Sstevel@tonic-gateVERS= .1 280Sstevel@tonic-gate 290Sstevel@tonic-gate 300Sstevel@tonic-gateOBJECTS= \ 310Sstevel@tonic-gate metaAttrManager.o \ 320Sstevel@tonic-gate metaCrypt.o \ 330Sstevel@tonic-gate metaDigest.o \ 340Sstevel@tonic-gate metaDualCrypt.o \ 350Sstevel@tonic-gate metaGeneral.o \ 360Sstevel@tonic-gate metaKeys.o \ 370Sstevel@tonic-gate metaMechManager.o \ 380Sstevel@tonic-gate metaObject.o \ 390Sstevel@tonic-gate metaObjectManager.o \ 400Sstevel@tonic-gate metaRand.o \ 410Sstevel@tonic-gate metaSession.o \ 420Sstevel@tonic-gate metaSessionManager.o \ 430Sstevel@tonic-gate metaSign.o \ 440Sstevel@tonic-gate metaSlotManager.o \ 450Sstevel@tonic-gate metaSlotToken.o \ 460Sstevel@tonic-gate metaUtil.o \ 470Sstevel@tonic-gate metaVerify.o \ 480Sstevel@tonic-gate pkcs11General.o \ 490Sstevel@tonic-gate pkcs11SlotToken.o \ 500Sstevel@tonic-gate pkcs11Session.o \ 510Sstevel@tonic-gate pkcs11Object.o \ 520Sstevel@tonic-gate pkcs11Crypt.o \ 530Sstevel@tonic-gate pkcs11Digest.o \ 540Sstevel@tonic-gate pkcs11Sign.o \ 550Sstevel@tonic-gate pkcs11Verify.o \ 560Sstevel@tonic-gate pkcs11DualCrypt.o \ 570Sstevel@tonic-gate pkcs11Keys.o \ 580Sstevel@tonic-gate pkcs11Rand.o \ 590Sstevel@tonic-gate pkcs11Slottable.o \ 600Sstevel@tonic-gate pkcs11Conf.o \ 610Sstevel@tonic-gate pkcs11Sessionlist.o \ 620Sstevel@tonic-gate pkcs11SUNWExtensions.o 630Sstevel@tonic-gate 640Sstevel@tonic-gateinclude ../../../Makefile.lib 650Sstevel@tonic-gate 660Sstevel@tonic-gateSRCDIR= ../common 670Sstevel@tonic-gateINCDIR= ../../include 680Sstevel@tonic-gate 690Sstevel@tonic-gateLIBS = $(DYNLIB) $(LINTLIB) 700Sstevel@tonic-gate$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) 71*9526SPeter.Shoults@Sun.COMLDLIBS += -lcryptoutil -lc -lscf 720Sstevel@tonic-gate 730Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) 740Sstevel@tonic-gateCPPFLAGS += -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT 750Sstevel@tonic-gate 760Sstevel@tonic-gateLINTFLAGS64 += -errchk=longptr64 770Sstevel@tonic-gate 780Sstevel@tonic-gate.KEEP_STATE: 790Sstevel@tonic-gate 800Sstevel@tonic-gateall: $(LIBS) 810Sstevel@tonic-gate 820Sstevel@tonic-gatelint: lintcheck 830Sstevel@tonic-gate 840Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ 85