Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1408N/A#
1408N/A# CDDL HEADER START
1408N/A#
1408N/A# The contents of this file are subject to the terms of the
1408N/A# Common Development and Distribution License, Version 1.0 only
1408N/A# (the "License"). You may not use this file except in compliance
1408N/A# with the License.
1408N/A#
1408N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1408N/A# or http://www.opensolaris.org/os/licensing.
1408N/A# See the License for the specific language governing permissions
1408N/A# and limitations under the License.
1408N/A#
1408N/A# When distributing Covered Code, include this CDDL HEADER in each
1408N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1408N/A# If applicable, add the following below this CDDL HEADER, with the
1408N/A# fields enclosed by brackets "[]" replaced with your own identifying
1408N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1408N/A#
1408N/A# CDDL HEADER END
1408N/A#
1408N/A#
1408N/A# Copyright (c) 2001 by Sun Microsystems, Inc.
1408N/A# All rights reserved.
1408N/A#
1408N/A#ident "%Z%%M% %I% %E% SMI"
1408N/A#
1408N/A# uts/sun4u/cherrystone/sys/Makefile
1408N/A#
1408N/AUTSBASE = ../../..
1408N/A
1408N/A#
1408N/A# include global definitions
1408N/A#
1408N/Ainclude ../Makefile.cherrystone
1408N/A
1408N/A#
1408N/A# Override defaults.
1408N/A#
1408N/AFILEMODE = 644
1408N/AOWNER = root
GROUP = bin
HDRS= cherrystone.h
ROOTHDRS= $(HDRS:%=$(USR_CHERRYSTONE_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)
#
# install rules
#
$(USR_CHERRYSTONE_ISYS_DIR)/%: % $(USR_CHERRYSTONE_ISYS_DIR)
$(INS.file)
$(ROOTDIRS):
$(INS.dir.root.bin)
# -r because this used to be a directory and is now a link.
$(ROOTLINK): $(ROOTDIRS)
-$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@ $(CHOWNLINK) $(CHGRPLINK)
FRC:
include ../Makefile.targ