Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
2551N/A#
2551N/A# CDDL HEADER START
2551N/A#
2551N/A# The contents of this file are subject to the terms of the
2551N/A# Common Development and Distribution License (the "License").
2551N/A# You may not use this file except in compliance with the License.
2551N/A#
2551N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2551N/A# or http://www.opensolaris.org/os/licensing.
2551N/A# See the License for the specific language governing permissions
2551N/A# and limitations under the License.
2551N/A#
2551N/A# When distributing Covered Code, include this CDDL HEADER in each
2551N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2551N/A# If applicable, add the following below this CDDL HEADER, with the
2551N/A# fields enclosed by brackets "[]" replaced with your own identifying
2551N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2551N/A#
2551N/A# CDDL HEADER END
2551N/A#
2551N/A#
2551N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
2551N/A# Use is subject to license terms.
2551N/A#
2551N/A#ident "%Z%%M% %I% %E% SMI"
2551N/A#
2551N/A# This Makefile builds the Pentium 4 Performance Counter BackEnd (PCBE).
2551N/A#
2551N/A
2551N/AUTSBASE = ../..
2551N/A
2551N/A#
2551N/A# Define module and object file sets.
2551N/A#
2551N/AMODULE = pcbe.GenuineIntel.15
2551N/AOBJECTS = $(P4_PCBE_OBJS:%=$(OBJS_DIR)/%)
2551N/ALINTS = $(P4_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
2551N/AROOTMODULE = $(USR_PCBE_DIR)/$(MODULE)
2551N/A
2551N/A#
2551N/A# Include common rules.
2551N/A#
2551N/Ainclude $(UTSBASE)/intel/Makefile.intel
2551N/A
2551N/A#
2551N/A# Define targets.
2551N/A#
2551N/AALL_TARGET = $(BINARY)
2551N/ALINT_MODULE = p4_pcbe
2551N/ALINT_TARGET = $(LINT_MODULE).lint
2551N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2551N/A
2551N/A#
2551N/A# For now, disable these lint checks; maintainers should endeavor
2551N/A# to investigate and remove these for maximum lint coverage.
2551N/A# Please do not carry these forward to new Makefiles.
2551N/A#
2551N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
2551N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
2551N/ALINTTAGS += -erroff=E_STATIC_UNUSED
2551N/A
2551N/A
2551N/A#
2551N/A# Default build targets.
2551N/A#
2551N/A.KEEP_STATE:
2551N/A
2551N/Adef: $(DEF_DEPS)
2551N/A
2551N/Aall: $(ALL_DEPS)
2551N/A
2551N/Aclean: $(CLEAN_DEPS)
2551N/A
2551N/Aclobber: $(CLOBBER_DEPS)
2551N/A
2551N/Alint: $(LINT_DEPS)
2551N/A
2551N/Amodlintlib: $(MODLINTLIB_DEPS)
2551N/A
2551N/Aclean.lint: $(CLEAN_LINT_DEPS)
2551N/A
2551N/Ainstall: $(INSTALL_DEPS)
2551N/A
2551N/A#
2551N/A# Include common targets.
2551N/A#
2551N/Ainclude $(UTSBASE)/intel/Makefile.targ
2551N/A