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