Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
464N/A#
464N/A# CDDL HEADER START
464N/A#
464N/A# The contents of this file are subject to the terms of the
464N/A# Common Development and Distribution License, Version 1.0 only
464N/A# (the "License"). You may not use this file except in compliance
464N/A# with the License.
464N/A#
464N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
464N/A# or http://www.opensolaris.org/os/licensing.
464N/A# See the License for the specific language governing permissions
464N/A# and limitations under the License.
464N/A#
464N/A# When distributing Covered Code, include this CDDL HEADER in each
464N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
464N/A# If applicable, add the following below this CDDL HEADER, with the
464N/A# fields enclosed by brackets "[]" replaced with your own identifying
464N/A# information: Portions Copyright [yyyy] [name of copyright owner]
464N/A#
464N/A# CDDL HEADER END
464N/A#
464N/A#
464N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
464N/A# Use is subject to license terms.
464N/A#
464N/A#ident "%Z%%M% %I% %E% SMI"
464N/A
464N/AUTSBASE = ../..
464N/A
464N/AMODULE = fasttrap
464N/AOBJECTS = $(FASTTRAP_OBJS:%=$(OBJS_DIR)/%)
464N/ALINTS = $(FASTTRAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
464N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
464N/AROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
464N/ACONF_SRCDIR = $(UTSBASE)/intel/dtrace
464N/A
464N/Ainclude $(UTSBASE)/intel/Makefile.intel
464N/A
464N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
464N/ALINT_TARGET = $(MODULE).lint
464N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
464N/A
464N/ACFLAGS += $(CCVERBOSE)
464N/ALDFLAGS += -dy -Ndrv/dtrace
464N/A
464N/A.KEEP_STATE:
464N/A
464N/Adef: $(DEF_DEPS)
464N/A
464N/Aall: $(ALL_DEPS)
464N/A
464N/Aclean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
-$(RM) $@; ln $(ROOTMODULE) $@
include $(UTSBASE)/intel/Makefile.targ