Print this page
10080 smatch Makefile changes for usr/src/cmd
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/fm/modules/common/eversholt/Makefile
+++ new/usr/src/cmd/fm/modules/common/eversholt/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 (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.
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]
↓ open down ↓ |
17 lines elided |
↑ open up ↑ |
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 #
26 26 # eft.so (the eversholt DE)
27 27 #
28 +# Copyright (c) 2018, Joyent, Inc.
28 29
29 30 .KEEP_STATE:
30 31
31 32 EVERSRCDIR=../../../eversholt/common
32 33
33 34 MODULE = eft
34 35 CLASS = common
35 36 DMOD = $(MODULE).so
36 37
37 38 YSRCS=escparse.y
38 39 SRCS = alloc.c check.c config.c eft.c eftread.c esclex.c eval.c evnv.c \
39 40 fme.c iexpr.c io.c ipath.c itree.c lut.c literals.c out.c platform.c \
40 41 ptree.c stable.c stats.c tree.c
41 42 DMOD_SRCS = eft_mdb.c
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
42 43
43 44 include ../../Makefile.plugin
44 45
45 46 CPPFLAGS += -DFMAPLUGIN -I$(EVERSRCDIR) -I.
46 47 CERRWARN += -_gcc=-Wno-unused-label
47 48 CERRWARN += -_gcc=-Wno-uninitialized
48 49 CERRWARN += -_gcc=-Wno-switch
49 50 CERRWARN += -_gcc=-Wno-parentheses
50 51 CERRWARN += -_gcc=-Wno-implicit-function-declaration
51 52
53 +# not linted
54 +SMATCH=off
55 +
52 56 $(PROG) := LDFLAGS += -R/usr/lib/fm
53 57 $(PROG) := LDLIBS += -L$(ROOTLIB)/fm -ltopo
54 58
55 59 CLEANFILES += y.tab.h y.tab.c
56 60
57 61 esclex.o: escparse.o
58 62
59 63 %.o: $(EVERSRCDIR)/%.c
60 64 $(COMPILE.c) $<
61 65 $(CTFCONVERT_O)
62 66
63 67 %.ln: $(EVERSRCDIR)/%.c
64 68 $(LINT.c) -c $<
65 69
66 70 escparse.o: $(EVERSRCDIR)/escparse.y
67 71 $(YACC) -dt $(EVERSRCDIR)/escparse.y
68 72 $(COMPILE.c) -DYYDEBUG -c -o $@ y.tab.c
69 73 $(CTFCONVERT_O)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX