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
96646aed2ae087b942ae23f15bbe729a8f7c43d3Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
96646aed2ae087b942ae23f15bbe729a8f7c43d3Christian Maeder# CDDL HEADER END
abf2487c3aece95c371ea89ac64319370dcb6483Klaus Luettich# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski# Use is subject to license terms.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#ident "%Z%%M% %I% %E% SMI"
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# This Makefile drives the production of ecpp
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder# kernel module.
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# Define the module and object file sets.
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder# Include common rules.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Define targets
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# lint pass one enforcement
f13d1e86e58da53680e78043e8df182eed867efbChristian Maeder# Turn this on once compiler understands v9 in it's backend
96646aed2ae087b942ae23f15bbe729a8f7c43d3Christian Maeder#INLINES += $(UTSBASE)/sun/io/ecpp.il
a2d6702f18737cc5fff8e8631c08f221f8375c4bChristian Maeder# For now, disable these lint checks; maintainers should endeavor
c6fcd42c6d6d9dae8c7835c24fcb7ce8531a9050Christian Maeder# to investigate and remove these for maximum lint coverage.
31c49f2fa23d4ac089f35145d80a224deb6ea7e4Till Mossakowski# Please do not carry these forward to new Makefiles.
431d34c7007a787331c4e5ec997badb0f8190fc7Christian Maeder# Default build targets.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Include common targets.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Defines for local commands.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# lock_lint rules
4017ebc0f692820736d796af3110c3b3018c108aChristian Maeder$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ecpp.wlcmd warlock_ddi.files
4017ebc0f692820736d796af3110c3b3018c108aChristian Maeder $(WARLOCK) -c $(WLCMD_DIR)/ecpp.wlcmd $(WARLOCK_OUT) \