Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# CDDL HEADER START
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# The contents of this file are subject to the terms of the
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# Common Development and Distribution License, Version 1.0 only
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# (the "License"). You may not use this file except in compliance
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# with the License.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# or http://www.opensolaris.org/os/licensing.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# See the License for the specific language governing permissions
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and limitations under the License.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# When distributing Covered Code, include this CDDL HEADER in each
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# If applicable, add the following below this CDDL HEADER, with the
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# CDDL HEADER END
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# Use is subject to license terms.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#ident "%Z%%M% %I% %E% SMI"
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyUTSBASE = ../..
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyMODULE = fasttrap
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyOBJECTS = $(FASTTRAP_OBJS:%=$(OBJS_DIR)/%)
1ec5ceb5b2be24e129953e6e309f6459ac34bc0cWilliam KingLINTS = $(FASTTRAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyCONF_SRCDIR = $(UTSBASE)/intel/dtrace
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyinclude $(UTSBASE)/intel/Makefile.intel
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyALL_TARGET = $(BINARY) $(SRC_CONFILE)
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyLINT_TARGET = $(MODULE).lint
a01f52a731f03c9d61357ac872f3d228db56a0afBob HalleyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
a01f52a731f03c9d61357ac872f3d228db56a0afBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyCFLAGS += $(CCVERBOSE)
44aae046c38e796e581110b7ecdf4478167d684dBob HalleyLDFLAGS += -dy -Ndrv/dtrace
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halley.KEEP_STATE:
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleydef: $(DEF_DEPS)
a01f52a731f03c9d61357ac872f3d228db56a0afBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyall: $(ALL_DEPS)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyclean: $(CLEAN_DEPS)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyclobber: $(CLOBBER_DEPS)
a01f52a731f03c9d61357ac872f3d228db56a0afBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleylint: $(LINT_DEPS)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleymodlintlib: $(MODLINTLIB_DEPS)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyclean.lint: $(CLEAN_LINT_DEPS)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halleyinstall: $(INSTALL_DEPS)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
44aae046c38e796e581110b7ecdf4478167d684dBob Halley$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
44aae046c38e796e581110b7ecdf4478167d684dBob Halley -$(RM) $@; ln $(ROOTMODULE) $@
44aae046c38e796e581110b7ecdf4478167d684dBob Halley
1ec5ceb5b2be24e129953e6e309f6459ac34bc0cWilliam Kinginclude $(UTSBASE)/intel/Makefile.targ
44aae046c38e796e581110b7ecdf4478167d684dBob Halley