Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
8efcf516f2b6514879fff8d034be55b6d64ff830striker#
8efcf516f2b6514879fff8d034be55b6d64ff830striker# CDDL HEADER START
f3f0c2a5f6009d06350341219d1f38a1644708bcbrianp#
f3f0c2a5f6009d06350341219d1f38a1644708bcbrianp# The contents of this file are subject to the terms of the
f3f0c2a5f6009d06350341219d1f38a1644708bcbrianp# Common Development and Distribution License, Version 1.0 only
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron# (the "License"). You may not use this file except in compliance
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron# with the License.
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron#
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron# or http://www.opensolaris.org/os/licensing.
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantz# See the License for the specific language governing permissions
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantz# and limitations under the License.
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantz#
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp# If applicable, add the following below this CDDL HEADER, with the
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron# fields enclosed by brackets "[]" replaced with your own identifying
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron# information: Portions Copyright [yyyy] [name of copyright owner]
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron#
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron# CDDL HEADER END
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron#
3c0c3ae288166a8736593093c636768702abf263aaron#
3c0c3ae288166a8736593093c636768702abf263aaron# uts/sparc/busra/Makefile
3c0c3ae288166a8736593093c636768702abf263aaron# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
b8a843847aae3d9a1838fb8f1de84cd66212f48atrawick# Use is subject to license terms.
b8a843847aae3d9a1838fb8f1de84cd66212f48atrawick#
c8411888a54dd5dbfd8a5d337ebf0e911a789063trawick
c8411888a54dd5dbfd8a5d337ebf0e911a789063trawick#
c8411888a54dd5dbfd8a5d337ebf0e911a789063trawick# This makefile drives the production of the busra
3eb95d6629bb326ae90e5eec693b7e628951751brbb# kernel module.
b9cf7102006ac2ccfebcb78174585986ff127ba9jwoolley#
28caffb98f18c0b9562ac20870f7ab91f3d9a01fjerenkrantz# sparc architecture dependent
28caffb98f18c0b9562ac20870f7ab91f3d9a01fjerenkrantz#
28caffb98f18c0b9562ac20870f7ab91f3d9a01fjerenkrantz
d757628a07145aa711ba75b4e7c7c01a33133ca1jerenkrantz#
d757628a07145aa711ba75b4e7c7c01a33133ca1jerenkrantz# Path to the base of the uts directory tree (usually /usr/src/uts).
d757628a07145aa711ba75b4e7c7c01a33133ca1jerenkrantz#
1585c2979d749ee71edb6a1d57bc9ff6db12a426jerenkrantzUTSBASE = ../..
1585c2979d749ee71edb6a1d57bc9ff6db12a426jerenkrantz
1585c2979d749ee71edb6a1d57bc9ff6db12a426jerenkrantz#
6bdb2c094666367615890147775bb18761216c8dminfrin# Define the module and object file sets.
6bdb2c094666367615890147775bb18761216c8dminfrin#
6bdb2c094666367615890147775bb18761216c8dminfrinMODULE = busra
c069757188a3cd9ab19b05169b005a824b60b6fcaaronOBJECTS = $(BUSRA_OBJS:%=$(OBJS_DIR)/%)
c069757188a3cd9ab19b05169b005a824b60b6fcaaronLINTS = $(BUSRA_OBJS:%.o=$(LINTS_DIR)/%.ln)
c069757188a3cd9ab19b05169b005a824b60b6fcaaronROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
c069757188a3cd9ab19b05169b005a824b60b6fcaaron
c069757188a3cd9ab19b05169b005a824b60b6fcaaron#
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe# Include common rules.
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe#
11ce97701b22d795fd1a5ec3769a3367bc220921wroweinclude $(UTSBASE)/sparc/Makefile.sparc
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe
11ce97701b22d795fd1a5ec3769a3367bc220921wroweCERRWARN += -_gcc=-Wno-unused-label
6cdd5cd95d8323de5cfb912d8fc0df8c5e3d02cejerenkrantzCERRWARN += -_gcc=-Wno-uninitialized
e45d7d4ca98387c2898f8302bafb31e3b4f5a5d8jwoolley
6cdd5cd95d8323de5cfb912d8fc0df8c5e3d02cejerenkrantz#
239ab9d14d3851c2efc1312b3b42c838073533f4jerenkrantz# Define targets
239ab9d14d3851c2efc1312b3b42c838073533f4jerenkrantz#
239ab9d14d3851c2efc1312b3b42c838073533f4jerenkrantzALL_TARGET = $(BINARY)
239ab9d14d3851c2efc1312b3b42c838073533f4jerenkrantzLINT_TARGET = $(MODULE).lint
c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5rbbINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5rbb
c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5rbb#
c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5rbb# Overrides.
c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5rbb#
c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5rbbCFLAGS += $(CCVERBOSE)
b9cf7102006ac2ccfebcb78174585986ff127ba9jwoolleyDEF_BUILDS = $(DEF_BUILDS64)
b9cf7102006ac2ccfebcb78174585986ff127ba9jwoolleyALL_BUILDS = $(ALL_BUILDS64)
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddardCLEANLINTFILES += $(LINT64_FILES)
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard#
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard# Default build targets.
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard#
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard.KEEP_STATE:
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddarddef: $(DEF_DEPS)
52617e76a53b1d90da027a5311790e1ccef8f60ftrawick
b584ec31a47334b1253f4a5ad73f023336ab2f28jwoolleyall: $(ALL_DEPS)
b584ec31a47334b1253f4a5ad73f023336ab2f28jwoolley
b584ec31a47334b1253f4a5ad73f023336ab2f28jwoolleyclean: $(CLEAN_DEPS)
b584ec31a47334b1253f4a5ad73f023336ab2f28jwoolley
b584ec31a47334b1253f4a5ad73f023336ab2f28jwoolleyclobber: $(CLOBBER_DEPS)
7ac88dc1ac207b9a434fd76c0406651d68018d69rederpj
7ac88dc1ac207b9a434fd76c0406651d68018d69rederpjlint: $(LINT_DEPS)
52617e76a53b1d90da027a5311790e1ccef8f60ftrawick
52617e76a53b1d90da027a5311790e1ccef8f60ftrawickmodlintlib: $(MODLINTLIB_DEPS) lint64
f905b21d99b264dbf26acc30b430ebe92838cdcejerenkrantz
d157b208942316e96c34fa8b2222ed4cc2e56783trawickclean.lint: $(CLEAN_LINT_DEPS)
d157b208942316e96c34fa8b2222ed4cc2e56783trawick
d157b208942316e96c34fa8b2222ed4cc2e56783trawickinstall: $(INSTALL_DEPS)
d157b208942316e96c34fa8b2222ed4cc2e56783trawick
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick#
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick# Include common targets.
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick#
dc903d97a896d4e414efb1cb49f22ce00a49f070trawickinclude $(UTSBASE)/sparc/Makefile.targ
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick