Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
efe780dcf13b2b95effabf897d694d8f23feac74trawick#
2021e9833981f994f862e7157cb4b96cad797362trawick# The contents of this file are subject to the terms of the
2021e9833981f994f862e7157cb4b96cad797362trawick# Common Development and Distribution License (the "License").
2021e9833981f994f862e7157cb4b96cad797362trawick# You may not use this file except in compliance with the License.
efe780dcf13b2b95effabf897d694d8f23feac74trawick#
793214f67dede32edfd9ee96c664ead04d175cbbjfclere# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin# or http://www.opensolaris.org/os/licensing.
aba55cd5d565f6f00a3d0e17c5724fdd3a50827ftrawick# See the License for the specific language governing permissions
aba55cd5d565f6f00a3d0e17c5724fdd3a50827ftrawick# and limitations under the License.
aba55cd5d565f6f00a3d0e17c5724fdd3a50827ftrawick#
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# When distributing Covered Code, include this CDDL HEADER in each
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# If applicable, add the following below this CDDL HEADER, with the
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand# fields enclosed by brackets "[]" replaced with your own identifying
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand# information: Portions Copyright [yyyy] [name of copyright owner]
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand#
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand# CDDL HEADER END
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener#
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener#
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener# uts/sun4u/sf/Makefile
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza#
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Use is subject to license terms.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
56589be3d7a3e9343370df240010c6928cc78b39jkaluza#
56589be3d7a3e9343370df240010c6928cc78b39jkaluza# This makefile drives the production of the sf driver kernel module.
56589be3d7a3e9343370df240010c6928cc78b39jkaluza#
8c4967445b49a1612b3f98c1dada65e597ecfe26trawick# sun4u architecture dependent
8c4967445b49a1612b3f98c1dada65e597ecfe26trawick#
8c4967445b49a1612b3f98c1dada65e597ecfe26trawick
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawick#
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawick# Path to the base of the uts directory tree (usually /usr/src/uts).
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawick#
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawickUTSBASE = ../..
6001d914962deabb83a46251001612e969bdf67ajim
6001d914962deabb83a46251001612e969bdf67ajim#
6001d914962deabb83a46251001612e969bdf67ajim# Define the module and object file sets.
c4e8006db0cf457c68876d7d4c30dcc451d8cba7jkaluza#
c4e8006db0cf457c68876d7d4c30dcc451d8cba7jkaluzaMODULE = sf
c4e8006db0cf457c68876d7d4c30dcc451d8cba7jkaluzaOBJECTS = $(SF_OBJS:%=$(OBJS_DIR)/%)
652bacc79dd7f980249784cc8c4838e8f1de7e8acovenerLINTS = $(SF_OBJS:%.o=$(LINTS_DIR)/%.ln)
652bacc79dd7f980249784cc8c4838e8f1de7e8acovenerROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
652bacc79dd7f980249784cc8c4838e8f1de7e8acovenerCONF_SRCDIR = $(UTSBASE)/sun/io/scsi/adapters
652bacc79dd7f980249784cc8c4838e8f1de7e8acovener
f4db898517ccc6ef1a403630de56918286d3a47eminfrin
f4db898517ccc6ef1a403630de56918286d3a47eminfrin#
f4db898517ccc6ef1a403630de56918286d3a47eminfrin# Include common rules.
28a723b775c7666281298eab813c63ac42270f95humbedooh#
28a723b775c7666281298eab813c63ac42270f95humbedoohinclude $(UTSBASE)/sun4u/Makefile.sun4u
28a723b775c7666281298eab813c63ac42270f95humbedooh
067698ad30941e38ef5d7f95f1c2736c2ebc5cb9humbedooh#
067698ad30941e38ef5d7f95f1c2736c2ebc5cb9humbedooh# Define targets
067698ad30941e38ef5d7f95f1c2736c2ebc5cb9humbedooh#
7a437ce535a5fac890296402ba483c2f41bb6500trawickALL_TARGET = $(BINARY) $(SRC_CONFFILE)
7a437ce535a5fac890296402ba483c2f41bb6500trawickLINT_TARGET = $(MODULE).lint
7a437ce535a5fac890296402ba483c2f41bb6500trawickINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
d8a6de5eec06d4136839c8f7a56a6ab5acd2d3behumbedooh
6e1e45624d6f32110383bb0bd06c254c1dba8123humbedooh#
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc# Overrides
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc#
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletcCFLAGS += $(CCVERBOSE)
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc
921d32d80d8271da08f12fc374a69cb36d1d63b3covener#
921d32d80d8271da08f12fc374a69cb36d1d63b3covener# Define dependency on scsi
921d32d80d8271da08f12fc374a69cb36d1d63b3covener#
3e097af23e40c45aa32602545155f0964ab5c69dcovenerLDFLAGS += -dy -N misc/scsi
3e097af23e40c45aa32602545155f0964ab5c69dcovener
3e097af23e40c45aa32602545155f0964ab5c69dcovener#
faea99bb676ec50ece38da6b1879aa37546483a2covener# For now, disable these lint checks; maintainers should endeavor
faea99bb676ec50ece38da6b1879aa37546483a2covener# to investigate and remove these for maximum lint coverage.
faea99bb676ec50ece38da6b1879aa37546483a2covener# Please do not carry these forward to new Makefiles.
86a5604df726638a2b8085e993b4b79c4b3a5262covener#
faea99bb676ec50ece38da6b1879aa37546483a2covenerLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
344f755169e100ea8ce51e847a0bf30a13b46917covenerLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
344f755169e100ea8ce51e847a0bf30a13b46917covenerLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
344f755169e100ea8ce51e847a0bf30a13b46917covener
fcd5c4e9e126e867eb270ed2d4138348cb1e46e5trawickCERRWARN += -_gcc=-Wno-unused-value
fcd5c4e9e126e867eb270ed2d4138348cb1e46e5trawickCERRWARN += -_gcc=-Wno-parentheses
fcd5c4e9e126e867eb270ed2d4138348cb1e46e5trawickCERRWARN += -_gcc=-Wno-uninitialized
50cfe8bbbaf4279375802531268e2bf0155215fetrawick
50cfe8bbbaf4279375802531268e2bf0155215fetrawick#
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# Default build targets.
50cfe8bbbaf4279375802531268e2bf0155215fetrawick#
5cb0075c38fc868730c4981e346845dad6c7ea58chrisd.KEEP_STATE:
5cb0075c38fc868730c4981e346845dad6c7ea58chrisd
5cb0075c38fc868730c4981e346845dad6c7ea58chrisddef: $(DEF_DEPS)
5cb0075c38fc868730c4981e346845dad6c7ea58chrisd
ffaa9771884a8664f0e6267efbe9d26b40000461trawickall: $(ALL_DEPS)
ffaa9771884a8664f0e6267efbe9d26b40000461trawick
ffaa9771884a8664f0e6267efbe9d26b40000461trawickclean: $(CLEAN_DEPS)
ffaa9771884a8664f0e6267efbe9d26b40000461trawick
f87299dab99bc04b51a6b8cad51b6795db862c0atrawickclobber: $(CLOBBER_DEPS)
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick
f87299dab99bc04b51a6b8cad51b6795db862c0atrawicklint: $(LINT_DEPS)
4d12805e6c18253040223ea637acd6b3b3c18f60jorton
4d12805e6c18253040223ea637acd6b3b3c18f60jortonmodlintlib: $(MODLINTLIB_DEPS)
4d12805e6c18253040223ea637acd6b3b3c18f60jorton
4d12805e6c18253040223ea637acd6b3b3c18f60jortonclean.lint: $(CLEAN_LINT_DEPS)
4d12805e6c18253040223ea637acd6b3b3c18f60jorton
e5d909f2b06bd880fb3675cd49363df981caa631trawickinstall: $(INSTALL_DEPS)
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener#
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener# Include common targets.
cb666b29f81df1d11d65002250153353568021fccovener#
cb666b29f81df1d11d65002250153353568021fccovenerinclude $(UTSBASE)/sun4u/Makefile.targ
cb666b29f81df1d11d65002250153353568021fccovener