Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
6736c640e65e06990ef33af71ee81fac4df4ff5fjim#
a47a604a8bd3897c793e22c119150d085a7d2243humbedooh# The contents of this file are subject to the terms of the
a47a604a8bd3897c793e22c119150d085a7d2243humbedooh# Common Development and Distribution License (the "License").
a47a604a8bd3897c793e22c119150d085a7d2243humbedooh# You may not use this file except in compliance with the License.
fe1ef277fc441864dade1856a858b79242f905c1humbedooh#
a47a604a8bd3897c793e22c119150d085a7d2243humbedooh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh# or http://www.opensolaris.org/os/licensing.
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh# See the License for the specific language governing permissions
74e7a30182af5e68f14ccb8d57918b22b982db8bhumbedooh# and limitations under the License.
10961a2f60207cb873d889bb28b1f0ef707a4311humbedooh#
10961a2f60207cb873d889bb28b1f0ef707a4311humbedooh# When distributing Covered Code, include this CDDL HEADER in each
10961a2f60207cb873d889bb28b1f0ef707a4311humbedooh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0448378b899e8df0c060360f17c0af692adf17bchumbedooh# If applicable, add the following below this CDDL HEADER, with the
0448378b899e8df0c060360f17c0af692adf17bchumbedooh# fields enclosed by brackets "[]" replaced with your own identifying
0448378b899e8df0c060360f17c0af692adf17bchumbedooh# information: Portions Copyright [yyyy] [name of copyright owner]
60a765cccbd3f3b5997b65b0034220c79f78369etrawick#
60a765cccbd3f3b5997b65b0034220c79f78369etrawick# CDDL HEADER END
60a765cccbd3f3b5997b65b0034220c79f78369etrawick#
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh#
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh# uts/sparc/tirdwr/Makefile
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
e7ca863b04ee2a7aea7738cadbf51ce5e6c5245dhumbedooh# Use is subject to license terms.
91654e263480f0fdc2a03d782ff23f8dad07cf79humbedooh#
91814c869ca39ce45dfe147307d2a831cac6ecbehumbedooh
91654e263480f0fdc2a03d782ff23f8dad07cf79humbedooh#
79c5787b92ac5f0e1cc82393816c77a006399316trawick# This makefile drives the production of the tirdwr streams kernel
79c5787b92ac5f0e1cc82393816c77a006399316trawick# module.
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
79c5787b92ac5f0e1cc82393816c77a006399316trawick# sparc architecture dependent
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
79c5787b92ac5f0e1cc82393816c77a006399316trawick
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
79c5787b92ac5f0e1cc82393816c77a006399316trawick# Path to the base of the uts directory tree (usually /usr/src/uts).
79c5787b92ac5f0e1cc82393816c77a006399316trawick#
12b987b969f03ef98d9175a53d849ab62f5684fecovenerUTSBASE = ../..
12b987b969f03ef98d9175a53d849ab62f5684fecovener
e20c6ecbd465cd7dabb44acea6afafc7925f3a03sf#
e20c6ecbd465cd7dabb44acea6afafc7925f3a03sf# Define the module and object file sets.
7025945569c7fbb49f2e64e0d26f861d22a54675jorton#
099c357f282d4aebf2b32264f7dce6ffc0497c37sfMODULE = tirdwr
099c357f282d4aebf2b32264f7dce6ffc0497c37sfOBJECTS = $(TIRDWR_OBJS:%=$(OBJS_DIR)/%)
099c357f282d4aebf2b32264f7dce6ffc0497c37sfLINTS = $(TIRDWR_OBJS:%.o=$(LINTS_DIR)/%.ln)
099c357f282d4aebf2b32264f7dce6ffc0497c37sfROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
50f8c80eb4d3989ebf3f1341aeef4d2d302af162sf
50f8c80eb4d3989ebf3f1341aeef4d2d302af162sf#
4bb0a88a01fb7b494bb02a8b881b5eab0308bda6sf# Include common rules.
50f8c80eb4d3989ebf3f1341aeef4d2d302af162sf#
7b395e4e878c28a4784919cfd2e704ddd14a3390jortoninclude $(UTSBASE)/sparc/Makefile.sparc
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton#
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton# Define targets
536e48c08d674acac5d44929318f2ad928edc361jorton#
536e48c08d674acac5d44929318f2ad928edc361jortonALL_TARGET = $(BINARY)
e81785da447b469da66f218b3f0244aab507958djortonLINT_TARGET = $(MODULE).lint
e81785da447b469da66f218b3f0244aab507958djortonINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton#
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton# lint pass one enforcement
459eaf0826f995b73a0dc066f59ea10d2824e72dsf#
459eaf0826f995b73a0dc066f59ea10d2824e72dsfCFLAGS += $(CCVERBOSE)
459eaf0826f995b73a0dc066f59ea10d2824e72dsf
459eaf0826f995b73a0dc066f59ea10d2824e72dsf#
53e9b27aba029b18be814df40bcf6f0428771d1efuankg# For now, disable these lint checks; maintainers should endeavor
53e9b27aba029b18be814df40bcf6f0428771d1efuankg# to investigate and remove these for maximum lint coverage.
53e9b27aba029b18be814df40bcf6f0428771d1efuankg# Please do not carry these forward to new Makefiles.
53e9b27aba029b18be814df40bcf6f0428771d1efuankg#
53e9b27aba029b18be814df40bcf6f0428771d1efuankgLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
6bb524f1895f30265a1431afc460977d391cb36bsfLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
6bb524f1895f30265a1431afc460977d391cb36bsf
ca61ccd0c306c2c72df153688ba1b49f3eceed80sfCERRWARN += -_gcc=-Wno-parentheses
6bb524f1895f30265a1431afc460977d391cb36bsf
b40bfdb714672f972887f9f1f1e154e00125bb68covener#
b40bfdb714672f972887f9f1f1e154e00125bb68covener# Default build targets.
b40bfdb714672f972887f9f1f1e154e00125bb68covener#
b40bfdb714672f972887f9f1f1e154e00125bb68covener.KEEP_STATE:
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrindef: $(DEF_DEPS)
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrinall: $(ALL_DEPS)
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin
23f1535d6a60817d2846bac0aea230ea475d7dccminfrinclean: $(CLEAN_DEPS)
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin
23f1535d6a60817d2846bac0aea230ea475d7dccminfrinclobber: $(CLOBBER_DEPS)
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjunglint: $(LINT_DEPS)
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjungmodlintlib: $(MODLINTLIB_DEPS)
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjungclean.lint: $(CLEAN_LINT_DEPS)
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjunginstall: $(INSTALL_DEPS)
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick#
0827cb14e550f6f65018431c22c2c913631c8f25kbrand# Include common targets.
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick#
ae600ca541efc686b34f8b1f21bd3d0741d37674covenerinclude $(UTSBASE)/sparc/Makefile.targ
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick