bb5e3b2f129cc39517b925419c22f69a378ec023eh# CDDL HEADER START
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# The contents of this file are subject to the terms of the
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Common Development and Distribution License (the "License").
bb5e3b2f129cc39517b925419c22f69a378ec023eh# You may not use this file except in compliance with the License.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb5e3b2f129cc39517b925419c22f69a378ec023eh# or http://www.opensolaris.org/os/licensing.
bb5e3b2f129cc39517b925419c22f69a378ec023eh# See the License for the specific language governing permissions
bb5e3b2f129cc39517b925419c22f69a378ec023eh# and limitations under the License.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# When distributing Covered Code, include this CDDL HEADER in each
bb5e3b2f129cc39517b925419c22f69a378ec023eh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb5e3b2f129cc39517b925419c22f69a378ec023eh# If applicable, add the following below this CDDL HEADER, with the
bb5e3b2f129cc39517b925419c22f69a378ec023eh# fields enclosed by brackets "[]" replaced with your own identifying
bb5e3b2f129cc39517b925419c22f69a378ec023eh# information: Portions Copyright [yyyy] [name of copyright owner]
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# CDDL HEADER END
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Use is subject to license terms.
922d2c76afbee21520ffa2088c4e60dcb80d3945eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# ident "%Z%%M% %I% %E% SMI"
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Path to the base of the uts directory tree (usually /usr/src/uts).
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehUTSBASE = ../..
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Define the module and object file sets.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE = cpu_ms.GenuineIntel
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehOBJECTS = $(CPU_GENINTEL_OBJS:%=$(OBJS_DIR)/%)
bb5e3b2f129cc39517b925419c22f69a378ec023ehLINTS = $(CPU_GENINTEL_OBJS:%.o=$(LINTS_DIR)/%.ln)
bb5e3b2f129cc39517b925419c22f69a378ec023ehROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehSRCDIR = ../cpu/genuineintel
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Include common rules.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehinclude ../cpu/Makefile.cpu
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Our lint library has a different name from that of the module we build.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehLINT_MODULE = genuineintel
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Define targets
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehALL_TARGET = $(BINARY)
bb5e3b2f129cc39517b925419c22f69a378ec023ehLINT_TARGET = $(LINT_MODULE).lint
bb5e3b2f129cc39517b925419c22f69a378ec023ehINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Overrides and additions
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023ehCPPFLAGS += -I$(SRCDIR) -I$(OBJS_DIR)
bb5e3b2f129cc39517b925419c22f69a378ec023ehASFLAGS += -I$(SRCDIR) -I$(OBJS_DIR)
bb5e3b2f129cc39517b925419c22f69a378ec023ehLDFLAGS += -dy -N misc/acpica
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Default build targets.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh.KEEP_STATE:
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehdef: $(DEF_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehall: $(ALL_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehclean: $(CLEAN_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehclobber: $(CLOBBER_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehlint: $(LINT_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehmodlintlib: $(MODLINTLIB_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehclean.lint: $(CLEAN_LINT_DEPS)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehinstall: $(INSTALL_DEPS)
#
# Include common targets.
#
include ../Makefile.targ