Print this page
10079 smatch Makefile changes for usr/src/lib
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/pkcs11/libpkcs11/Makefile.com
+++ new/usr/src/lib/pkcs11/libpkcs11/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 +# Copyright (c) 2018, Joyent, Inc.
25 26
26 27 LIBRARY= libpkcs11.a
27 28 VERS= .1
28 29
29 30
30 31 OBJECTS= \
31 32 metaAttrManager.o \
32 33 metaCrypt.o \
33 34 metaDigest.o \
34 35 metaDualCrypt.o \
35 36 metaGeneral.o \
36 37 metaKeys.o \
37 38 metaMechManager.o \
38 39 metaObject.o \
39 40 metaObjectManager.o \
40 41 metaRand.o \
41 42 metaSession.o \
42 43 metaSessionManager.o \
43 44 metaSign.o \
44 45 metaSlotManager.o \
45 46 metaSlotToken.o \
46 47 metaUtil.o \
47 48 metaVerify.o \
48 49 pkcs11General.o \
49 50 pkcs11SlotToken.o \
50 51 pkcs11Session.o \
51 52 pkcs11Object.o \
52 53 pkcs11Crypt.o \
53 54 pkcs11Digest.o \
54 55 pkcs11Sign.o \
55 56 pkcs11Verify.o \
56 57 pkcs11DualCrypt.o \
57 58 pkcs11Keys.o \
58 59 pkcs11Rand.o \
59 60 pkcs11Slottable.o \
60 61 pkcs11Conf.o \
61 62 pkcs11Sessionlist.o \
62 63 pkcs11SUNWExtensions.o
63 64
64 65 include ../../../Makefile.lib
65 66
66 67 SRCDIR= ../common
67 68 INCDIR= ../../include
68 69
69 70 LIBS = $(DYNLIB) $(LINTLIB)
70 71 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
↓ open down ↓ |
36 lines elided |
↑ open up ↑ |
71 72 LDLIBS += -lcryptoutil -lc
72 73
73 74 CFLAGS += $(CCVERBOSE)
74 75 CPPFLAGS += -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
75 76
76 77 LINTFLAGS64 += -errchk=longptr64
77 78
78 79 CERRWARN += -_gcc=-Wno-unused-label
79 80 CERRWARN += -_gcc=-Wno-uninitialized
80 81
82 +# not linted
83 +SMATCH=off
84 +
81 85 .KEEP_STATE:
82 86
83 87 all: $(LIBS)
84 88
85 89 lint: lintcheck
86 90
87 91 include $(SRC)/lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX