Makefile revision c4c6ba57afa115b6a7e20afa6a2da6c99f521616
550N/A#
550N/A# CDDL HEADER START
550N/A#
550N/A# The contents of this file are subject to the terms of the
943N/A# Common Development and Distribution License (the "License").
550N/A# You may not use this file except in compliance with the License.
550N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/A# This Makefile builds the SPARC-T3 Performance Counter BackEnd (PCBE).
550N/A#
550N/A
550N/AUTSBASE = ../..
550N/A
550N/A#
550N/A# Define module and object file sets.
970N/A#
977N/AMODULE = pcbe.SPARC-T3
970N/AOBJECTS = $(N2_PCBE_OBJS:%=$(OBJS_DIR)/%)
970N/ALINTS = $(N2_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
550N/AROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE)
550N/A
550N/A#
550N/A# Include common rules.
550N/A#
550N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
550N/A
550N/A#
550N/A# Define targets.
550N/A#
550N/AALL_TARGET = $(BINARY)
550N/ALINT_MODULE = kt_pcbe
550N/ALINT_TARGET = $(LINT_MODULE).lint
550N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
550N/A
550N/A#
550N/A# lint pass one enforcement
550N/A#
970N/ACFLAGS += -DKT_IMPL
970N/A
970N/A#
550N/A# KT-specific flags
#
CPPFLAGS += -DKT_IMPL
AS_CPPFLAGS += -DKT_IMPL
#
# 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)/sun4v/Makefile.targ