8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / pkcs11 / libpkcs11 / Makefile.com
blob33283e66e1ffb0d05fd9602e22926a58b6d143ab
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) $(LINTLIB)
70 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
71 LDLIBS +=       -lcryptoutil -lc
73 CFLAGS  +=      $(CCVERBOSE)
74 CPPFLAGS +=     -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
76 LINTFLAGS64 += -errchk=longptr64
78 CERRWARN +=     -_gcc=-Wno-unused-label
79 CERRWARN +=     -_gcc=-Wno-uninitialized
81 .KEEP_STATE:
83 all:    $(LIBS)
85 lint: lintcheck
87 include $(SRC)/lib/Makefile.targ