Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
14320N/A#
14320N/A# CDDL HEADER START
14320N/A#
14134N/A# The contents of this file are subject to the terms of the
14134N/A# Common Development and Distribution License, Version 1.0 only
14134N/A# (the "License"). You may not use this file except in compliance
14134N/A# with the License.
14134N/A#
14134N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14134N/A# or http://www.opensolaris.org/os/licensing.
14134N/A# See the License for the specific language governing permissions
14134N/A# and limitations under the License.
14134N/A#
14320N/A# When distributing Covered Code, include this CDDL HEADER in each
14134N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14320N/A# If applicable, add the following below this CDDL HEADER, with the
14320N/A# fields enclosed by brackets "[]" replaced with your own identifying
14320N/A# information: Portions Copyright [yyyy] [name of copyright owner]
14320N/A#
14134N/A# CDDL HEADER END
14320N/A#
14524N/A#
15702N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
14134N/A# Use is subject to license terms.
17044N/A#
17044N/A#pragma ident "%Z%%M% %I% %E% SMI"
#
# This Makefile builds the AMD Opteron/Athlon64 Performance Counter BackEnd.
#
UTSBASE = ../..
#
# Define module and object file sets.
#
MODULE = pcbe.AuthenticAMD.15
OBJECTS = $(OPTERON_PCBE_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(OPTERON_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
#
# Define targets.
#
ALL_TARGET = $(BINARY)
LINT_MODULE = opteron_pcbe
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ