1843e1988Sjohnlev# 2843e1988Sjohnlev# CDDL HEADER START 3843e1988Sjohnlev# 4843e1988Sjohnlev# The contents of this file are subject to the terms of the 5843e1988Sjohnlev# Common Development and Distribution License (the "License"). 6843e1988Sjohnlev# You may not use this file except in compliance with the License. 7843e1988Sjohnlev# 8843e1988Sjohnlev# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9843e1988Sjohnlev# or http://www.opensolaris.org/os/licensing. 10843e1988Sjohnlev# See the License for the specific language governing permissions 11843e1988Sjohnlev# and limitations under the License. 12843e1988Sjohnlev# 13843e1988Sjohnlev# When distributing Covered Code, include this CDDL HEADER in each 14843e1988Sjohnlev# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15843e1988Sjohnlev# If applicable, add the following below this CDDL HEADER, with the 16843e1988Sjohnlev# fields enclosed by brackets "[]" replaced with your own identifying 17843e1988Sjohnlev# information: Portions Copyright [yyyy] [name of copyright owner] 18843e1988Sjohnlev# 19843e1988Sjohnlev# CDDL HEADER END 20843e1988Sjohnlev# 21843e1988Sjohnlev# 2224fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23843e1988Sjohnlev# Use is subject to license terms. 24843e1988Sjohnlev# 25843e1988Sjohnlev# uts/i86xpv/vm/Makefile 26843e1988Sjohnlev# 27843e1988Sjohnlev# Compilation of .c files in this directory is driven by Makefiles in i86xpv. 28843e1988Sjohnlev# This file only serves to install header files. 29843e1988Sjohnlev# 30843e1988SjohnlevUTSBASE = ../.. 31843e1988Sjohnlev 32843e1988Sjohnlev# 33843e1988Sjohnlev# include global definitions 34843e1988Sjohnlev# 35843e1988Sjohnlevinclude ../Makefile.i86xpv 36843e1988Sjohnlev 37843e1988Sjohnlev# 38843e1988Sjohnlev# Override defaults. 39843e1988Sjohnlev# 40843e1988SjohnlevFILEMODE = 644 41843e1988Sjohnlev 42843e1988SjohnlevHDRS= seg_mf.h 43843e1988Sjohnlev 44843e1988SjohnlevROOTHDRS= $(HDRS:%=$(USR_PSM_IVM_DIR)/%) 45843e1988Sjohnlev 46843e1988SjohnlevROOTDIR= $(ROOT)/usr/share/src 47843e1988SjohnlevROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM) 48843e1988Sjohnlev 49843e1988SjohnlevROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/vm 50843e1988SjohnlevLINKDEST= ../../../../platform/$(PLATFORM)/include/vm 51843e1988Sjohnlev 52843e1988SjohnlevCHECKHDRS= $(HDRS:%.h=%.check) 53843e1988Sjohnlev 54843e1988Sjohnlev.KEEP_STATE: 55843e1988Sjohnlev 56843e1988Sjohnlev.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) 57843e1988Sjohnlev 58843e1988Sjohnlevinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK) 59843e1988Sjohnlev 60843e1988Sjohnlevcheck: $(CHECKHDRS) 61843e1988Sjohnlev 62843e1988Sjohnlev# 63843e1988Sjohnlev# install rules 64843e1988Sjohnlev# 65843e1988Sjohnlev$(USR_PSM_IVM_DIR)/%: ../vm/% $(USR_PSM_IVM_DIR) 66843e1988Sjohnlev $(INS.file) 67843e1988Sjohnlev 68843e1988Sjohnlev$(ROOTDIRS): 69*48bc00d6Sjmcp $(INS.dir) 70843e1988Sjohnlev 71843e1988Sjohnlev# -r because this used to be a directory and is now a link. 72843e1988Sjohnlev$(ROOTLINK): $(ROOTDIRS) 7324fe0b3bSjmcp -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@ 74843e1988Sjohnlev 75843e1988SjohnlevCLEANFILES= 76843e1988Sjohnlev 77843e1988SjohnlevCLOBBERFILES= 78843e1988Sjohnlev 79843e1988SjohnlevCLEANLINTFILES= 80843e1988Sjohnlev 81843e1988Sjohnlevinclude ../../Makefile.targ 82