Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
5d92fff82718cd018f0b61a10b9ad4d2b8064c95rpluem#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
4acb0cd5536553055c7c6996414cec00b0191e1djim#
4acb0cd5536553055c7c6996414cec00b0191e1djim# The contents of this file are subject to the terms of the
55929f765b95e354092ac17238718e471c252ebbsf# Common Development and Distribution License (the "License").
55929f765b95e354092ac17238718e471c252ebbsf# You may not use this file except in compliance with the License.
2ce2fc3287632e20f1b8759aa17e571f68c6fe6dsf#
2ce2fc3287632e20f1b8759aa17e571f68c6fe6dsf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2ce2fc3287632e20f1b8759aa17e571f68c6fe6dsf# or http://www.opensolaris.org/os/licensing.
49aa87d735a13ae3d04012ee0df91ddb51f7c36esf# See the License for the specific language governing permissions
49aa87d735a13ae3d04012ee0df91ddb51f7c36esf# and limitations under the License.
49aa87d735a13ae3d04012ee0df91ddb51f7c36esf#
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf# When distributing Covered Code, include this CDDL HEADER in each
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf# If applicable, add the following below this CDDL HEADER, with the
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf# fields enclosed by brackets "[]" replaced with your own identifying
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf# information: Portions Copyright [yyyy] [name of copyright owner]
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf#
b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48sf# CDDL HEADER END
0ab15ffa17f588723d0c310af78b505bf4e8a953sf#
0ab15ffa17f588723d0c310af78b505bf4e8a953sf#
0ab15ffa17f588723d0c310af78b505bf4e8a953sf# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1dee19645438f8e3cb80fe86e1aaade04d093e45sf# Use is subject to license terms.
1dee19645438f8e3cb80fe86e1aaade04d093e45sf#
1dee19645438f8e3cb80fe86e1aaade04d093e45sf
9f478b1ce1e6296ad7a244d9d2eaa6af79cfdfbfsf#
9f478b1ce1e6296ad7a244d9d2eaa6af79cfdfbfsf# This makefile drives the production of the tvhci kernel
9f478b1ce1e6296ad7a244d9d2eaa6af79cfdfbfsf# driver for testing MPxIO interfaces
9bec939825399ac2816ea0d912d2e3c3b2ed91f4sf#
9bec939825399ac2816ea0d912d2e3c3b2ed91f4sf
9bec939825399ac2816ea0d912d2e3c3b2ed91f4sf#
5cca2a55e4a1cabdc2ca0db3bee456f27cf4c69eminfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
5cca2a55e4a1cabdc2ca0db3bee456f27cf4c69eminfrin#
5cca2a55e4a1cabdc2ca0db3bee456f27cf4c69eminfrinUTSBASE = ../..
33510984c759eb3da154ceb0db9b75fa0031d3b4sf
33510984c759eb3da154ceb0db9b75fa0031d3b4sf#
33510984c759eb3da154ceb0db9b75fa0031d3b4sf# Define the module and object file sets.
33510984c759eb3da154ceb0db9b75fa0031d3b4sf#
33510984c759eb3da154ceb0db9b75fa0031d3b4sfMODULE = tvhci
33510984c759eb3da154ceb0db9b75fa0031d3b4sfOBJECTS = $(TVHCI_OBJS:%=$(OBJS_DIR)/%)
33510984c759eb3da154ceb0db9b75fa0031d3b4sfLINTS = $(TVHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
33510984c759eb3da154ceb0db9b75fa0031d3b4sfROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
33510984c759eb3da154ceb0db9b75fa0031d3b4sf
6b15044d54a096e6323ff1540f1a491e8de7622dsf#
6b15044d54a096e6323ff1540f1a491e8de7622dsf# Include common rules.
6b15044d54a096e6323ff1540f1a491e8de7622dsf#
287b17b746df229d6211c624b8a3e1edda21cecdsfinclude $(UTSBASE)/intel/Makefile.intel
287b17b746df229d6211c624b8a3e1edda21cecdsf
287b17b746df229d6211c624b8a3e1edda21cecdsfCLOBBERFILES += $(MODULE)
de2d327e43e0f17cdb64851beafecba96a0ed962sf
de2d327e43e0f17cdb64851beafecba96a0ed962sf#
de2d327e43e0f17cdb64851beafecba96a0ed962sf# Define targets
de2d327e43e0f17cdb64851beafecba96a0ed962sf#
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esfALL_TARGET = $(BINARY)
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esfLINT_TARGET = $(MODULE).lint
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esfINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esf
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esf#
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esf# For now, disable these lint checks; maintainers should endeavor
c1ea0100af157a0d4e4a3de323f32dbfac4e5b6esf# to investigate and remove these for maximum lint coverage.
b44565f239485673d9486068588a5fb3af008be9sf# Please do not carry these forward to new Makefiles.
b44565f239485673d9486068588a5fb3af008be9sf#
b44565f239485673d9486068588a5fb3af008be9sfLINTTAGS += -erroff=E_STATIC_UNUSED
b44565f239485673d9486068588a5fb3af008be9sfCERRWARN += -_gcc=-Wno-unused-function
bf99d597a964add76124fc185892e04733a02969sf
bf99d597a964add76124fc185892e04733a02969sf#
bf99d597a964add76124fc185892e04733a02969sf# Default build targets.
876167dba234e2c7065895c87b77a8c57bdcf754sf#
876167dba234e2c7065895c87b77a8c57bdcf754sf.KEEP_STATE:
876167dba234e2c7065895c87b77a8c57bdcf754sf
9d4ce88bcd21b01619a31c53db11a51c2a1e9717sfdef: $(DEF_DEPS)
9d4ce88bcd21b01619a31c53db11a51c2a1e9717sf
9d4ce88bcd21b01619a31c53db11a51c2a1e9717sfall: $(ALL_DEPS)
2792ea4d5c772a6bc19dece2e098b8125bf7184cjim
2792ea4d5c772a6bc19dece2e098b8125bf7184cjimclean: $(CLEAN_DEPS)
2792ea4d5c772a6bc19dece2e098b8125bf7184cjim
2792ea4d5c772a6bc19dece2e098b8125bf7184cjimclobber: $(CLOBBER_DEPS)
59a3c1e7880d3eab0d182735ff47758b9860411fminfrin
59a3c1e7880d3eab0d182735ff47758b9860411fminfrinlint: $(LINT_DEPS)
59a3c1e7880d3eab0d182735ff47758b9860411fminfrin
59a3c1e7880d3eab0d182735ff47758b9860411fminfrinmodlintlib: $(MODLINTLIB_DEPS)
59a3c1e7880d3eab0d182735ff47758b9860411fminfrin
59a3c1e7880d3eab0d182735ff47758b9860411fminfrinclean.lint: $(CLEAN_LINT_DEPS)
b3e63c395d671f14a096d7e888dbfd2caf93a663sf
b3e63c395d671f14a096d7e888dbfd2caf93a663sfinstall: $(INSTALL_DEPS)
b3e63c395d671f14a096d7e888dbfd2caf93a663sf
b3e63c395d671f14a096d7e888dbfd2caf93a663sf#
6f88aef8511bf8ccf170bec41b82b6346c8b1ac7sf# Include common targets.
6f88aef8511bf8ccf170bec41b82b6346c8b1ac7sf#
6f88aef8511bf8ccf170bec41b82b6346c8b1ac7sfinclude $(UTSBASE)/intel/Makefile.targ
83c89da783ba8bdaef50ec1912443f7fad3556acjim