Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# CDDL HEADER START
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# The contents of this file are subject to the terms of the
842ae4bd224140319ae7feec1872b93dfd491143fielding# Common Development and Distribution License (the "License").
842ae4bd224140319ae7feec1872b93dfd491143fielding# You may not use this file except in compliance with the License.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# or http://www.opensolaris.org/os/licensing.
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz# See the License for the specific language governing permissions
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz# and limitations under the License.
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz#
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# If applicable, add the following below this CDDL HEADER, with the
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# fields enclosed by brackets "[]" replaced with your own identifying
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# information: Portions Copyright [yyyy] [name of copyright owner]
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# CDDL HEADER END
36ef8f77bffe75d1aa327882be1b5bdbe2ff567asf#
36ef8f77bffe75d1aa327882be1b5bdbe2ff567asf#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
e8f95a682820a599fe41b22977010636be5c2717jim# Use is subject to license terms.
e8f95a682820a599fe41b22977010636be5c2717jim#
e8f95a682820a599fe41b22977010636be5c2717jim#ident "%Z%%M% %I% %E% SMI"
e8f95a682820a599fe41b22977010636be5c2717jim#
e8f95a682820a599fe41b22977010636be5c2717jim# This Makefile builds the Pentium 1, 2, and 3 Performance Counter BackEnd (PCBE)
e8f95a682820a599fe41b22977010636be5c2717jim#
e8f95a682820a599fe41b22977010636be5c2717jim
e8f95a682820a599fe41b22977010636be5c2717jimUTSBASE = ../..
e8f95a682820a599fe41b22977010636be5c2717jim
e8f95a682820a599fe41b22977010636be5c2717jim#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Define module and object file sets.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereMODULE = pcbe.GenuineIntel.6
e8f95a682820a599fe41b22977010636be5c2717jimOBJECTS = $(P123_PCBE_OBJS:%=$(OBJS_DIR)/%)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereLINTS = $(P123_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereROOTMODULE = $(USR_PCBE_DIR)/$(MODULE)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereROOTLINK = $(USR_PCBE_DIR)/pcbe.GenuineIntel.5
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Include common rules.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereinclude $(UTSBASE)/intel/Makefile.intel
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Define targets.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereALL_TARGET = $(BINARY)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereLINT_MODULE = p123_pcbe
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereLINT_TARGET = $(LINT_MODULE).lint
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# For now, disable these lint checks; maintainers should endeavor
06db0b751a4aa2c0aed3faf699dd1844dbb864dfmartin# to investigate and remove these for maximum lint coverage.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Please do not carry these forward to new Makefiles.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
e8f95a682820a599fe41b22977010636be5c2717jimLINTTAGS += -erroff=E_STATIC_UNUSED
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Default build targets.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere.KEEP_STATE:
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfcleredef: $(DEF_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereall: $(ALL_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereclean: $(CLEAN_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
06db0b751a4aa2c0aed3faf699dd1844dbb864dfmartinclobber: $(CLOBBER_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
06db0b751a4aa2c0aed3faf699dd1844dbb864dfmartinlint: $(LINT_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
06db0b751a4aa2c0aed3faf699dd1844dbb864dfmartinmodlintlib: $(MODLINTLIB_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereclean.lint: $(CLEAN_LINT_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereinstall: $(INSTALL_DEPS)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere$(ROOTLINK): $(ROOTMODULE)
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere -$(RM) $@; ln $(ROOTMODULE) $@
06db0b751a4aa2c0aed3faf699dd1844dbb864dfmartin
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere# Include common targets.
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere#
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclereinclude $(UTSBASE)/intel/Makefile.targ
aadf50900dfe0e5da15c24f69650e3b3d72601b4jfclere