xref: /onnv-gate/usr/src/uts/i86pc/sys/Makefile (revision 12004:93f274d4a367)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
53446Smrj# Common Development and Distribution License (the "License").
63446Smrj# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
2210207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate# uts/i86pc/sys/Makefile
260Sstevel@tonic-gate#
270Sstevel@tonic-gateUTSBASE = ../..
280Sstevel@tonic-gate
290Sstevel@tonic-gate#
300Sstevel@tonic-gate# include global definitions
310Sstevel@tonic-gate#
320Sstevel@tonic-gateinclude ../Makefile.i86pc
330Sstevel@tonic-gate
340Sstevel@tonic-gate#
350Sstevel@tonic-gate# Override defaults.
360Sstevel@tonic-gate#
370Sstevel@tonic-gateFILEMODE = 644
380Sstevel@tonic-gate
390Sstevel@tonic-gateHDRS=  \
4010394SMichael.Corcoran@Sun.COM	acpidev.h	\
4110566SVikram.Hegde@Sun.COM	amd_iommu.h	\
420Sstevel@tonic-gate	asm_misc.h	\
430Sstevel@tonic-gate	clock.h		\
440Sstevel@tonic-gate	cram.h		\
450Sstevel@tonic-gate	ddi_subrdefs.h	\
463446Smrj	debug_info.h 	\
477656SSherry.Moore@Sun.COM	fastboot.h	\
483446Smrj	mach_mmu.h	\
495084Sjohnlev	machclock.h	\
500Sstevel@tonic-gate	machcpuvar.h	\
510Sstevel@tonic-gate	machparam.h	\
525084Sjohnlev	machprivregs.h	\
530Sstevel@tonic-gate	machsystm.h	\
540Sstevel@tonic-gate	machthread.h	\
55537Smishra	memnode.h	\
563446Smrj	pc_mmu.h	\
570Sstevel@tonic-gate	psm.h		\
580Sstevel@tonic-gate	psm_defs.h	\
590Sstevel@tonic-gate	psm_modctl.h	\
600Sstevel@tonic-gate	psm_types.h	\
610Sstevel@tonic-gate	rm_platter.h	\
620Sstevel@tonic-gate	smp_impldefs.h	\
63*12004Sjiang.liu@intel.com	sbd_ioctl.h	\
640Sstevel@tonic-gate	vm_machparam.h	\
650Sstevel@tonic-gate	x_call.h	\
663446Smrj	xc_levels.h	\
673446Smrj	xsvc.h
680Sstevel@tonic-gate
690Sstevel@tonic-gateROOTHDRS=	$(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
700Sstevel@tonic-gate
710Sstevel@tonic-gateROOTDIR=	$(ROOT)/usr/share/src
720Sstevel@tonic-gateROOTDIRS=	$(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
730Sstevel@tonic-gate
740Sstevel@tonic-gateROOTLINK=	$(ROOTDIR)/uts/$(PLATFORM)/sys
750Sstevel@tonic-gateLINKDEST=	../../../../platform/$(PLATFORM)/include/sys
760Sstevel@tonic-gate
770Sstevel@tonic-gateCHECKHDRS=	$(HDRS:%.h=%.check)
780Sstevel@tonic-gate
790Sstevel@tonic-gate.KEEP_STATE:
800Sstevel@tonic-gate
810Sstevel@tonic-gate.PARALLEL:	$(CHECKHDRS) $(ROOTHDRS)
820Sstevel@tonic-gate
830Sstevel@tonic-gateinstall_h:	$(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
840Sstevel@tonic-gate
850Sstevel@tonic-gatecheck:		$(CHECKHDRS)
860Sstevel@tonic-gate
870Sstevel@tonic-gate$(ROOTDIRS):
8810738SJames.McPherson@Sun.COM	$(INS.dir)
890Sstevel@tonic-gate
900Sstevel@tonic-gate$(ROOTLINK):	$(ROOTDIRS)
9110207SJames.McPherson@Sun.COM	-$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
920Sstevel@tonic-gate
930Sstevel@tonic-gateFRC:
940Sstevel@tonic-gate
950Sstevel@tonic-gateinclude ../../Makefile.targ
96