Print this page
10077 usr/src/uts/ Makefile changes for smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/kiconv_ja/Makefile
+++ new/usr/src/uts/intel/kiconv_ja/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
↓ open down ↓ |
16 lines elided |
↑ open up ↑ |
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # uts/intel/kiconv_ja/Makefile
23 23 #
24 24 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
25 25 # Use is subject to license terms.
26 26 #
27 -# ident "%Z%%M% %I% %E% SMI"
28 -#
29 -# This makefile drives the production of the kiconv_ja kernel module.
30 -#
31 -# intel architecture dependent
32 -#
27 +# Copyright (c) 2018, Joyent, Inc.
33 28
34 29 #
35 30 # Path to the base of the uts directory tree (usually /usr/src/uts).
36 31 #
37 32 UTSBASE = ../..
38 33
39 34 #
40 35 # Define the module and object file sets.
41 36 #
42 37 MODULE = kiconv_ja
43 38 OBJECTS = $(KICONV_JA_OBJS:%=$(OBJS_DIR)/%)
44 39 LINTS = $(KICONV_JA_OBJS:%.o=$(LINTS_DIR)/%.ln)
45 40 ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
46 41
47 42 #
48 43 # Include common rules.
49 44 #
50 45 include $(UTSBASE)/intel/Makefile.intel
51 46
52 47 #
53 48 # Define targets
54 49 #
55 50 ALL_TARGET = $(BINARY)
56 51 LINT_TARGET = $(MODULE).lint
57 52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
58 53
59 54 #
60 55 # Overrides.
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
61 56 #
62 57 CFLAGS += $(CCVERBOSE)
63 58
64 59 #
65 60 # For now, disable these lint checks; maintainers should endeavor
66 61 # to investigate and remove these for maximum lint coverage.
67 62 # Please do not carry these forward to new Makefiles.
68 63 #
69 64 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
70 65
66 +# smatch not happy with this source
67 +SMATCH=off
68 +
71 69 #
72 70 # Default build targets.
73 71 #
74 72 .KEEP_STATE:
75 73
76 74 def: $(DEF_DEPS)
77 75
78 76 all: $(ALL_DEPS)
79 77
80 78 clean: $(CLEAN_DEPS)
81 79
82 80 clobber: $(CLOBBER_DEPS)
83 81
84 82 lint: $(LINT_DEPS)
85 83
86 84 modlintlib: $(MODLINTLIB_DEPS)
87 85
88 86 clean.lint: $(CLEAN_LINT_DEPS)
89 87
90 88 install: $(INSTALL_DEPS)
91 89
92 90 #
93 91 # Include common targets.
94 92 #
95 93 include $(UTSBASE)/intel/Makefile.targ
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX