Makefile revision bf56214c0556fa6864189c826d39dbe156bb22a0
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# CDDL HEADER START
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License (the "License").
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# and limitations under the License.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich# CDDL HEADER END
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder# Use is subject to license terms.
01e383014b555bbcf639c0ca60c5810b3eff83c0Christian Maeder#ident "%Z%%M% %I% %E% SMI"
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski# This makefile drives the production of the ibnex driver
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# sparc architecture dependent
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# Define the module and object file sets.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Include common rules.
8d97ef4f234681b11bb5924bd4d03adef858d2d2Christian Maeder# Define targets
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
c3053d57f642ca507cdf79512e604437c4546cb9Christian Maeder# lint pass one enforcement
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# For now, disable these lint checks; maintainers should endeavor
c2fcc35abb03cf0b4ca4b050efeb10827f38c322Christian Maeder# to investigate and remove these for maximum lint coverage.
1aee4aaddde105264c1faf394d88e302c05094ffChristian Maeder# Please do not carry these forward to new Makefiles.
356fa49fe3e6a8398f92d13e9f920d0f093697ecChristian MaederLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
36f63902db2b3463faa9f59912ad106e2d5aaa24Klaus Luettich# Default build targets.
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Include common targets.
776a1a086df734581431e6edb4343ed4c8d34d55Christian Maeder# Defines for local commands.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ib.wlcmd ibdm_files warlock_ddi.files
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder $(WARLOCK) -c $(WLCMD_DIR)/ib.wlcmd $(WARLOCK_OUT) \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder -l ../ibdm/ibdm.ll -l ../warlock/ddi_dki_impl.ll