Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# CDDL HEADER START
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
14763a0db22322626dd8cd59dfbc3a4fcc655d99trawick# The contents of this file are subject to the terms of the
c2549f0b237ac86f3623a601a766969d805dbc2and# Common Development and Distribution License (the "License").
c2549f0b237ac86f3623a601a766969d805dbc2and# You may not use this file except in compliance with the License.
c2549f0b237ac86f3623a601a766969d805dbc2and#
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# or http://www.opensolaris.org/os/licensing.
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# See the License for the specific language governing permissions
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# and limitations under the License.
7efe7de73c89c26518714a504359244d03cfbbc5jorton#
7efe7de73c89c26518714a504359244d03cfbbc5jorton# When distributing Covered Code, include this CDDL HEADER in each
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# If applicable, add the following below this CDDL HEADER, with the
7efe7de73c89c26518714a504359244d03cfbbc5jorton# fields enclosed by brackets "[]" replaced with your own identifying
d60027cde3289d3ef35bc9d815882975eb60e6abjorton# information: Portions Copyright [yyyy] [name of copyright owner]
d60027cde3289d3ef35bc9d815882975eb60e6abjorton#
d60027cde3289d3ef35bc9d815882975eb60e6abjorton# CDDL HEADER END
d60027cde3289d3ef35bc9d815882975eb60e6abjorton#
504498fd20729dcc29dfbfb78e64a8521c6a767ajerenkrantz#
504498fd20729dcc29dfbfb78e64a8521c6a767ajerenkrantz# uts/sun4u/sf/Makefile
504498fd20729dcc29dfbfb78e64a8521c6a767ajerenkrantz#
269e0a31aa0f6aafe7292e932a182ccb535e55a9trawick# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
269e0a31aa0f6aafe7292e932a182ccb535e55a9trawick# Use is subject to license terms.
269e0a31aa0f6aafe7292e932a182ccb535e55a9trawick# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
263702cf74538e1c6d31b58baae20ac168a45712minfrin#
263702cf74538e1c6d31b58baae20ac168a45712minfrin# This makefile drives the production of the sf driver kernel module.
263702cf74538e1c6d31b58baae20ac168a45712minfrin#
50e23f7dca0da305e324349792fb7c27d8e04b60minfrin# sun4u architecture dependent
50e23f7dca0da305e324349792fb7c27d8e04b60minfrin#
50e23f7dca0da305e324349792fb7c27d8e04b60minfrin
50e23f7dca0da305e324349792fb7c27d8e04b60minfrin#
50e23f7dca0da305e324349792fb7c27d8e04b60minfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
217f75ac21f879b5d71892790e536cd80184db8dminfrin#
217f75ac21f879b5d71892790e536cd80184db8dminfrinUTSBASE = ../..
217f75ac21f879b5d71892790e536cd80184db8dminfrin
217f75ac21f879b5d71892790e536cd80184db8dminfrin#
c1ba3b0ac00c4fee2f4b950dfdb167b39611b661nd# Define the module and object file sets.
c1ba3b0ac00c4fee2f4b950dfdb167b39611b661nd#
c1ba3b0ac00c4fee2f4b950dfdb167b39611b661ndMODULE = sf
b95a84193578c904426cef6dda84f7118a400a16jimOBJECTS = $(SF_OBJS:%=$(OBJS_DIR)/%)
b95a84193578c904426cef6dda84f7118a400a16jimLINTS = $(SF_OBJS:%.o=$(LINTS_DIR)/%.ln)
b95a84193578c904426cef6dda84f7118a400a16jimROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
b95a84193578c904426cef6dda84f7118a400a16jimCONF_SRCDIR = $(UTSBASE)/sun/io/scsi/adapters
cdd8290ae4505c17de6aff3acd1b9bd48d2c84e0ake
cdd8290ae4505c17de6aff3acd1b9bd48d2c84e0ake
03a3ed87983471816561562f957390ed935d7b3bnd#
03a3ed87983471816561562f957390ed935d7b3bnd# Include common rules.
03a3ed87983471816561562f957390ed935d7b3bnd#
03a3ed87983471816561562f957390ed935d7b3bndinclude $(UTSBASE)/sun4u/Makefile.sun4u
c533ecac2227dc228070e686fb14dc6860f497f8nd
33c6c050363f8b571cec0477008390a95b41523and#
33c6c050363f8b571cec0477008390a95b41523and# Define targets
33c6c050363f8b571cec0477008390a95b41523and#
68ed4d659ab8f6deb93fe6d520b5d3ee65645493ndALL_TARGET = $(BINARY) $(SRC_CONFFILE)
68ed4d659ab8f6deb93fe6d520b5d3ee65645493ndLINT_TARGET = $(MODULE).lint
68ed4d659ab8f6deb93fe6d520b5d3ee65645493ndINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
68ed4d659ab8f6deb93fe6d520b5d3ee65645493nd
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd#
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd# Overrides
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd#
2bfe4d90e1d374e14fd5db16a799e6f5e0944748ndCFLAGS += $(CCVERBOSE)
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd
2bfe4d90e1d374e14fd5db16a799e6f5e0944748nd#
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and# Define dependency on scsi
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and#
97789c9dcc4cc724c9b80fb9b428d128c58e3e0andLDFLAGS += -dy -N misc/scsi
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and
97789c9dcc4cc724c9b80fb9b428d128c58e3e0and#
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# For now, disable these lint checks; maintainers should endeavor
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# to investigate and remove these for maximum lint coverage.
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# Please do not carry these forward to new Makefiles.
41369ed0bc7f2db6272278c27025f6aabf97fe63nd#
41369ed0bc7f2db6272278c27025f6aabf97fe63ndLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
41369ed0bc7f2db6272278c27025f6aabf97fe63ndLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
496f8f3966319d43455675630a849bae019d2a32ndLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
496f8f3966319d43455675630a849bae019d2a32nd
13ed2a88decd6dbe13b11467e7f648f2996b7a70jortonCERRWARN += -_gcc=-Wno-unused-value
13ed2a88decd6dbe13b11467e7f648f2996b7a70jortonCERRWARN += -_gcc=-Wno-parentheses
edc6a3f9716dedb2d3f365820544f729ef666ab9jortonCERRWARN += -_gcc=-Wno-uninitialized
edc6a3f9716dedb2d3f365820544f729ef666ab9jorton
13ed2a88decd6dbe13b11467e7f648f2996b7a70jorton#
9e8c2603790f490398a0fabf97866b6815748a54ianh# Default build targets.
9e8c2603790f490398a0fabf97866b6815748a54ianh#
9e8c2603790f490398a0fabf97866b6815748a54ianh.KEEP_STATE:
9e8c2603790f490398a0fabf97866b6815748a54ianh
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fnddef: $(DEF_DEPS)
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fnd
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fndall: $(ALL_DEPS)
5fcef4390e6414ad7754c2f004974982bc33cac2nd
5fcef4390e6414ad7754c2f004974982bc33cac2ndclean: $(CLEAN_DEPS)
5fcef4390e6414ad7754c2f004974982bc33cac2nd
5fcef4390e6414ad7754c2f004974982bc33cac2ndclobber: $(CLOBBER_DEPS)
46820eca7dc57ae17c235389a0cd39140a5db8b5nd
46820eca7dc57ae17c235389a0cd39140a5db8b5ndlint: $(LINT_DEPS)
46820eca7dc57ae17c235389a0cd39140a5db8b5nd
46820eca7dc57ae17c235389a0cd39140a5db8b5ndmodlintlib: $(MODLINTLIB_DEPS)
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052ndclean.lint: $(CLEAN_LINT_DEPS)
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd
56d70402724e1872992bcac08b802681cf762d9andinstall: $(INSTALL_DEPS)
56d70402724e1872992bcac08b802681cf762d9and
56d70402724e1872992bcac08b802681cf762d9and#
bfbca4e24db7fef55c0ab787aca9f89594530b45geoff# Include common targets.
bfbca4e24db7fef55c0ab787aca9f89594530b45geoff#
bfbca4e24db7fef55c0ab787aca9f89594530b45geoffinclude $(UTSBASE)/sun4u/Makefile.targ
bfbca4e24db7fef55c0ab787aca9f89594530b45geoff