2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# CDDL HEADER START
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# The contents of this file are subject to the terms of the
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# Common Development and Distribution License (the "License").
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# You may not use this file except in compliance with the License.
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# or http://www.opensolaris.org/os/licensing.
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# See the License for the specific language governing permissions
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# and limitations under the License.
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# When distributing Covered Code, include this CDDL HEADER in each
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# If applicable, add the following below this CDDL HEADER, with the
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# fields enclosed by brackets "[]" replaced with your own identifying
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# information: Portions Copyright [yyyy] [name of copyright owner]
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# CDDL HEADER END
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# Use is subject to license terms.
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# ident "%Z%%M% %I% %E% SMI"
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows#
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# include global definitions
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsinclude ../../../Makefile.master
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsHDRS = \
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows flush.h \
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows sunddi.h \
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows thread.h
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsROOTDIR= $(ROOT)/usr/include/asm
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsROOTDIRS= $(ROOTDIR)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsCHECKHDRS= $(HDRS:%.h=%.check)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows# install rules
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows$(ROOTDIR)/%: %
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows $(INS.file)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows.KEEP_STATE:
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowsinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows$(ROOTDIRS):
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows $(INS.dir)
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolows
2b616c6c748ccca60ec7bdc3c781d84203c97b2bwesolowscheck: $(CHECKHDRS)