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