Makefile revision 4ebb14b236958cfe1ef4ff3b7a50216d9e51f997
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# CDDL HEADER START
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# The contents of this file are subject to the terms of the
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Common Development and Distribution License (the "License").
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# You may not use this file except in compliance with the License.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4fdf60e22b5340fe35f083b9ea5eb3fd1cf2e742Timo Sirainen# See the License for the specific language governing permissions
4fdf60e22b5340fe35f083b9ea5eb3fd1cf2e742Timo Sirainen# and limitations under the License.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
252db51b6c0a605163326b3ea5d09e9936ca3b29Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
34435ce4a468dc13b23db69dbdd09fe20be88816Timo Sirainen# CDDL HEADER END
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Use is subject to license terms.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen#ident "%Z%%M% %I% %E% SMI"
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# This Makefile drives the production of ecpp
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# kernel module.
4fdf60e22b5340fe35f083b9ea5eb3fd1cf2e742Timo Sirainen# Path to the base of the uts directory tree (usually /usr/src/uts).
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Define the module and object file sets.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Include common rules.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Define targets
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo SirainenINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
a94936bafd127680184da114c6a177b37ff656e5Timo Sirainen# lint pass one enforcement
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Turn this on once compiler understands v9 in it's backend
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen#INLINES += $(UTSBASE)/sun/io/ecpp.il
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# For now, disable these lint checks; maintainers should endeavor
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# to investigate and remove these for maximum lint coverage.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Please do not carry these forward to new Makefiles.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# Default build targets.
a94936bafd127680184da114c6a177b37ff656e5Timo Sirainen# Include common targets.
74f810327aca91b3375d3fc963bce8076785b1cbTimo Sirainen# Defines for local commands.
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen# lock_lint rules
f8512649cd4db427a8dc5dc8f45c8e379ffd4d76Timo Sirainen cd $(WLCMD_DIR); $(TEST) -f $@ || $(SCCS) get $@
f8512649cd4db427a8dc5dc8f45c8e379ffd4d76Timo Sirainen$(WARLOCK_OK): $(WARLOCK_OUT) ecpp.wlcmd warlock_ddi.files
ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15Timo Sirainen $(WARLOCK) -c $(WLCMD_DIR)/ecpp.wlcmd $(WARLOCK_OUT) \