Print this page
10077 usr/src/uts/ Makefile changes for smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/timod/Makefile
+++ new/usr/src/uts/intel/timod/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/timod/Makefile
23 23 #
24 24 # Copyright 2006 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 timod streams kernel
30 -# module.
31 -#
32 -# intel architecture dependent
33 -#
27 +# Copyright (c) 2018, Joyent, Inc.
34 28
35 29 #
36 30 # Path to the base of the uts directory tree (usually /usr/src/uts).
37 31 #
38 32 UTSBASE = ../..
39 33
40 34 #
41 35 # Define the module and object file sets.
42 36 #
43 37 MODULE = timod
44 38 OBJECTS = $(TIMOD_OBJS:%=$(OBJS_DIR)/%)
45 39 LINTS = $(TIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 40 ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
47 41
48 42 #
49 43 # Include common rules.
50 44 #
51 45 include $(UTSBASE)/intel/Makefile.intel
52 46
53 47 #
54 48 # Define targets
55 49 #
56 50 ALL_TARGET = $(BINARY)
57 51 LINT_TARGET = $(MODULE).lint
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
58 52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59 53
60 54 #
61 55 # For now, disable these lint checks; maintainers should endeavor
62 56 # to investigate and remove these for maximum lint coverage.
63 57 # Please do not carry these forward to new Makefiles.
64 58 #
65 59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
66 60 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
67 61
62 +# needs work
63 +SMOFF += indenting
64 +
68 65 #
69 66 # Default build targets.
70 67 #
71 68 .KEEP_STATE:
72 69
73 70 def: $(DEF_DEPS)
74 71
75 72 all: $(ALL_DEPS)
76 73
77 74 clean: $(CLEAN_DEPS)
78 75
79 76 clobber: $(CLOBBER_DEPS)
80 77
81 78 lint: $(LINT_DEPS)
82 79
83 80 modlintlib: $(MODLINTLIB_DEPS)
84 81
85 82 clean.lint: $(CLEAN_LINT_DEPS)
86 83
87 84 install: $(INSTALL_DEPS)
88 85
89 86 #
90 87 # Include common targets.
91 88 #
92 89 include $(UTSBASE)/intel/Makefile.targ
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX