Makefile revision 59ac0c1669407488b67ae9e273667a340dccc611
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CDDL HEADER START
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# The contents of this file are subject to the terms of the
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Common Development and Distribution License (the "License").
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# You may not use this file except in compliance with the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# or http://www.opensolaris.org/os/licensing.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# See the License for the specific language governing permissions
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# and limitations under the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# When distributing Covered Code, include this CDDL HEADER in each
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# If applicable, add the following below this CDDL HEADER, with the
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# fields enclosed by brackets "[]" replaced with your own identifying
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# information: Portions Copyright [yyyy] [name of copyright owner]
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CDDL HEADER END
f71f7a61dec7c9089378d14493ad564a1dedf0b5neil_a_wilson#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Use is subject to license terms.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#ident "%Z%%M% %I% %E% SMI"
62069b4ff68d4488c2ea132e6f9e9cb64725292asin#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# This Makefile builds the UltraSPARC-T2 Performance Counter BackEnd (PCBE).
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeUTSBASE = ../..
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson# Define module and object file sets.
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson#
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilsonMODULE = pcbe.SUNW,UltraSPARC-T2
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeOBJECTS = $(N2_PCBE_OBJS:%=$(OBJS_DIR)/%)
9da44d3de0a7180285a77b7e8d2426a72aca249ejvergaraLINTS = $(N2_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/sun4v/Makefile.sun4v
#
# Define targets.
#
ALL_TARGET = $(BINARY)
LINT_MODULE = niagara2_pcbe
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += -DNIAGARA2_IMPL
#
# niagara2-specific flags
#
CPPFLAGS += -DNIAGARA2_IMPL
AS_CPPFLAGS += -DNIAGARA2_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