17aec1d6eScindi# CDDL HEADER START
27aec1d6eScindi#
37aec1d6eScindi# 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.
67aec1d6eScindi#
77aec1d6eScindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
87aec1d6eScindi# or http://www.opensolaris.org/os/licensing.
97aec1d6eScindi# See the License for the specific language governing permissions
107aec1d6eScindi# and limitations under the License.
117aec1d6eScindi#
127aec1d6eScindi# When distributing Covered Code, include this CDDL HEADER in each
137aec1d6eScindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147aec1d6eScindi# If applicable, add the following below this CDDL HEADER, with the
157aec1d6eScindi# fields enclosed by brackets "[]" replaced with your own identifying
167aec1d6eScindi# information: Portions Copyright [yyyy] [name of copyright owner]
177aec1d6eScindi#
187aec1d6eScindi# CDDL HEADER END
197aec1d6eScindi#
20e4b86885SCheng Sean Ye# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
217aec1d6eScindi# Use is subject to license terms.
227aec1d6eScindi#
23fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
24fe7a23c8SAndy Fiddaman#
257aec1d6eScindi
267aec1d6eScindi#
277aec1d6eScindi#	Path to the base of the uts directory tree (usually /usr/src/uts).
287aec1d6eScindi#
297aec1d6eScindiUTSBASE = ../..
307aec1d6eScindi
317aec1d6eScindi#
327aec1d6eScindi#       Define the module and object file sets.
337aec1d6eScindi#
347aec1d6eScindiMODULE		= cpu.generic
357aec1d6eScindi#
367aec1d6eScindiOBJECTS		= $(CPU_GCPU_OBJS:%=$(OBJS_DIR)/%)
37e4b86885SCheng Sean YeOBJECTS		+= $(CPU_GCPU_NTV_OBJS:%=$(OBJS_DIR)/%)
387aec1d6eScindiROOTMODULE      = $(ROOT_PSM_CPU_DIR)/$(MODULE)
397aec1d6eScindi
407aec1d6eScindi#
417aec1d6eScindi#       Include common rules.
427aec1d6eScindi#
437aec1d6eScindiinclude ../cpu/Makefile.cpu
447aec1d6eScindi
45*d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
467014882cSRichard Lowe
477aec1d6eScindi#
487aec1d6eScindi#       Define targets
497aec1d6eScindi#
507aec1d6eScindiALL_TARGET      = $(BINARY)
517aec1d6eScindiINSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
527aec1d6eScindi
537aec1d6eScindi#
547aec1d6eScindi#       Default build targets.
557aec1d6eScindi#
567aec1d6eScindi.KEEP_STATE:
577aec1d6eScindi
587aec1d6eScindidef:            $(DEF_DEPS)
597aec1d6eScindi
607aec1d6eScindiall:            $(ALL_DEPS)
617aec1d6eScindi
627aec1d6eScindiclean:          $(CLEAN_DEPS)
637aec1d6eScindi
647aec1d6eScindiclobber:        $(CLOBBER_DEPS)
657aec1d6eScindi
667aec1d6eScindiinstall:        $(INSTALL_DEPS)
677aec1d6eScindi
687aec1d6eScindi#
697aec1d6eScindi#       Include common targets.
707aec1d6eScindi#
717aec1d6eScindiinclude ../Makefile.targ
72