Makefile revision 29949e866e40b95795203f3ee46f44a197c946e4
286N/A#
286N/A# CDDL HEADER START
286N/A#
286N/A# The contents of this file are subject to the terms of the
286N/A# Common Development and Distribution License (the "License").
286N/A# You may not use this file except in compliance with the License.
286N/A#
286N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
286N/A# or http://www.opensolaris.org/os/licensing.
286N/A# See the License for the specific language governing permissions
286N/A# and limitations under the License.
286N/A#
286N/A# When distributing Covered Code, include this CDDL HEADER in each
286N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
286N/A# If applicable, add the following below this CDDL HEADER, with the
286N/A# fields enclosed by brackets "[]" replaced with your own identifying
286N/A# information: Portions Copyright [yyyy] [name of copyright owner]
286N/A#
286N/A# CDDL HEADER END
286N/A#
286N/A
286N/A#
286N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
286N/A# Use is subject to license terms.
286N/A#
286N/A#ident "%Z%%M% %I% %E% SMI"
286N/A#
286N/A
286N/AUTSBASE = ../../..
286N/A
286N/A#
286N/A# include global definitions
286N/A#
286N/Ainclude ../Makefile.sunfire
286N/A
286N/A#
286N/A# Override defaults.
286N/A#
286N/AFILEMODE = 644
286N/AGROUP = bin
286N/A
286N/AHDRS= ac.h environ.h fhc.h simmstat.h sysctrl.h
286N/ACLOSEDHDRS= sram.h
286N/A
286N/AROOTHDRS= $(HDRS:%=$(USR_SUNFIRE_ISYS_DIR)/%)
286N/A$(CLOSED_BUILD)ROOTHDRS += $(CLOSEDHDRS:%=$(USR_SUNFIRE_ISYS_DIR)/%)
286N/A
286N/AROOTDIR= $(ROOT)/usr/share/src
286N/AROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
286N/A
286N/AROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/sys
286N/ALINKDEST= ../../../../platform/$(PLATFORM)/include/sys
286N/A
286N/ACHECKHDRS= $(HDRS:%.h=%.check)
286N/A$(CLOSED_BUILD)CHECKHDRS += \
286N/A $(CLOSEDHDRS:%.h=$(CLOSED)/uts/sun4u/sunfire/sys/%.check)
286N/A
286N/A.KEEP_STATE:
286N/A
286N/A.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
286N/A
286N/Ainstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
286N/A
286N/Acheck: $(CHECKHDRS)
286N/A
286N/A#
286N/A# install rules
286N/A#
286N/A$(USR_SUNFIRE_ISYS_DIR)/%: % $(USR_SUNFIRE_ISYS_DIR)
286N/A $(INS.file)
286N/A
286N/A$(USR_SUNFIRE_ISYS_DIR)/%: $(CLOSED)/uts/sun4u/sunfire/sys/%
286N/A $(INS.file)
286N/A
286N/A$(ROOTDIRS):
286N/A $(INS.dir.root.bin)
286N/A
286N/A# -r because this used to be a directory and is now a link.
286N/A$(ROOTLINK): $(ROOTDIRS)
286N/A -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@ $(CHOWNLINK) $(CHGRPLINK)
286N/A
286N/AFRC:
286N/A
286N/Ainclude ../Makefile.targ
286N/A