Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
5680N/A#
194N/A# CDDL HEADER START
194N/A#
194N/A# The contents of this file are subject to the terms of the
194N/A# Common Development and Distribution License (the "License").
194N/A# You may not use this file except in compliance with the License.
194N/A#
194N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
194N/A# or http://www.opensolaris.org/os/licensing.
194N/A# See the License for the specific language governing permissions
194N/A# and limitations under the License.
194N/A#
194N/A# When distributing Covered Code, include this CDDL HEADER in each
194N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
194N/A# If applicable, add the following below this CDDL HEADER, with the
194N/A# fields enclosed by brackets "[]" replaced with your own identifying
194N/A# information: Portions Copyright [yyyy] [name of copyright owner]
194N/A#
194N/A# CDDL HEADER END
194N/A#
194N/A#
194N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5680N/A# Use is subject to license terms.
194N/A#
5680N/A#ident "%Z%%M% %I% %E% SMI"
194N/A#
194N/A# This Makefile builds the UltraSPARC 2 - 4 Performance Counter BackEnd (PCBE).
194N/A#
5073N/A
618N/AUTSBASE = ../..
194N/A
844N/A#
5073N/A# Define module and object file sets.
5073N/A#
1258N/AMODULE = pcbe.62
194N/AOBJECTS = $(US_PCBE_OBJS:%=$(OBJS_DIR)/%)
5073N/ALINTS = $(US_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
2899N/AROOTMODULE = $(USR_PCBE_DIR)/$(MODULE)
7243N/AROOTLINK = $(USR_PCBE_DIR)/pcbe.23
7243N/A
7243N/A#
7243N/A# Include common rules.
5680N/A#
5680N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
194N/A
194N/A#
194N/A# Define targets.
194N/A#
1591N/AALL_TARGET = $(BINARY)
LINT_MODULE = us234_pcbe
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# 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)
$(ROOTLINK): $(ROOTMODULE)
-$(RM) $@; ln $(ROOTMODULE) $@
#
# Include common targets.
#
include $(UTSBASE)/sun4u/Makefile.targ