120c794b3Sgavinm# CDDL HEADER START 220c794b3Sgavinm# 320c794b3Sgavinm# The contents of this file are subject to the terms of the 420c794b3Sgavinm# Common Development and Distribution License (the "License"). 520c794b3Sgavinm# You may not use this file except in compliance with the License. 620c794b3Sgavinm# 720c794b3Sgavinm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 820c794b3Sgavinm# or http://www.opensolaris.org/os/licensing. 920c794b3Sgavinm# See the License for the specific language governing permissions 1020c794b3Sgavinm# and limitations under the License. 1120c794b3Sgavinm# 1220c794b3Sgavinm# When distributing Covered Code, include this CDDL HEADER in each 1320c794b3Sgavinm# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1420c794b3Sgavinm# If applicable, add the following below this CDDL HEADER, with the 1520c794b3Sgavinm# fields enclosed by brackets "[]" replaced with your own identifying 1620c794b3Sgavinm# information: Portions Copyright [yyyy] [name of copyright owner] 1720c794b3Sgavinm# 1820c794b3Sgavinm# CDDL HEADER END 1920c794b3Sgavinm# 2020c794b3Sgavinm# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2120c794b3Sgavinm# Use is subject to license terms. 2220c794b3Sgavinm# 23*fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 2420c794b3Sgavinm# 2520c794b3Sgavinm 2620c794b3Sgavinm# 2720c794b3Sgavinm# Path to the base of the uts directory tree (usually /usr/src/uts). 2820c794b3Sgavinm# 2920c794b3SgavinmUTSBASE = ../.. 3020c794b3Sgavinm 3120c794b3Sgavinm# 3220c794b3Sgavinm# Define the module and object file sets. 3320c794b3Sgavinm# 3420c794b3SgavinmMODULE = cpu_ms.GenuineIntel 3520c794b3Sgavinm# 3620c794b3SgavinmOBJECTS = $(CPU_GENINTEL_OBJS:%=$(OBJS_DIR)/%) 3720c794b3SgavinmROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) 3820c794b3Sgavinm 3920c794b3SgavinmSRCDIR = ../cpu/genuineintel 4020c794b3Sgavinm 4120c794b3Sgavinm# 4220c794b3Sgavinm# Include common rules. 4320c794b3Sgavinm# 4420c794b3Sgavinminclude ../cpu/Makefile.cpu 4520c794b3Sgavinm 4620c794b3Sgavinm# 4720c794b3Sgavinm# Define targets 4820c794b3Sgavinm# 4920c794b3SgavinmALL_TARGET = $(BINARY) 5020c794b3SgavinmINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 5120c794b3Sgavinm 5220c794b3Sgavinm# 5320c794b3Sgavinm# Overrides and additions 5420c794b3Sgavinm# 5520c794b3SgavinmCPPFLAGS += -I$(SRCDIR) -I$(OBJS_DIR) 5620c794b3SgavinmASFLAGS += -I$(SRCDIR) -I$(OBJS_DIR) 5720c794b3Sgavinm 5820c794b3Sgavinm# 5920c794b3Sgavinm# Default build targets. 6020c794b3Sgavinm# 6120c794b3Sgavinm.KEEP_STATE: 6220c794b3Sgavinm 6320c794b3Sgavinmdef: $(DEF_DEPS) 6420c794b3Sgavinm 6520c794b3Sgavinmall: $(ALL_DEPS) 6620c794b3Sgavinm 6720c794b3Sgavinmclean: $(CLEAN_DEPS) 6820c794b3Sgavinm 6920c794b3Sgavinmclobber: $(CLOBBER_DEPS) 7020c794b3Sgavinm 7120c794b3Sgavinminstall: $(INSTALL_DEPS) 7220c794b3Sgavinm 7320c794b3Sgavinm# 7420c794b3Sgavinm# Include common targets. 7520c794b3Sgavinm# 7620c794b3Sgavinminclude ../Makefile.targ 77