xref: /onnv-gate/usr/src/uts/common/sharefs/Makefile (revision 3957:86c9dda5df37)
1*3957Sth199096#
2*3957Sth199096# CDDL HEADER START
3*3957Sth199096#
4*3957Sth199096# The contents of this file are subject to the terms of the
5*3957Sth199096# Common Development and Distribution License (the "License").
6*3957Sth199096# You may not use this file except in compliance with the License.
7*3957Sth199096#
8*3957Sth199096# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3957Sth199096# or http://www.opensolaris.org/os/licensing.
10*3957Sth199096# See the License for the specific language governing permissions
11*3957Sth199096# and limitations under the License.
12*3957Sth199096#
13*3957Sth199096# When distributing Covered Code, include this CDDL HEADER in each
14*3957Sth199096# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3957Sth199096# If applicable, add the following below this CDDL HEADER, with the
16*3957Sth199096# fields enclosed by brackets "[]" replaced with your own identifying
17*3957Sth199096# information: Portions Copyright [yyyy] [name of copyright owner]
18*3957Sth199096#
19*3957Sth199096# CDDL HEADER END
20*3957Sth199096#
21*3957Sth199096#
22*3957Sth199096# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*3957Sth199096# Use is subject to license terms.
24*3957Sth199096#
25*3957Sth199096# ident	"%Z%%M%	%I%	%E% SMI"
26*3957Sth199096#
27*3957Sth199096# uts/common/nfs/Makefile
28*3957Sth199096#
29*3957Sth199096# include global definitions
30*3957Sth199096#
31*3957Sth199096include ../../../Makefile.master
32*3957Sth199096
33*3957Sth199096HDRS=	share.h	sharetab.h sharefs.h
34*3957Sth199096
35*3957Sth199096ALLHDRS= $(HDRS)
36*3957Sth199096
37*3957Sth199096ROOTDIRS= $(ROOT)/usr/include/sharefs
38*3957Sth199096
39*3957Sth199096ROOTHDRS= $(ALLHDRS:%=$(ROOTDIRS)/%)
40*3957Sth199096
41*3957Sth199096CHECKHDRS= $(HDRS:%.h=%.check) \
42*3957Sth199096	$(CLOSEDHDRS:%.h=$(CLOSED)/uts/common/sharefs/%.check)
43*3957Sth199096
44*3957Sth199096$(ROOTDIRS)/%: %
45*3957Sth199096	$(INS.file)
46*3957Sth199096
47*3957Sth199096.KEEP_STATE:
48*3957Sth199096
49*3957Sth199096.PARALLEL: $(CHECKHDRS)
50*3957Sth199096
51*3957Sth199096install_h: $(ROOTDIRS) $(ROOTHDRS)
52*3957Sth199096
53*3957Sth199096$(ROOTDIRS):
54*3957Sth199096	$(INS.dir)
55*3957Sth199096
56*3957Sth199096check:	$(CHECKHDRS)
57