Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
337d121aa0049cbd0ae664f5d1c431d862f1d49ejim#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# The contents of this file are subject to the terms of the
111c8f806b790a72ad0244aae35252470662e10drpluem# Common Development and Distribution License (the "License").
111c8f806b790a72ad0244aae35252470662e10drpluem# You may not use this file except in compliance with the License.
111c8f806b790a72ad0244aae35252470662e10drpluem#
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# or http://www.opensolaris.org/os/licensing.
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# See the License for the specific language governing permissions
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# and limitations under the License.
37b35c7feec8216b5119c0c083990cfe4e400769rpluem#
37b35c7feec8216b5119c0c083990cfe4e400769rpluem# When distributing Covered Code, include this CDDL HEADER in each
37b35c7feec8216b5119c0c083990cfe4e400769rpluem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd# If applicable, add the following below this CDDL HEADER, with the
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd# fields enclosed by brackets "[]" replaced with your own identifying
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd# information: Portions Copyright [yyyy] [name of copyright owner]
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd#
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluem# CDDL HEADER END
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluem#
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluem#
3ff68b9ee78262779dbedf791576d35fdd229f7brpluem# uts/sparc/tl/Makefile
3ff68b9ee78262779dbedf791576d35fdd229f7brpluem# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3ff68b9ee78262779dbedf791576d35fdd229f7brpluem# Use is subject to license terms.
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem#
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem#
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem# This makefile drives the production of the tl driver
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem#
38c37050250a232748df499cb74e2bec82cd791aminfrin# sparc architecture dependent
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrin
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrinUTSBASE = ../..
38c37050250a232748df499cb74e2bec82cd791aminfrin
38c37050250a232748df499cb74e2bec82cd791aminfrin#
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjorton# Define the module and object file sets.
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjorton#
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjortonMODULE = tl
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jimOBJECTS = $(TL_OBJS:%=$(OBJS_DIR)/%)
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jimLINTS = $(TL_OBJS:%.o=$(LINTS_DIR)/%.ln)
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jimROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jimCONF_SRCDIR = $(UTSBASE)/common/io
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin# Include common rules.
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrininclude $(UTSBASE)/sparc/Makefile.sparc
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin#
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin# Define targets
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin#
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinALL_TARGET = $(BINARY) $(SRC_CONFILE)
50c06405bc48121db2913925549407fd3e79bcedmturkLINT_TARGET = $(MODULE).lint
50c06405bc48121db2913925549407fd3e79bcedmturkINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin#
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin# lint pass one enforcement
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin#
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrinCFLAGS += $(CCVERBOSE)
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim#
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim# Depends on ip; this is for sharing common option management code
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim# which happens to live in "ip" kernel module only. Needed to do
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin# AF_UNIX socket options.
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin#
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrinLDFLAGS += -dy -Ndrv/ip
973a0e8715651f0a56148d315100169453c4d89eminfrin
973a0e8715651f0a56148d315100169453c4d89eminfrin#
973a0e8715651f0a56148d315100169453c4d89eminfrin# For now, disable these lint checks; maintainers should endeavor
973a0e8715651f0a56148d315100169453c4d89eminfrin# to investigate and remove these for maximum lint coverage.
973a0e8715651f0a56148d315100169453c4d89eminfrin# Please do not carry these forward to new Makefiles.
dec02391360e503cd3437d16bed765dc653b9de5minfrin#
dec02391360e503cd3437d16bed765dc653b9de5minfrinLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
dec02391360e503cd3437d16bed765dc653b9de5minfrinLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
dec02391360e503cd3437d16bed765dc653b9de5minfrinLINTTAGS += -erroff=E_STATIC_UNUSED
dec02391360e503cd3437d16bed765dc653b9de5minfrin
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinCERRWARN += -_gcc=-Wno-unused-function
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinCERRWARN += -_gcc=-Wno-parentheses
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinCERRWARN += -_gcc=-Wno-uninitialized
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniq
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniq#
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq# Default build targets.
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq#
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin.KEEP_STATE:
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrindef: $(DEF_DEPS)
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrinall: $(ALL_DEPS)
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrinclean: $(CLEAN_DEPS)
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrinclobber: $(CLOBBER_DEPS)
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrinlint: $(LINT_DEPS)
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rpluemmodlintlib: $(MODLINTLIB_DEPS)
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rpluem
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rpluemclean.lint: $(CLEAN_LINT_DEPS)
9a60abfb324ea66f9d7089b856f315efeb7056b4trawick
9a60abfb324ea66f9d7089b856f315efeb7056b4trawickinstall: $(INSTALL_DEPS)
9a60abfb324ea66f9d7089b856f315efeb7056b4trawick
9a60abfb324ea66f9d7089b856f315efeb7056b4trawick#
686ce4eade942e515b1725d0c9751da36b759a6ctrawick# Include common targets.
686ce4eade942e515b1725d0c9751da36b759a6ctrawick#
686ce4eade942e515b1725d0c9751da36b759a6ctrawickinclude $(UTSBASE)/sparc/Makefile.targ
1ce78cf71b5baaf2c1ab48e818cb1f2397df5010trawick