Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# The contents of this file are subject to the terms of the
1018201f5223624476334c6e23aead02db7c4040minfrin# Common Development and Distribution License (the "License").
1018201f5223624476334c6e23aead02db7c4040minfrin# You may not use this file except in compliance with the License.
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier#
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier# or http://www.opensolaris.org/os/licensing.
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier# See the License for the specific language governing permissions
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# and limitations under the License.
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin#
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# When distributing Covered Code, include this CDDL HEADER in each
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# If applicable, add the following below this CDDL HEADER, with the
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# fields enclosed by brackets "[]" replaced with your own identifying
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin#
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin# CDDL HEADER END
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin#
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirier#
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirier# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin# Use is subject to license terms.
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin#
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq#
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq# This makefile drives the production of the sun4u "bscv" driver module.
3c67b7956d44501360506a9f13a5011be73b30ecminfrin#
3c67b7956d44501360506a9f13a5011be73b30ecminfrin# sun4u implementation architecture dependent
3c67b7956d44501360506a9f13a5011be73b30ecminfrin#
3c67b7956d44501360506a9f13a5011be73b30ecminfrin
97d20d37d21b8d427a920e211858172f0a82427epoirier#
97d20d37d21b8d427a920e211858172f0a82427epoirier# Path to the base of the uts directory tree (usually /usr/src/uts).
97d20d37d21b8d427a920e211858172f0a82427epoirier#
8e04e8ec7d682bff5e6dccdd70c082971a88cb8bniqUTSBASE = ../../..
8e04e8ec7d682bff5e6dccdd70c082971a88cb8bniq
8e04e8ec7d682bff5e6dccdd70c082971a88cb8bniq#
53c999a82fcca729dabc8a512b3fb996d61fd814niq# Define the module and object file sets.
53c999a82fcca729dabc8a512b3fb996d61fd814niq#
53c999a82fcca729dabc8a512b3fb996d61fd814niqMODULE = bscv
53c999a82fcca729dabc8a512b3fb996d61fd814niqOBJECTS = $(BSCV_OBJS:%=$(OBJS_DIR)/%)
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemLINTS = $(BSCV_OBJS:%.o=$(LINTS_DIR)/%.ln)
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemROOTMODULE = $(ROOT_BLADE_DRV_DIR)/$(MODULE)
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemCONF_SRCDIR = $(UTSBASE)/sun4u/blade/io
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluem
dd9ae259e1578c4388739c880ede97c55cec543frpluem#
dd9ae259e1578c4388739c880ede97c55cec543frpluem# Include common rules.
dd9ae259e1578c4388739c880ede97c55cec543frpluem#
0938450cadc9a083d112a86bc7dd7ae34f791364trawickinclude $(UTSBASE)/sun4u/blade/Makefile.blade
0938450cadc9a083d112a86bc7dd7ae34f791364trawick
0938450cadc9a083d112a86bc7dd7ae34f791364trawick#
8bed7ee6d97933b958e97e222f37154d83e384e5jorton# Overrides
8bed7ee6d97933b958e97e222f37154d83e384e5jorton#
8bed7ee6d97933b958e97e222f37154d83e384e5jortonALL_BUILDS = $(ALL_BUILDSONLY64)
8bed7ee6d97933b958e97e222f37154d83e384e5jortonDEF_BUILDS = $(DEF_BUILDSONLY64)
8bed7ee6d97933b958e97e222f37154d83e384e5jortonCLEANLINTFILES += $(LINT32_FILES)
d33ddda47790d3295f4218f87e3a296cf51a9becmjc
c7d46b58052fe666c74a47bd26b6cb1e351492adrpluem#
4e08c8c1a91e2887b41d8cacd3aa532355d0237drpluem# Define targets
7a25b029b69f169bd22718165dff3b271114f92eniq#
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirierALL_TARGET = $(BINARY) $(SRC_CONFFILE)
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirierLINT_TARGET = $(MODULE).lint
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirierINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem#
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem# lint pass one enforcement
7a25b029b69f169bd22718165dff3b271114f92eniq#
7a25b029b69f169bd22718165dff3b271114f92eniqCFLAGS += $(CCVERBOSE)
7a25b029b69f169bd22718165dff3b271114f92eniqCERRWARN += -_gcc=-Wno-uninitialized
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem
3e6a46d2fecf446daf0e280a49fa5565f5f635eajorton#
3e6a46d2fecf446daf0e280a49fa5565f5f635eajorton# Default build targets.
3e6a46d2fecf446daf0e280a49fa5565f5f635eajorton#
137e484e5f984ceff1102e1212dda8ac0413231aniq.KEEP_STATE:
0df8f79d2324b131c36955d7e474a735a762f9eeniq
0df8f79d2324b131c36955d7e474a735a762f9eeniqdef: $(DEF_DEPS)
0df8f79d2324b131c36955d7e474a735a762f9eeniq
30e3e760b737f13ce800fa02c5930ade7659ba66niqall: $(ALL_DEPS)
30e3e760b737f13ce800fa02c5930ade7659ba66niq
30e3e760b737f13ce800fa02c5930ade7659ba66niqclean: $(CLEAN_DEPS)
e991c6fc032c59eb6cb751d9d382e933a53a2866niq
e991c6fc032c59eb6cb751d9d382e933a53a2866niqclobber: $(CLOBBER_DEPS)
e991c6fc032c59eb6cb751d9d382e933a53a2866niq
e991c6fc032c59eb6cb751d9d382e933a53a2866niqlint: $(LINT_DEPS)
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluemmodlintlib: $(MODLINTLIB_DEPS)
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem
33d9be77cc6f5fc8734e9c1f526b82d359955152rpluemclean.lint: $(CLEAN_LINT_DEPS)
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem
33d9be77cc6f5fc8734e9c1f526b82d359955152rplueminstall: $(INSTALL_DEPS)
da128c59ec571c4dff70f41ecba9c8a9974c6cd6niq
172e83c0f024fe6396dd1f3ca3492fd83c304db5jim#
da128c59ec571c4dff70f41ecba9c8a9974c6cd6niq# Include common targets.
45932a847f237b4d8f0667b138bd3f8a15fb53ffniq#
45932a847f237b4d8f0667b138bd3f8a15fb53ffniqinclude $(UTSBASE)/sun4u/blade/Makefile.targ
45932a847f237b4d8f0667b138bd3f8a15fb53ffniq