Makefile revision 7a286c471efbab8562f7655a82931904703fffe0
131N/A#
131N/A# CDDL HEADER START
131N/A#
131N/A# The contents of this file are subject to the terms of the
131N/A# Common Development and Distribution License (the "License").
131N/A# You may not use this file except in compliance with the License.
131N/A#
131N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
131N/A# or http://www.opensolaris.org/os/licensing.
131N/A# See the License for the specific language governing permissions
131N/A# and limitations under the License.
131N/A#
131N/A# When distributing Covered Code, include this CDDL HEADER in each
131N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
131N/A# If applicable, add the following below this CDDL HEADER, with the
131N/A# fields enclosed by brackets "[]" replaced with your own identifying
131N/A# information: Portions Copyright [yyyy] [name of copyright owner]
131N/A#
131N/A# CDDL HEADER END
131N/A#
131N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
131N/A# Use is subject to license terms.
131N/A#
131N/A# uts/common/fs/Makefile
131N/A#
131N/A# include global definitions
131N/Ainclude ../../../Makefile.master
131N/A
131N/AHDRS= fs_subr.h \
131N/A fs_reparse.h
131N/A
131N/APROCHDRS= prdata.h
131N/A
131N/AROOTDIR= $(ROOT)/usr/include/sys
131N/AROOTDIRS= $(ROOTDIR) $(ROOTDIR)/proc
131N/A
131N/AROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
131N/AROOTPROCHDRS= $(PROCHDRS:%=$(ROOTDIR)/proc/%)
131N/A
131N/A# install rules
131N/A$(ROOTDIR)/%: %
131N/A $(INS.file)
131N/A
131N/A$(ROOTDIR)/proc/%: proc/%
131N/A $(INS.file)
131N/A
131N/A# standards checking rules
181N/Aproc/%.check: proc/%.h
181N/A $(DOT_H_CHECK)
131N/A
131N/ACHECKHDRS= $(HDRS:%.h=%.check) \
131N/A $(PROCHDRS:%.h=proc/%.check)
.KEEP_STATE:
.PARALLEL: $(CHECKHDRS)
install_h: $(ROOTDIRS) $(ROOTHDRS) $(ROOTPROCHDRS)
$(ROOTDIRS):
$(INS.dir)
check: $(CHECKHDRS)