1*eb0cc229Sedp# 2*eb0cc229Sedp# CDDL HEADER START 3*eb0cc229Sedp# 4*eb0cc229Sedp# The contents of this file are subject to the terms of the 5*eb0cc229Sedp# Common Development and Distribution License (the "License"). 6*eb0cc229Sedp# You may not use this file except in compliance with the License. 7*eb0cc229Sedp# 8*eb0cc229Sedp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*eb0cc229Sedp# or http://www.opensolaris.org/os/licensing. 10*eb0cc229Sedp# See the License for the specific language governing permissions 11*eb0cc229Sedp# and limitations under the License. 12*eb0cc229Sedp# 13*eb0cc229Sedp# When distributing Covered Code, include this CDDL HEADER in each 14*eb0cc229Sedp# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*eb0cc229Sedp# If applicable, add the following below this CDDL HEADER, with the 16*eb0cc229Sedp# fields enclosed by brackets "[]" replaced with your own identifying 17*eb0cc229Sedp# information: Portions Copyright [yyyy] [name of copyright owner] 18*eb0cc229Sedp# 19*eb0cc229Sedp# CDDL HEADER END 20*eb0cc229Sedp# 21*eb0cc229Sedp# 22*eb0cc229Sedp# uts/i86pc/pv_rtls/Makefile 23*eb0cc229Sedp# 24*eb0cc229Sedp# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 25*eb0cc229Sedp# Use is subject to license terms. 26*eb0cc229Sedp# 27*eb0cc229Sedp#ident "%Z%%M% %I% %E% SMI" 28*eb0cc229Sedp# 29*eb0cc229Sedp# This makefile drives the production of the null rtls module for xvm. 30*eb0cc229Sedp# 31*eb0cc229Sedp# i86pc implementation architecture dependent 32*eb0cc229Sedp# 33*eb0cc229Sedp# Path to the base of the uts directory tree (usually /usr/src/uts). 34*eb0cc229Sedp# 35*eb0cc229SedpUTSBASE = ../../.. 36*eb0cc229Sedp 37*eb0cc229Sedp# 38*eb0cc229Sedp# Define the module and object file sets. 39*eb0cc229Sedp# 40*eb0cc229SedpMODULE = rtls 41*eb0cc229SedpOBJECTS = $(PV_RTLS_OBJS:%=$(OBJS_DIR)/%) 42*eb0cc229SedpLINTS = $(PV_RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln) 43*eb0cc229SedpROOTMODULE = $(ROOT_HVM_DRV_DIR)/$(MODULE) 44*eb0cc229Sedp 45*eb0cc229Sedp# 46*eb0cc229Sedp# Include common rules. 47*eb0cc229Sedp# 48*eb0cc229Sedpinclude $(UTSBASE)/i86pc/i86hvm/Makefile.i86hvm 49*eb0cc229Sedp 50*eb0cc229Sedp# 51*eb0cc229Sedp# When generating lint libraries, we want the name of the lint module 52*eb0cc229Sedp# that will be generated to be pv_rtls and not rtls, so override the 53*eb0cc229Sedp# default lint module name here. 54*eb0cc229Sedp# 55*eb0cc229SedpLINT_MODULE = pv_rtls 56*eb0cc229Sedp 57*eb0cc229Sedp# 58*eb0cc229Sedp# Define targets 59*eb0cc229Sedp# 60*eb0cc229SedpALL_TARGET = $(BINARY) 61*eb0cc229SedpLINT_TARGET = $(LINT_MODULE).lint 62*eb0cc229SedpINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 63*eb0cc229Sedp 64*eb0cc229SedpLDFLAGS += -dy 65*eb0cc229Sedp 66*eb0cc229Sedp# 67*eb0cc229Sedp# Default build targets. 68*eb0cc229Sedp# 69*eb0cc229Sedp.KEEP_STATE: 70*eb0cc229Sedp 71*eb0cc229Sedpdef: $(DEF_DEPS) 72*eb0cc229Sedp 73*eb0cc229Sedpall: $(ALL_DEPS) 74*eb0cc229Sedp 75*eb0cc229Sedpclean: $(CLEAN_DEPS) 76*eb0cc229Sedp 77*eb0cc229Sedpclobber: $(CLOBBER_DEPS) 78*eb0cc229Sedp 79*eb0cc229Sedplint: $(LINT_DEPS) 80*eb0cc229Sedp 81*eb0cc229Sedpmodlintlib: $(MODLINTLIB_DEPS) 82*eb0cc229Sedp 83*eb0cc229Sedpclean.lint: $(CLEAN_LINT_DEPS) 84*eb0cc229Sedp 85*eb0cc229Sedpinstall: $(INSTALL_DEPS) 86*eb0cc229Sedp 87*eb0cc229Sedp# 88*eb0cc229Sedp# Include common targets. 89*eb0cc229Sedp# 90*eb0cc229Sedpinclude $(UTSBASE)/i86pc/i86hvm/Makefile.targ 91