1*7aec1d6eScindi# CDDL HEADER START 2*7aec1d6eScindi# 3*7aec1d6eScindi# The contents of this file are subject to the terms of the 4*7aec1d6eScindi# Common Development and Distribution License, Version 1.0 only 5*7aec1d6eScindi# (the "License"). You may not use this file except in compliance 6*7aec1d6eScindi# with the License. 7*7aec1d6eScindi# 8*7aec1d6eScindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7aec1d6eScindi# or http://www.opensolaris.org/os/licensing. 10*7aec1d6eScindi# See the License for the specific language governing permissions 11*7aec1d6eScindi# and limitations under the License. 12*7aec1d6eScindi# 13*7aec1d6eScindi# When distributing Covered Code, include this CDDL HEADER in each 14*7aec1d6eScindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7aec1d6eScindi# If applicable, add the following below this CDDL HEADER, with the 16*7aec1d6eScindi# fields enclosed by brackets "[]" replaced with your own identifying 17*7aec1d6eScindi# information: Portions Copyright [yyyy] [name of copyright owner] 18*7aec1d6eScindi# 19*7aec1d6eScindi# CDDL HEADER END 20*7aec1d6eScindi# 21*7aec1d6eScindi# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 22*7aec1d6eScindi# Use is subject to license terms. 23*7aec1d6eScindi# 24*7aec1d6eScindi# ident "%Z%%M% %I% %E% SMI" 25*7aec1d6eScindi# 26*7aec1d6eScindi 27*7aec1d6eScindi# 28*7aec1d6eScindi# Path to the base of the uts directory tree (usually /usr/src/uts). 29*7aec1d6eScindi# 30*7aec1d6eScindiUTSBASE = ../.. 31*7aec1d6eScindi 32*7aec1d6eScindi# 33*7aec1d6eScindi# Define the module and object file sets. 34*7aec1d6eScindi# 35*7aec1d6eScindiMODULE = cpu.generic 36*7aec1d6eScindi# 37*7aec1d6eScindiOBJECTS = $(CPU_GCPU_OBJS:%=$(OBJS_DIR)/%) 38*7aec1d6eScindiLINTS = $(CPU_GCPU_OBJS:%.o=$(LINTS_DIR)/%.ln) 39*7aec1d6eScindiROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) 40*7aec1d6eScindi 41*7aec1d6eScindi# 42*7aec1d6eScindi# Include common rules. 43*7aec1d6eScindi# 44*7aec1d6eScindiinclude ../cpu/Makefile.cpu 45*7aec1d6eScindi 46*7aec1d6eScindi# 47*7aec1d6eScindi# Our lint library has a different name from that of the module we build. 48*7aec1d6eScindi# 49*7aec1d6eScindiLINT_MODULE = generic_cpu 50*7aec1d6eScindi 51*7aec1d6eScindi# 52*7aec1d6eScindi# Define targets 53*7aec1d6eScindi# 54*7aec1d6eScindiALL_TARGET = $(BINARY) 55*7aec1d6eScindiLINT_TARGET = $(LINT_MODULE).lint 56*7aec1d6eScindiINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 57*7aec1d6eScindi 58*7aec1d6eScindi# 59*7aec1d6eScindi# Default build targets. 60*7aec1d6eScindi# 61*7aec1d6eScindi.KEEP_STATE: 62*7aec1d6eScindi 63*7aec1d6eScindidef: $(DEF_DEPS) 64*7aec1d6eScindi 65*7aec1d6eScindiall: $(ALL_DEPS) 66*7aec1d6eScindi 67*7aec1d6eScindiclean: $(CLEAN_DEPS) 68*7aec1d6eScindi 69*7aec1d6eScindiclobber: $(CLOBBER_DEPS) 70*7aec1d6eScindi 71*7aec1d6eScindilint: $(LINT_DEPS) 72*7aec1d6eScindi 73*7aec1d6eScindimodlintlib: $(MODLINTLIB_DEPS) 74*7aec1d6eScindi 75*7aec1d6eScindiclean.lint: $(CLEAN_LINT_DEPS) 76*7aec1d6eScindi 77*7aec1d6eScindiinstall: $(INSTALL_DEPS) 78*7aec1d6eScindi 79*7aec1d6eScindi# 80*7aec1d6eScindi# Include common targets. 81*7aec1d6eScindi# 82*7aec1d6eScindiinclude ../Makefile.targ 83