Print this page
10079 smatch Makefile changes for usr/src/lib
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/krb5/dyn/Makefile.com
+++ new/usr/src/lib/krb5/dyn/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 2006 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 +# Copyright (c) 2018, Joyent, Inc.
25 26
27 +
26 28 LIBRARY= libdyn.a
27 29 VERS= .1
28 30
29 31 DYNOBJS= \
30 32 dyn_create.o \
31 33 dyn_put.o \
32 34 dyn_debug.o \
33 35 dyn_delete.o \
34 36 dyn_size.o \
35 37 dyn_append.o \
36 38 dyn_realloc.o \
37 39 dyn_paranoid.o \
38 40 dyn_insert.o \
39 41 dyn_initzero.o
40 42
41 43 OBJECTS= $(DYNOBJS)
42 44
43 45 # include library definitions
44 46 include ../../Makefile.lib
45 47
46 48 SRCS= $(DYNOBJS:%.o=../%.c)
47 49 LIBS= $(DYNLIB)
48 50
49 51 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
50 52
51 53
52 54 #override liblink
53 55 INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
54 56
55 57 CPPFLAGS += -D_REENTRANT -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 \
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
56 58 -DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \
57 59 -DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \
58 60 -DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \
59 61 -DHAVE_COMPILE=1
60 62
61 63 CFLAGS += $(CCVERBOSE) -I..
62 64 LDLIBS += -lc
63 65
64 66 CERRWARN += -_gcc=-Wno-unused-variable
65 67
68 +SMOFF += no_if_block
69 +
66 70 .KEEP_STATE:
67 71
68 72 all: $(LIBS)
69 73
70 74 lint: lintcheck
71 75
72 76 # include library targets
73 77 include ../../Makefile.targ
74 78
75 79 FRC:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX