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