Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright# uts/sparc/eri/Makefile
380acbbe9da7dc2cbab5b6db169ec6968dd927faGordon Ross#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#ident "%Z%%M% %I% %E% SMI"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown# This makefile drives the production of the eri driver
8d7e41661dc4633488e93b13363137523ce59977jose borrego# kernel module.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States# Path to the base of the uts directory tree (usually /usr/src/uts).
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
8d7e41661dc4633488e93b13363137523ce59977jose borregoUTSBASE = ../..
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown#
8d7e41661dc4633488e93b13363137523ce59977jose borrego# Define the module and object file sets.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMODULE = eri
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwOBJECTS = $(ERI_OBJS:%=$(OBJS_DIR)/%)
3db3f65c6274eb042354801a308c8e9bc4994553amwLINTS = $(ERI_OBJS:%.o=$(LINTS_DIR)/%.ln)
8d96b23e24cf8db8618f698bfa580a25d7dc6029Alan WrightROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
8d7e41661dc4633488e93b13363137523ce59977jose borrego# Include common rules.
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude $(UTSBASE)/sparc/Makefile.sparc
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Define targets
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
fe1c642d06e14b412cd83ae2179303186ab08972Bill KrierALL_TARGET = $(BINARY)
fe1c642d06e14b412cd83ae2179303186ab08972Bill KrierLINT_TARGET = $(MODULE).lint
8d7e41661dc4633488e93b13363137523ce59977jose borregoINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
8d7e41661dc4633488e93b13363137523ce59977jose borrego# Overrides
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
8d7e41661dc4633488e93b13363137523ce59977jose borregoALL_BUILDS = $(ALL_BUILDSONLY64)
a0aa776e20803c84edd153d9cb584fd67163aef3Alan WrightDEF_BUILDS = $(DEF_BUILDSONLY64)
380acbbe9da7dc2cbab5b6db169ec6968dd927faGordon RossCLEANLINTFILES += $(LINT32_FILES)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
1fdeec650620e8498c06f832ea4bd2292f7e9632joyce mcintosh#
2c1b14e51525da2c09064641416fc4aed457c72fjose borrego# Overrides.
a0aa776e20803c84edd153d9cb584fd67163aef3Alan Wright#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCFLAGS += $(CCVERBOSE)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb#
a0aa776e20803c84edd153d9cb584fd67163aef3Alan Wright# For now, disable these lint checks; maintainers should endeavor
8d7e41661dc4633488e93b13363137523ce59977jose borrego# to investigate and remove these for maximum lint coverage.
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# Please do not carry these forward to new Makefiles.
12b65585e720714b31036daaa2b30eb76014048eGordon Ross#
12b65585e720714b31036daaa2b30eb76014048eGordon RossLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
12b65585e720714b31036daaa2b30eb76014048eGordon RossLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
8d7e41661dc4633488e93b13363137523ce59977jose borregoLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
8d7e41661dc4633488e93b13363137523ce59977jose borregoLINTTAGS += -erroff=E_STATIC_UNUSED
8d7e41661dc4633488e93b13363137523ce59977jose borregoLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
8d7e41661dc4633488e93b13363137523ce59977jose borrego# Default build targets.
8d7e41661dc4633488e93b13363137523ce59977jose borrego#
8d7e41661dc4633488e93b13363137523ce59977jose borrego.KEEP_STATE:
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregodef: $(DEF_DEPS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregoall: $(ALL_DEPS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregoclean: $(CLEAN_DEPS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregoclobber: $(CLOBBER_DEPS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregolint: $(LINT_DEPS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwmodlintlib: $(MODLINTLIB_DEPS) lint32
8d7e41661dc4633488e93b13363137523ce59977jose borrego
8d7e41661dc4633488e93b13363137523ce59977jose borregoclean.lint: $(CLEAN_LINT_DEPS)
8d7e41661dc4633488e93b13363137523ce59977jose borrego
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinstall: $(INSTALL_DEPS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Include common targets.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude $(UTSBASE)/sparc/Makefile.targ
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw