Merge commit '06307114472bd8aad5ff18ccdb8e25f128ae6652'
[unleashed.git] / usr / src / lib / pkcs11 / libpkcs11 / Makefile.com
blob6a8f0fd5bcf3c91dc4bb99dc3d7ed358e7879e81
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
26 LIBRARY= libpkcs11.a
27 VERS= .1
30 OBJECTS= \
31         metaAttrManager.o \
32         metaCrypt.o \
33         metaDigest.o \
34         metaDualCrypt.o \
35         metaGeneral.o \
36         metaKeys.o \
37         metaMechManager.o \
38         metaObject.o \
39         metaObjectManager.o \
40         metaRand.o \
41         metaSession.o \
42         metaSessionManager.o \
43         metaSign.o \
44         metaSlotManager.o \
45         metaSlotToken.o \
46         metaUtil.o \
47         metaVerify.o \
48         pkcs11General.o         \
49         pkcs11SlotToken.o       \
50         pkcs11Session.o         \
51         pkcs11Object.o          \
52         pkcs11Crypt.o           \
53         pkcs11Digest.o          \
54         pkcs11Sign.o            \
55         pkcs11Verify.o          \
56         pkcs11DualCrypt.o       \
57         pkcs11Keys.o            \
58         pkcs11Rand.o            \
59         pkcs11Slottable.o       \
60         pkcs11Conf.o            \
61         pkcs11Sessionlist.o     \
62         pkcs11SUNWExtensions.o
64 include ../../../Makefile.lib
66 SRCDIR=         ../common
67 INCDIR=         ../../include
69 LIBS =          $(DYNLIB)
70 LDLIBS +=       -lcryptoutil -lc
72 CPPFLAGS +=     -I$(INCDIR) -I$(SRCDIR)
73 CPPFLAGS += -I$(SRCTOP)/include
76 CERRWARN +=     -Wno-unused-label
77 CERRWARN +=     -Wno-uninitialized
79 .KEEP_STATE:
81 all:    $(LIBS)
84 include $(SRC)/lib/Makefile.targ