Makefile revision 4df55fde49134f9735f84011f23a767c75e393c7
98N/A#
98N/A# CDDL HEADER START
1276N/A#
98N/A# The contents of this file are subject to the terms of the
1370N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/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 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
98N/A# This Makefile builds the UltraSPARC-KT Performance Counter BackEnd (PCBE).
98N/A#
98N/A
98N/AUTSBASE = ../..
493N/A
98N/A#
98N/A# Define module and object file sets.
1370N/A#
98N/AMODULE = pcbe.SUNW,UltraSPARC-KT
911N/AOBJECTS = $(N2_PCBE_OBJS:%=$(OBJS_DIR)/%)
1370N/ALINTS = $(N2_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
1370N/AROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE)
1370N/A
911N/A#
98N/A# Include common rules.
371N/A#
98N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
98N/A
98N/A#
98N/A# Define targets.
970N/A#
977N/AALL_TARGET = $(BINARY)
970N/ALINT_MODULE = kt_pcbe
970N/ALINT_TARGET = $(LINT_MODULE).lint
970N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
970N/A
970N/A#
970N/A# lint pass one enforcement
98N/A#
559N/ACFLAGS += -DKT_IMPL
493N/A
1308N/A#
1308N/A# KT-specific flags
969N/A#
98N/ACPPFLAGS += -DKT_IMPL
98N/AAS_CPPFLAGS += -DKT_IMPL
493N/A
98N/A#
98N/A# Default build targets.
606N/A#
98N/A.KEEP_STATE:
98N/A
761N/Adef: $(DEF_DEPS)
559N/A
559N/Aall: $(ALL_DEPS)
761N/A
761N/Aclean: $(CLEAN_DEPS)
970N/A
970N/Aclobber: $(CLOBBER_DEPS)
970N/A
98N/Alint: $(LINT_DEPS)
1308N/A
1308N/Amodlintlib: $(MODLINTLIB_DEPS)
1308N/A
1308N/Aclean.lint: $(CLEAN_LINT_DEPS)
1308N/A
1308N/Ainstall: $(INSTALL_DEPS)
1308N/A
1308N/A#
# Include common targets.
#
include $(UTSBASE)/sun4v/Makefile.targ