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