Print this page
10079 smatch Makefile changes for usr/src/lib
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/pam_modules/krb5/Makefile.com
+++ new/usr/src/lib/pam_modules/krb5/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 -# usr/src/lib/pam_modules/krb5/Makefile.com
26 -#
25 +# Copyright (c) 2018, Joyent, Inc.
27 26
28 27 LIBRARY= pam_krb5.a
29 28 VERS= .1
30 29
31 30
32 31 PRIV_OBJ= krb5_authenticate.o \
33 32 krb5_setcred.o \
34 33 krb5_acct_mgmt.o \
35 34 krb5_password.o \
36 35 krb5_session.o \
37 36 utils.o
38 37
39 38 OBJECTS= $(PRIV_OBJ)
40 39
41 40 include ../../Makefile.pam_modules
42 41 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
43 42
↓ open down ↓ |
7 lines elided |
↑ open up ↑ |
44 43 CPPFLAGS += -I../../../gss_mechs/mech_krb5/include \
45 44 -I$(SRC)/uts/common/gssapi/include/ \
46 45 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
47 46 -I$(SRC)/lib/gss_mechs/mech_krb5 \
48 47 -I$(SRC)/lib/krb5 \
49 48 -I.
50 49
51 50 CERRWARN += -_gcc=-Wno-parentheses
52 51 CERRWARN += -_gcc=-Wno-unused-function
53 52
53 +# not linted
54 +SMATCH=off
55 +
54 56 # module needs to be unloadable because the key destructor might be
55 57 # called after dlclose()
56 58 DYNFLAGS += $(ZNODELETE)
57 59
58 60 CLOBBERFILES += $(LINTLIB) $(LINTOUT) $(POFILE)
59 61
60 62 #
61 63 # Don't lint derived files
62 64 #
63 65 lint := SRCS= $(PRIV_OBJ:%.o=$(SRCDIR)/%.c)
64 66
65 67 all: $(LIBS)
66 68
67 69 lint: lintcheck
68 70
69 71 include $(SRC)/lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX