Makefile revision a195726fa33097e56cf1c25c31feddb827e140f0
98N/A#
98N/A# CDDL HEADER START
967N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License, Version 1.0 only
919N/A# (the "License"). You may not use this file except in compliance
919N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
98N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A#ident "%Z%%M% %I% %E% SMI"
810N/A#
810N/A# uts/sun4v/sys/Makefile
810N/A#
810N/A# include global definitions
354N/AUTSBASE = ../..
354N/A
354N/A#
354N/A# include global definitions
354N/A#
354N/Ainclude ../Makefile.sun4v
354N/A
354N/A#
606N/A# Override defaults.
810N/A#
606N/AFILEMODE = 644
606N/AGROUP = bin
354N/A
810N/ASUN4_HDRS= \
824N/A clock.h \
810N/A cmp.h \
830N/A cpc_ultra.h \
1026N/A cpu_sgnblk_defs.h \
810N/A ddi_subrdefs.h \
810N/A dvma.h \
810N/A eeprom.h \
810N/A fcode.h \
810N/A idprom.h \
810N/A intr.h \
851N/A intreg.h \
851N/A ivintr.h \
810N/A memlist_plat.h \
810N/A memnode.h \
810N/A memtestio.h \
810N/A nexusdebug.h \
810N/A prom_debug.h \
851N/A scb.h \
810N/A sun4asi.h \
851N/A tod.h \
810N/A trapstat.h \
810N/A vis.h \
810N/A vm_machparam.h \
810N/A x_call.h \
810N/A xc_impl.h \
810N/A zsmach.h
851N/A
810N/AHDRS= \
851N/A hypervisor_api.h \
1010N/A machasi.h \
851N/A machclock.h \
810N/A machcpuvar.h \
810N/A mach_descrip.h \
810N/A machintreg.h \
810N/A machparam.h \
810N/A machsystm.h \
810N/A machthread.h \
810N/A memtestio_ni.h \
810N/A memtestio_v.h \
851N/A mmu.h \
851N/A niagaraasi.h \
851N/A niagararegs.h \
851N/A pte.h \
851N/A prom_plat.h \
98N/A qcn.h \
824N/A traptrace.h
98N/A
98N/AROOTHDRS= $(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
830N/ASUN4_ROOTHDRS= $(SUN4_HDRS:%=$(USR_PSM_ISYS_DIR)/%)
1026N/A
851N/AROOTDIR= $(ROOT)/usr/share/src
824N/AROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
571N/A
98N/AROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/sys
98N/ALINKDEST= ../../../../platform/$(PLATFORM)/include/sys
98N/A
341N/ACHECKHDRS= $(HDRS:%.h=%.check) \
366N/A $(SUN4_HDRS:%.h=%.cmncheck)
354N/A
425N/A.KEEP_STATE:
325N/A
456N/A.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(SUN4_ROOTHDRS)
577N/A
325N/Ainstall_h: $(ROOTDIRS) .WAIT \
354N/A $(ROOTHDRS) .WAIT \
278N/A $(SUN4_ROOTHDRS) .WAIT $(ROOTLINK)
98N/A
543N/Acheck: $(CHECKHDRS)
98N/A
749N/A#
749N/A# install rules
98N/A#
151N/A$(USR_PSM_ISYS_DIR)/%: ../../sfmmu/sys/% $(USR_PSM_ISYS_DIR)
137N/A $(INS.file)
153N/A
210N/A$(USR_PSM_ISYS_DIR)/%: ../../sun4/sys/% $(USR_PSM_ISYS_DIR)
366N/A $(INS.file)
98N/A
179N/A$(ROOTDIRS):
269N/A $(INS.dir.root.bin)
126N/A
98N/A# -r because this used to be a directory and is now a link.
98N/A$(ROOTLINK): $(ROOTDIRS)
287N/A -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@ $(CHOWNLINK) $(CHGRPLINK)
366N/A
499N/Amon/%.check: mon/%.h
123N/A $(DOT_H_CHECK)
98N/A
98N/A%.check: ../../sfmmu/sys/%.h
98N/A $(DOT_H_CHECK)
98N/A%.cmncheck: ../../sun4/sys/%.h
851N/A $(DOT_H_CHECK)
577N/A
498N/AFRC:
98N/A
98N/Ainclude ../../Makefile.targ
98N/A