5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
24 # Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
25 #
26 # This Makefiles contains the common targets and definitions for
27 # all kernels. It is to be included in the Makefiles for specific
28 # implementation architectures and processor architecture dependent
29 # modules: i.e.: all driving kernel Makefiles.
30 #
31
32 #
33 # Default rule for building the lint library directory:
34 #
35 $(LINT_LIB_DIR):
36 -@mkdir -p $@ 2> /dev/null
37
38 #
39 # All C objects depend on inline files. However, cc(1) doesn't generate
40 # the correct dependency info. Also, these Makefiles don't contain a
41 # separate list of C-derived object files (but it is light weight to
42 # let the assembler files think they depend upon this when they don't).
43 # Fortunately, the inline files won't change very often. So, for now,
44 # all objects depend on the inline files. Remove this when the inliner
160 $(INS.file)
161
162 $(ROOT_STRMOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_STRMOD_DIR) FRC
163 $(INS.file)
164
165 $(ROOT_IPP_DIR)/%: $(OBJS_DIR)/% $(ROOT_IPP_DIR) FRC
166 $(INS.file)
167
168 $(ROOT_SYS_DIR)/%: $(OBJS_DIR)/% $(ROOT_SYS_DIR) FRC
169 $(INS.file)
170
171 $(ROOT_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MISC_DIR) FRC
172 $(INS.file)
173
174 $(ROOT_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_DACF_DIR) FRC
175 $(INS.file)
176
177 $(ROOT_BRAND_DIR)/%: $(OBJS_DIR)/% $(ROOT_BRAND_DIR) FRC
178 $(INS.file)
179
180 $(ROOT_CRYPTO_DIR)/%: $(OBJS_DIR)/% $(ROOT_CRYPTO_DIR) FRC
181 $(INS.file)
182
183 $(ROOT_KGSS_DIR)/%: $(OBJS_DIR)/% $(ROOT_KGSS_DIR) FRC
184 $(INS.file)
185
186 $(ROOT_SCSI_VHCI_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCSI_VHCI_DIR) FRC
187 $(INS.file)
188
189 $(ROOT_PMCS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_PMCS_FW_DIR) FRC
190 $(INS.file)
191
192 $(ROOT_QLC_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_QLC_FW_DIR) FRC
193 $(INS.file)
194
195 $(ROOT_EMLXS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_EMLXS_FW_DIR) FRC
196 $(INS.file)
197
198 $(ROOT_MACH_DIR)/%: $(OBJS_DIR)/% $(ROOT_MACH_DIR) FRC
199 $(INS.file)
|
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
24 # Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
25 # Copyright (c) 2017 by Delphix. All rights reserved.
26 #
27 # This Makefiles contains the common targets and definitions for
28 # all kernels. It is to be included in the Makefiles for specific
29 # implementation architectures and processor architecture dependent
30 # modules: i.e.: all driving kernel Makefiles.
31 #
32
33 #
34 # Default rule for building the lint library directory:
35 #
36 $(LINT_LIB_DIR):
37 -@mkdir -p $@ 2> /dev/null
38
39 #
40 # All C objects depend on inline files. However, cc(1) doesn't generate
41 # the correct dependency info. Also, these Makefiles don't contain a
42 # separate list of C-derived object files (but it is light weight to
43 # let the assembler files think they depend upon this when they don't).
44 # Fortunately, the inline files won't change very often. So, for now,
45 # all objects depend on the inline files. Remove this when the inliner
161 $(INS.file)
162
163 $(ROOT_STRMOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_STRMOD_DIR) FRC
164 $(INS.file)
165
166 $(ROOT_IPP_DIR)/%: $(OBJS_DIR)/% $(ROOT_IPP_DIR) FRC
167 $(INS.file)
168
169 $(ROOT_SYS_DIR)/%: $(OBJS_DIR)/% $(ROOT_SYS_DIR) FRC
170 $(INS.file)
171
172 $(ROOT_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MISC_DIR) FRC
173 $(INS.file)
174
175 $(ROOT_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_DACF_DIR) FRC
176 $(INS.file)
177
178 $(ROOT_BRAND_DIR)/%: $(OBJS_DIR)/% $(ROOT_BRAND_DIR) FRC
179 $(INS.file)
180
181 $(ROOT_CC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_CC_DIR) FRC
182 $(INS.file)
183
184 $(ROOT_CRYPTO_DIR)/%: $(OBJS_DIR)/% $(ROOT_CRYPTO_DIR) FRC
185 $(INS.file)
186
187 $(ROOT_KGSS_DIR)/%: $(OBJS_DIR)/% $(ROOT_KGSS_DIR) FRC
188 $(INS.file)
189
190 $(ROOT_SCSI_VHCI_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCSI_VHCI_DIR) FRC
191 $(INS.file)
192
193 $(ROOT_PMCS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_PMCS_FW_DIR) FRC
194 $(INS.file)
195
196 $(ROOT_QLC_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_QLC_FW_DIR) FRC
197 $(INS.file)
198
199 $(ROOT_EMLXS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_EMLXS_FW_DIR) FRC
200 $(INS.file)
201
202 $(ROOT_MACH_DIR)/%: $(OBJS_DIR)/% $(ROOT_MACH_DIR) FRC
203 $(INS.file)
|