Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
9eb24f1f84885d5c2e51a7f675264db398c31af7Tinderbox User# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
53f0234c3e3a845245042affb1f20a189d8791b9Automatic Updater# or http://www.opensolaris.org/os/licensing.
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# See the License for the specific language governing permissions
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# and limitations under the License.
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews#
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews# CDDL HEADER END
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews#
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# Use is subject to license terms.
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont#
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan HuntUTSBASE = ../..
976f44baa3028118a4175a21536e68049e1d3766David Lawrence
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# include global definitions
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington#
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrewsinclude ../Makefile.i86xpv
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# Override defaults.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt#
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis DupontFILEMODE = 644
22bed621ef87bc8b6c1fea599b02c4b38dd6bf48Mark Andrews
76af83c9adb772f7b045c62cf8b411165bfaa5efMark AndrewsHDRS= \
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews balloon.h \
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews machprivregs.h \
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont xen_mmu.h \
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont xpv_impl.h
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis DupontROOTHDRS= $(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
76af83c9adb772f7b045c62cf8b411165bfaa5efMark AndrewsROOTDIR= $(ROOT)/usr/share/src
76af83c9adb772f7b045c62cf8b411165bfaa5efMark AndrewsROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews
76af83c9adb772f7b045c62cf8b411165bfaa5efMark AndrewsROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/sys
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis DupontLINKDEST= ../../../../platform/$(PLATFORM)/include/sys
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis DupontCHECKHDRS= $(HDRS:%.h=%.check)
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews.KEEP_STATE:
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupontinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupontcheck: $(CHECKHDRS)
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont$(ROOTDIRS):
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont $(INS.dir.root.bin)
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont$(ROOTLINK): $(ROOTDIRS)
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis Dupont
c1d7e0562f6a72ecc07ab5140cf2b88183adbd08Francis DupontFRC:
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrewsinclude ../../Makefile.targ
76af83c9adb772f7b045c62cf8b411165bfaa5efMark Andrews