Print this page
10080 smatch Makefile changes for usr/src/cmd
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/fs.d/nfs/clear_locks/Makefile
+++ new/usr/src/cmd/fs.d/nfs/clear_locks/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
12 12 # and limitations under the License.
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
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 22 #
23 -#ident "%Z%%M% %I% %E% SMI"
24 -#
25 23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
26 24 # Use is subject to license terms.
27 25 #
26 +# Copyright (c) 2018, Joyent, Inc.
28 27
29 28 PROG= clear_locks
30 29
31 30 include ../../../Makefile.cmd
32 31
33 32 LDLIBS += -lrpcsvc -lnsl
34 33
35 34 #
36 35 # Message catalog
37 36 #
38 37 POFILE= clear_locks.po
39 38
40 39 #
41 40 # message catalog
42 41 #
43 42 catalog: $(POFILE)
44 43
↓ open down ↓ |
7 lines elided |
↑ open up ↑ |
45 44 $(POFILE): clear_locks.c
46 45 $(RM) $@
47 46 $(COMPILE.cpp) clear_locks.c > $(POFILE).i
48 47 $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
49 48 sed "/^domain/d" messages.po > $@
50 49 $(RM) messages.po $(POFILE).i
51 50
52 51
53 52 CFLAGS += $(CCVERBOSE)
54 53
54 +# not linted
55 +SMATCH=off
56 +
55 57 .KEEP_STATE:
56 58
57 -all: $(PROG)
59 +all: $(PROG)
58 60
59 61 install: all $(ROOTUSRSBINPROG)
60 62
61 63 clean:
62 64
63 65 lint: lint_PROG
64 66
65 67 include ../../../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX