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