Merge illumos-gate
[unleashed.git] / usr / src / lib / pkcs11 / libpkcs11 / Makefile.com
blob4ca4070608d6afa5a47279d05b53b58947e74880
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.
25 # Copyright (c) 2018, Joyent, Inc.
27 LIBRARY= libpkcs11.a
28 VERS= .1
31 OBJECTS= \
32         metaAttrManager.o \
33         metaCrypt.o \
34         metaDigest.o \
35         metaDualCrypt.o \
36         metaGeneral.o \
37         metaKeys.o \
38         metaMechManager.o \
39         metaObject.o \
40         metaObjectManager.o \
41         metaRand.o \
42         metaSession.o \
43         metaSessionManager.o \
44         metaSign.o \
45         metaSlotManager.o \
46         metaSlotToken.o \
47         metaUtil.o \
48         metaVerify.o \
49         pkcs11General.o         \
50         pkcs11SlotToken.o       \
51         pkcs11Session.o         \
52         pkcs11Object.o          \
53         pkcs11Crypt.o           \
54         pkcs11Digest.o          \
55         pkcs11Sign.o            \
56         pkcs11Verify.o          \
57         pkcs11DualCrypt.o       \
58         pkcs11Keys.o            \
59         pkcs11Rand.o            \
60         pkcs11Slottable.o       \
61         pkcs11Conf.o            \
62         pkcs11Sessionlist.o     \
63         pkcs11SUNWExtensions.o
65 include ../../../Makefile.lib
67 SRCDIR=         ../common
68 INCDIR=         ../../include
70 LIBS =          $(DYNLIB)
71 LDLIBS +=       -lcryptoutil -lc
73 CPPFLAGS +=     -I$(INCDIR) -I$(SRCDIR)
74 CPPFLAGS += -I$(SRCTOP)/include
77 CERRWARN +=     -Wno-unused-label
78 CERRWARN +=     -Wno-uninitialized
80 # not linted
81 SMATCH=off
83 .KEEP_STATE:
85 all:    $(LIBS)
88 include $(SRC)/lib/Makefile.targ