Makefile revision 6732dbb379bf754b70168b01ba56793737f9f3e7
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A#
1N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# uts/i86pc/sys/Makefile
1N/A#
1N/AUTSBASE = ../..
1N/A
1N/A#
1N/A# include global definitions
1N/A#
1N/Ainclude ../Makefile.i86pc
1N/A
1N/A#
1N/A# Override defaults.
1N/A#
1N/AFILEMODE = 644
1N/A
1N/AHDRS= \
1N/A acpidev.h \
1N/A amd_iommu.h \
1N/A asm_misc.h \
1N/A clock.h \
1N/A cram.h \
1N/A ddi_subrdefs.h \
1N/A debug_info.h \
1N/A fastboot.h \
1N/A mach_mmu.h \
1N/A machclock.h \
1N/A machcpuvar.h \
1N/A machparam.h \
1N/A machprivregs.h \
1N/A machsystm.h \
1N/A machthread.h \
1N/A memnode.h \
1N/A pc_mmu.h \
1N/A psm.h \
1N/A psm_defs.h \
1N/A psm_modctl.h \
1N/A psm_types.h \
rm_platter.h \
smp_impldefs.h \
vm_machparam.h \
x_call.h \
xc_levels.h \
xsvc.h
ROOTHDRS= $(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
ROOTDIR= $(ROOT)/usr/share/src
ROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
ROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/sys
LINKDEST= ../../../../platform/$(PLATFORM)/include/sys
CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
check: $(CHECKHDRS)
$(ROOTDIRS):
$(INS.dir.root.bin)
$(ROOTLINK): $(ROOTDIRS)
-$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
FRC:
include ../../Makefile.targ