Print this page
10077 usr/src/uts/ Makefile changes for smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/cpqary3/Makefile
+++ new/usr/src/uts/intel/cpqary3/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 -# Copyright 2013 Joyent, Inc. All rights reserved.
13 +# Copyright (c) 2018, Joyent, Inc.
14 14 #
15 15
16 16 #
17 17 # Path to the base of the uts directory tree
18 18 #
19 19 UTSBASE = ../..
20 20
21 21 #
22 22 # Define the module and object file sets.
23 23 #
24 24 MODULE = cpqary3
25 25 OBJECTS = $(CPQARY3_OBJS:%=$(OBJS_DIR)/%)
26 26 LINTS = $(CPQARY3_OBJS:%.o=$(LINTS_DIR)/%.ln)
27 27 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
28 28 CONF_SRCDIR = $(UTSBASE)/common/io/cpqary3
29 29
30 30 #
31 31 # Include common rules.
32 32 #
33 33 include $(UTSBASE)/intel/Makefile.intel
34 34
35 35 #
36 36 # Define targets
37 37 #
38 38 ALL_TARGET = $(BINARY) $(CONFMOD)
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
39 39 LINT_TARGET = $(MODULE).lint
40 40 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
41 41
42 42 CPPFLAGS += -I$(UTSBASE)/common/io/cpqary3
43 43
44 44 #
45 45 # Kernel Module Dependencies
46 46 #
47 47 LDFLAGS += -dy -Nmisc/scsi
48 48
49 +SMATCH=off
50 +
49 51 #
50 52 # Default build targets.
51 53 #
52 54 .KEEP_STATE:
53 55
54 56 def: $(DEF_DEPS)
55 57
56 58 all: $(ALL_DEPS)
57 59
58 60 clean: $(CLEAN_DEPS)
59 61
60 62 clobber: $(CLOBBER_DEPS)
61 63
62 64 lint: $(LINT_DEPS)
63 65
64 66 modlintlib: $(MODLINTLIB_DEPS)
65 67
66 68 clean.lint: $(CLEAN_LINT_DEPS)
67 69
68 70 install: $(INSTALL_DEPS)
69 71
70 72 #
71 73 # Include common targets.
72 74 #
73 75 include $(UTSBASE)/intel/Makefile.targ
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX