15cff7825Smh# CDDL HEADER START 25cff7825Smh# 35cff7825Smh# The contents of this file are subject to the terms of the 45cff7825Smh# Common Development and Distribution License (the "License"). 55cff7825Smh# You may not use this file except in compliance with the License. 65cff7825Smh# 75cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 85cff7825Smh# or http://www.opensolaris.org/os/licensing. 95cff7825Smh# See the License for the specific language governing permissions 105cff7825Smh# and limitations under the License. 115cff7825Smh# 125cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each 135cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 145cff7825Smh# If applicable, add the following below this CDDL HEADER, with the 155cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying 165cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner] 175cff7825Smh# 185cff7825Smh# CDDL HEADER END 195cff7825Smh# 20e4b86885SCheng Sean Ye# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 215cff7825Smh# Use is subject to license terms. 225cff7825Smh# 235cff7825Smh 245cff7825Smh# 255cff7825Smh# Path to the base of the uts directory tree (usually /usr/src/uts). 265cff7825Smh# 27843e1988SjohnlevUTSBASE = ../.. 28843e1988Sjohnlev 29843e1988Sjohnlev# 30843e1988Sjohnlev# Define the module and object file sets. 31843e1988Sjohnlev# 32e4b86885SCheng Sean YeMODULE = cpu_ms.AuthenticAMD 33843e1988Sjohnlev# 34e4b86885SCheng Sean YeOBJECTS = $(CPU_AUTHAMD_OBJS:%=$(OBJS_DIR)/%) 35e4b86885SCheng Sean YeROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) 36e4b86885SCheng Sean Ye 37e4b86885SCheng Sean YeSRCDIR = ../cpu/authenticamd 385cff7825Smh 395cff7825Smh# 40843e1988Sjohnlev# Include common rules. 415cff7825Smh# 42e4b86885SCheng Sean Yeinclude $(UTSBASE)/i86xpv/Makefile.i86xpv 43e4b86885SCheng Sean Yeinclude $(UTSBASE)/i86pc/cpu/Makefile.files 44e4b86885SCheng Sean Ye 455cff7825Smh# 46843e1988Sjohnlev# Define targets 475cff7825Smh# 48e4b86885SCheng Sean YeALL_TARGET = $(BINARY) 49e4b86885SCheng Sean YeINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 5020c794b3Sgavinm 51e4b86885SCheng Sean Ye# 52e4b86885SCheng Sean Ye# Overrides and additions 53e4b86885SCheng Sean Ye# 54e4b86885SCheng Sean YeCPPFLAGS += -I$(SRCDIR) -I$(OBJS_DIR) 55e4b86885SCheng Sean YeASFLAGS += -I$(SRCDIR) -I$(OBJS_DIR) 56*82d0151aSRichard LoweLDFLAGS += -N misc/acpica 575cff7825Smh 585cff7825Smh# 59843e1988Sjohnlev# Default build targets. 605cff7825Smh# 615cff7825Smh.KEEP_STATE: 625cff7825Smh 63843e1988Sjohnlevdef: $(DEF_DEPS) 645cff7825Smh 65843e1988Sjohnlevall: $(ALL_DEPS) 665cff7825Smh 67843e1988Sjohnlevclean: $(CLEAN_DEPS) 685cff7825Smh 69843e1988Sjohnlevclobber: $(CLOBBER_DEPS) 705cff7825Smh 71843e1988Sjohnlevinstall: $(INSTALL_DEPS) 725cff7825Smh 735cff7825Smh# 74843e1988Sjohnlev# Include common targets. 755cff7825Smh# 76843e1988Sjohnlevinclude ../Makefile.targ 77