Print this page
10080 smatch Makefile changes for usr/src/cmd
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/ndmpstat/Makefile
+++ new/usr/src/cmd/ndmpstat/Makefile
1 1 #
2 2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 3 # Use is subject to license terms.
4 4 #
5 +# Copyright (c) 2018, Joyent, Inc.
6 +#
5 7
6 8 #
7 9 # BSD 3 Clause License
8 10 #
9 11 # Copyright (c) 2007, The Storage Networking Industry Association.
10 12 #
11 13 # Redistribution and use in source and binary forms, with or without
12 14 # modification, are permitted provided that the following conditions
13 15 # are met:
14 16 # - Redistributions of source code must retain the above copyright
15 17 # notice, this list of conditions and the following disclaimer.
16 18 #
17 19 # - Redistributions in binary form must reproduce the above copyright
18 20 # notice, this list of conditions and the following disclaimer in
19 21 # the documentation and/or other materials provided with the
20 22 # distribution.
21 23 #
22 24 # - Neither the name of The Storage Networking Industry Association (SNIA)
23 25 # nor the names of its contributors may be used to endorse or promote
24 26 # products derived from this software without specific prior written
25 27 # permission.
26 28 #
27 29 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28 30 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 31 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 32 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
31 33 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 34 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 35 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 36 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 37 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 38 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 39 # POSSIBILITY OF SUCH DAMAGE.
38 40 #
39 41
↓ open down ↓ |
25 lines elided |
↑ open up ↑ |
40 42 include ../Makefile.cmd
41 43
42 44 PROG= ndmpstat
43 45 OBJS= ndmpstat_main.o
44 46 SRCS = $(OBJS:.o=.c)
45 47 POFILES= ndmpstat_main.po
46 48 POFILE= ndmpstat.po
47 49
48 50 LDLIBS += -lndmp
49 51
52 +SMOFF += signed
53 +
50 54 .KEEP_STATE:
51 55
52 56 all: $(PROG)
53 57
54 58 $(PROG): $(OBJS)
55 59 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
56 60 $(POST_PROCESS)
57 61
58 62 install: all $(ROOTUSRSBINPROG)
59 63
60 64 $(POFILE): $(POFILES)
61 65 $(RM) $@
62 66 $(CAT) $(POFILES) > $@
63 67
64 68 clean:
65 69 $(RM) $(OBJS) $(POFILES)
66 70
67 71 lint: lint_SRCS
68 72
69 73 include ../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX