Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
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.
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 25 # Copyright (c) 2018, Joyent, Inc.
26 26
27 27 LIBRARY= libpkcs11.a
28 28 VERS= .1
29 29
30 30
31 31 OBJECTS= \
32 32 metaAttrManager.o \
33 33 metaCrypt.o \
34 34 metaDigest.o \
35 35 metaDualCrypt.o \
36 36 metaGeneral.o \
37 37 metaKeys.o \
38 38 metaMechManager.o \
39 39 metaObject.o \
40 40 metaObjectManager.o \
41 41 metaRand.o \
42 42 metaSession.o \
43 43 metaSessionManager.o \
44 44 metaSign.o \
45 45 metaSlotManager.o \
46 46 metaSlotToken.o \
47 47 metaUtil.o \
48 48 metaVerify.o \
49 49 pkcs11General.o \
50 50 pkcs11SlotToken.o \
51 51 pkcs11Session.o \
52 52 pkcs11Object.o \
53 53 pkcs11Crypt.o \
54 54 pkcs11Digest.o \
55 55 pkcs11Sign.o \
56 56 pkcs11Verify.o \
57 57 pkcs11DualCrypt.o \
58 58 pkcs11Keys.o \
59 59 pkcs11Rand.o \
60 60 pkcs11Slottable.o \
61 61 pkcs11Conf.o \
62 62 pkcs11Sessionlist.o \
63 63 pkcs11SUNWExtensions.o
64 64
65 65 include ../../../Makefile.lib
66 66
67 67 SRCDIR= ../common
68 68 INCDIR= ../../include
69 69
↓ open down ↓ |
69 lines elided |
↑ open up ↑ |
70 70 LIBS = $(DYNLIB) $(LINTLIB)
71 71 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
72 72 LDLIBS += -lcryptoutil -lc
73 73
74 74 CFLAGS += $(CCVERBOSE)
75 75 CPPFLAGS += -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
76 76
77 77 LINTFLAGS64 += -errchk=longptr64
78 78
79 79 CERRWARN += -_gcc=-Wno-unused-label
80 -CERRWARN += -_gcc=-Wno-uninitialized
80 +CERRWARN += $(CNOWARN_UNINIT)
81 81
82 82 # not linted
83 83 SMATCH=off
84 84
85 85 .KEEP_STATE:
86 86
87 87 all: $(LIBS)
88 88
89 89 lint: lintcheck
90 90
91 91 include $(SRC)/lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX