Print this page
10080 smatch Makefile changes for usr/src/cmd
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/acct/lib/Makefile
+++ new/usr/src/cmd/acct/lib/Makefile
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, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
12 12 # and limitations under the License.
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 -#
23 22 # Copyright (c) 1989 by Sun Microsystems, Inc.
23 +# Copyright (c) 2018, Joyent, Inc.
24 24 #
25 -#
26 25 LIBS= a.a
27 26
28 -OBJS= pnpsplit.o copyn.o devtolin.o expand.o lintodev.o \
29 - namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
27 +OBJS= pnpsplit.o devtolin.o expand.o lintodev.o \
28 + namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
30 29 SRCS= $(OBJS:%.o=%.c)
31 30
32 31 include ../../Makefile.cmd
33 32
34 33 CPPFLAGS = -D_LTYPES -I.. $(CPPFLAGS.master)
35 34 CERRWARN += -_gcc=-Wno-implicit-function-declaration
36 35 CERRWARN += -_gcc=-Wno-parentheses
37 36 CERRWARN += -_gcc=-Wno-extra
38 37
38 +# not linted
39 +SMATCH=off
40 +
39 41 .KEEP_STATE:
40 42
41 43 .PARALLEL: $(OBJS)
42 44
43 45 all: $(LIBS)
44 46
45 47 $(LIBS): $(OBJS)
46 48 $(AR) $(ARFLAGS) $@ $(OBJS)
47 49
48 50 clean:
49 51 $(RM) $(OBJS)
50 52
51 53 clobber: clean
52 54 $(RM) $(LIBS)
53 55
54 56 lint:
55 57 $(LINT.c) $(SRCS)
56 58
57 59 install:
58 60
59 61 .PRECIOUS: $(LIBS)
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX