xref: /illumos-gate/usr/src/uts/i86xpv/sys/Makefile (revision 48bc00d6)
15cff7825Smh#
25cff7825Smh# CDDL HEADER START
35cff7825Smh#
45cff7825Smh# The contents of this file are subject to the terms of the
55cff7825Smh# Common Development and Distribution License (the "License").
65cff7825Smh# You may not use this file except in compliance with the License.
75cff7825Smh#
85cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95cff7825Smh# or http://www.opensolaris.org/os/licensing.
105cff7825Smh# See the License for the specific language governing permissions
115cff7825Smh# and limitations under the License.
125cff7825Smh#
135cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each
145cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155cff7825Smh# If applicable, add the following below this CDDL HEADER, with the
165cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying
175cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner]
185cff7825Smh#
195cff7825Smh# CDDL HEADER END
205cff7825Smh#
21843e1988Sjohnlev
225cff7825Smh#
2324fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
245cff7825Smh# Use is subject to license terms.
255cff7825Smh#
26843e1988SjohnlevUTSBASE = ../..
275cff7825Smh
285cff7825Smh#
29843e1988Sjohnlev# include global definitions
305cff7825Smh#
31843e1988Sjohnlevinclude ../Makefile.i86xpv
325cff7825Smh
335cff7825Smh#
34843e1988Sjohnlev# Override defaults.
355cff7825Smh#
36843e1988SjohnlevFILEMODE = 644
375cff7825Smh
38843e1988SjohnlevHDRS=  \
39843e1988Sjohnlev	balloon.h	\
40843e1988Sjohnlev	machprivregs.h	\
41843e1988Sjohnlev	xen_mmu.h \
42843e1988Sjohnlev	xpv_impl.h
435cff7825Smh
44843e1988SjohnlevROOTHDRS=	$(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
455cff7825Smh
46843e1988SjohnlevROOTDIR=	$(ROOT)/usr/share/src
47843e1988SjohnlevROOTDIRS=	$(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
48843e1988Sjohnlev
49843e1988SjohnlevROOTLINK=	$(ROOTDIR)/uts/$(PLATFORM)/sys
50843e1988SjohnlevLINKDEST=	../../../../platform/$(PLATFORM)/include/sys
515cff7825Smh
52843e1988SjohnlevCHECKHDRS=	$(HDRS:%.h=%.check)
535cff7825Smh
54843e1988Sjohnlev.KEEP_STATE:
555cff7825Smh
56843e1988Sjohnlev.PARALLEL:	$(CHECKHDRS) $(ROOTHDRS)
575cff7825Smh
58843e1988Sjohnlevinstall_h:	$(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
595cff7825Smh
60843e1988Sjohnlevcheck:		$(CHECKHDRS)
615cff7825Smh
62843e1988Sjohnlev$(ROOTDIRS):
63*48bc00d6Sjmcp	$(INS.dir)
645cff7825Smh
65843e1988Sjohnlev$(ROOTLINK):	$(ROOTDIRS)
6624fe0b3bSjmcp	-$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
675cff7825Smh
68843e1988SjohnlevFRC:
695cff7825Smh
70843e1988Sjohnlevinclude ../../Makefile.targ
71