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 src/sun_nws/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 src/sun_nws/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 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 #ident "@(#)Makefile.config 1.43 08/01/24 SMI"
26 #
27 # src/sun_nws/Makefile.config
28
29 # The variable POUND_SIGN is used to disable 32 bit or 64 bit builds when they
30 # don't apply. An example of that are:
31 #
32 # BUILD32 = $(MACH32:sparc=$(POUND_SIGN))
33 # BUILD64 = $(POUND_SIGN)
34 #
35 # If BUILD32 or BUILD64 are set to $(POUND_SIGN), all the line starting with
36 # BUILD32 or BUILD64 will considered comments by make (or dmake).
37
38 POUND_SIGN:sh= echo \\043
39
40 OBJDIR_PREFIX = obj_
41 DBGDIR_PREFIX = dbg_
42 CPU_AMD64 = amd64
43 CPU_I386 = i386
44 CPU_SPARCV9 = sparcv9
45 CPU_SPARC = sparc
163
164 # sparc-only components
165 sparc_COMPONENTS += qus
166 sparc_COMPONENTS += libg_fc
167 sparc_COMPONENTS += liba5k
168
169 # all components
170 COMPONENTS += fcip
171 COMPONENTS += fcp
172 COMPONENTS += fcsm
173 COMPONENTS += fctl
174 COMPONENTS += fp
175 COMPONENTS += headers
176 COMPONENTS += qlc
177 COMPONENTS += hbaapi
178 COMPONENTS += sun_fc
179 COMPONENTS += luxadm
180 COMPONENTS += cfgadm_fp
181 COMPONENTS += iscsid
182 COMPONENTS += iscsi
183 COMPONENTS += ima
184 COMPONENTS += sun_ima
185 COMPONENTS += iscsiadm
186 COMPONENTS += fcinfo
187 COMPONENTS += mpapi
188 COMPONENTS += mpapi_svplugin
189 COMPONENTS += mpathadm
190 COMPONENTS += isns
191 COMPONENTS += isnsadm
192 COMPONENTS += mdb_modules
193 COMPONENTS += libstmf
194 COMPONENTS += stmfadm
195 COMPONENTS += stmfsvc
196 COMPONENTS += sbdadm
197 COMPONENTS += comstar/lu_providers/sbd
198 COMPONENTS += comstar/mdb
199 COMPONENTS += comstar/port_providers/fct
200 COMPONENTS += comstar/port_providers/mptt
201 COMPONENTS += comstar/port_providers/qlt
202 COMPONENTS += comstar/stmf
203 COMPONENTS += $($(MACH)_COMPONENTS)
204
205 MOD_DIR_CMDPARSE= $(PROJAREA)/common_cmd/cmdparse/
206 MOD_OBJ_CMDPARSE= cmdparse.o
207 MOD_INC_FCIP = $(PROJAREA)/fcip/hdrs
208 MOD_INC_FCP = $(PROJAREA)/fcp/hdrs
209 MOD_INC_FCSM = $(PROJAREA)/fcsm/hdrs
210 MOD_INC_FCTL = $(PROJAREA)/fctl/hdrs
211 MOD_INC_FP = $(PROJAREA)/fp/hdrs
212 MOD_INC_QLC = $(PROJAREA)/qlc/hdrs
213 MOD_INC_QUS = $(PROJAREA)/qus/hdrs
214 MOD_INC_ISCSI = $(PROJAREA)/iscsi/hdrs
215 MOD_INC_FCINFO = $(PROJAREA)/fcinfo/hdrs
216 MOD_INC_HBAAPI = $(PROJAREA)/hbaapi/hdrs
217 MOD_INC_SUNFC = $(PROJAREA)/sun_fc/hdrs
218 MOD_INC_LIBG_FC = $(PROJAREA)/libg_fc/hdrs
219 MOD_INC_LIBA5K = $(PROJAREA)/liba5k/hdrs
220 MOD_INC_IMA = $(PROJAREA)/ima/hdrs
221 MOD_INC_MPAPI = $(PROJAREA)/mpapi/hdrs
222 MOD_INC_ISNS = $(PROJAREA)/isns/hdrs
223 MOD_INC_LIBSTMF = $(PROJAREA)/libstmf/hdrs
224 MOD_INC_STMF = $(PROJAREA)/comstar/stmf/hdrs
225 MOD_INC_FCT = $(PROJAREA)/comstar/port_providers/fct/hdrs
226 MOD_INC_QLT = $(PROJAREA)/comstar/port_providers/qlt/hdrs
227 MOD_INC_SBD = $(PROJAREA)/comstar/lu_providers/sbd/hdrs
228 MOD_INC_MPTT = $(PROJAREA)/comstar/port_providers/mptt/hdrs
229 MOD_INC_CMDPARSE= $(PROJAREA)/common_cmd/cmdparse/hdrs
230
231 COM_OBJ = $(PROJAREA)/common_storage
232 COM_INC = $(PROJAREA)/headers/common/lib
233 COM_INC_FC = $(PROJAREA)/headers/common/fc
234 COM_INC_ISCSI = $(PROJAREA)/headers/common/iscsi
235 COM_INC_STMF = $(PROJAREA)/comstar/hdrs
236 COM_SRC = $(PROJAREA)/common_storage/src
237 COM_SRC_CMDPARSE= $(PROJAREA)/common_cmd/cmdparse/src
238 COM_SRC_ISCSI = $(PROJAREA)/common_iscsi/src
239
240 COMMON_FC_IMPL_HDRS_DIR = $(PROJAREA)/headers/fc
241 COMMON_ISCSI_IMPL_HDRS_DIR = $(PROJAREA)/headers/iscsi
242 COMMON_IMA_IMPL_HDRS_DIR = $(PROJAREA)/headers/ima
243
244 DIRS = $(OBJ32)
245 DIRS += $(OBJ64)
246 DIRS += $(PKGAREA)
|
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 src/sun_nws/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 src/sun_nws/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 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 #ident "@(#)Makefile.config 1.45 08/03/23 SMI"
26 #
27 # src/sun_nws/Makefile.config
28
29 # The variable POUND_SIGN is used to disable 32 bit or 64 bit builds when they
30 # don't apply. An example of that are:
31 #
32 # BUILD32 = $(MACH32:sparc=$(POUND_SIGN))
33 # BUILD64 = $(POUND_SIGN)
34 #
35 # If BUILD32 or BUILD64 are set to $(POUND_SIGN), all the line starting with
36 # BUILD32 or BUILD64 will considered comments by make (or dmake).
37
38 POUND_SIGN:sh= echo \\043
39
40 OBJDIR_PREFIX = obj_
41 DBGDIR_PREFIX = dbg_
42 CPU_AMD64 = amd64
43 CPU_I386 = i386
44 CPU_SPARCV9 = sparcv9
45 CPU_SPARC = sparc
163
164 # sparc-only components
165 sparc_COMPONENTS += qus
166 sparc_COMPONENTS += libg_fc
167 sparc_COMPONENTS += liba5k
168
169 # all components
170 COMPONENTS += fcip
171 COMPONENTS += fcp
172 COMPONENTS += fcsm
173 COMPONENTS += fctl
174 COMPONENTS += fp
175 COMPONENTS += headers
176 COMPONENTS += qlc
177 COMPONENTS += hbaapi
178 COMPONENTS += sun_fc
179 COMPONENTS += luxadm
180 COMPONENTS += cfgadm_fp
181 COMPONENTS += iscsid
182 COMPONENTS += iscsi
183 COMPONENTS += idm
184 COMPONENTS += ima
185 COMPONENTS += sun_ima
186 COMPONENTS += iscsiadm
187 COMPONENTS += fcinfo
188 COMPONENTS += mpapi
189 COMPONENTS += mpapi_svplugin
190 COMPONENTS += mpathadm
191 COMPONENTS += isns
192 COMPONENTS += isnsadm
193 COMPONENTS += mdb_modules/fc
194 COMPONENTS += mdb_modules/iscsi
195 COMPONENTS += libstmf
196 COMPONENTS += stmfadm
197 COMPONENTS += stmfsvc
198 COMPONENTS += sbdadm
199 COMPONENTS += comstar/lu_providers/sbd
200 COMPONENTS += comstar/mdb
201 COMPONENTS += comstar/port_providers/fct
202 COMPONENTS += comstar/port_providers/mptt
203 COMPONENTS += comstar/port_providers/qlt
204 COMPONENTS += comstar/port_providers/iscsit
205 COMPONENTS += comstar/stmf
206 COMPONENTS += $($(MACH)_COMPONENTS)
207
208 MOD_DIR_CMDPARSE= $(PROJAREA)/common_cmd/cmdparse/
209 MOD_OBJ_CMDPARSE= cmdparse.o
210 MOD_INC_FCIP = $(PROJAREA)/fcip/hdrs
211 MOD_INC_FCP = $(PROJAREA)/fcp/hdrs
212 MOD_INC_FCSM = $(PROJAREA)/fcsm/hdrs
213 MOD_INC_FCTL = $(PROJAREA)/fctl/hdrs
214 MOD_INC_FP = $(PROJAREA)/fp/hdrs
215 MOD_INC_QLC = $(PROJAREA)/qlc/hdrs
216 MOD_INC_QUS = $(PROJAREA)/qus/hdrs
217 MOD_INC_IDM = $(PROJAREA)/idm/hdrs
218 MOD_INC_ISCSI = $(PROJAREA)/iscsi/hdrs
219 MOD_INC_FCINFO = $(PROJAREA)/fcinfo/hdrs
220 MOD_INC_HBAAPI = $(PROJAREA)/hbaapi/hdrs
221 MOD_INC_SUNFC = $(PROJAREA)/sun_fc/hdrs
222 MOD_INC_LIBG_FC = $(PROJAREA)/libg_fc/hdrs
223 MOD_INC_LIBA5K = $(PROJAREA)/liba5k/hdrs
224 MOD_INC_IMA = $(PROJAREA)/ima/hdrs
225 MOD_INC_MPAPI = $(PROJAREA)/mpapi/hdrs
226 MOD_INC_ISNS = $(PROJAREA)/isns/hdrs
227 MOD_INC_LIBSTMF = $(PROJAREA)/libstmf/hdrs
228 MOD_INC_STMF = $(PROJAREA)/comstar/stmf/hdrs
229 MOD_INC_FCT = $(PROJAREA)/comstar/port_providers/fct/hdrs
230 MOD_INC_QLT = $(PROJAREA)/comstar/port_providers/qlt/hdrs
231 MOD_INC_ISCSIT = $(PROJAREA)/comstar/port_providers/iscsit/hdrs
232 MOD_INC_SBD = $(PROJAREA)/comstar/lu_providers/sbd/hdrs
233 MOD_INC_MPTT = $(PROJAREA)/comstar/port_providers/mptt/hdrs
234 MOD_INC_CMDPARSE= $(PROJAREA)/common_cmd/cmdparse/hdrs
235
236 COM_OBJ = $(PROJAREA)/common_storage
237 COM_INC = $(PROJAREA)/headers/common/lib
238 COM_INC_FC = $(PROJAREA)/headers/common/fc
239 COM_INC_ISCSI = $(PROJAREA)/headers/common/iscsi
240 COM_INC_STMF = $(PROJAREA)/comstar/hdrs
241 COM_SRC = $(PROJAREA)/common_storage/src
242 COM_SRC_CMDPARSE= $(PROJAREA)/common_cmd/cmdparse/src
243 COM_SRC_ISCSI = $(PROJAREA)/common_iscsi/src
244
245 COMMON_FC_IMPL_HDRS_DIR = $(PROJAREA)/headers/fc
246 COMMON_ISCSI_IMPL_HDRS_DIR = $(PROJAREA)/headers/iscsi
247 COMMON_IMA_IMPL_HDRS_DIR = $(PROJAREA)/headers/ima
248
249 DIRS = $(OBJ32)
250 DIRS += $(OBJ64)
251 DIRS += $(PKGAREA)
|