xref: /onnv-gate/usr/src/uts/common/nfs/Makefile (revision 7961:4b5e3051f38b)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
52140Srmesta# Common Development and Distribution License (the "License").
62140Srmesta# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
22*7961SNatalie.Li@Sun.COM# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate# uts/common/nfs/Makefile
260Sstevel@tonic-gate#
270Sstevel@tonic-gate# include global definitions
280Sstevel@tonic-gate#
290Sstevel@tonic-gateinclude ../../../Makefile.master
300Sstevel@tonic-gate
311167SkupferHDRS=	export.h	lm.h						\
320Sstevel@tonic-gate	mount.h		nfs.h		nfssys.h	nfs_acl.h	\
330Sstevel@tonic-gate	nfs_clnt.h	nfs_log.h 	nfs_sec.h	nfs4.h		\
340Sstevel@tonic-gate	nfs4_attr.h	nfs4_clnt.h	rnode.h		rnode4.h	\
350Sstevel@tonic-gate	nfs4_kprot.h	nfs4_db_impl.h	nfs4_idmap_impl.h \
36*7961SNatalie.Li@Sun.COM	nfsid_map.h	auth.h		nfs_cmd.h
370Sstevel@tonic-gate
381167Skupfer$(CLOSED_BUILD)CLOSEDHDRS=	lm_impl.h	lm_nlm.h	lm_server.h
391167Skupfer
401167SkupferALLHDRS= $(HDRS) $(CLOSEDHDRS)
411167Skupfer
420Sstevel@tonic-gateROOTDIRS= $(ROOT)/usr/include/nfs
430Sstevel@tonic-gate
441167SkupferROOTHDRS= $(ALLHDRS:%=$(ROOTDIRS)/%)
450Sstevel@tonic-gate
461167SkupferCHECKHDRS= $(HDRS:%.h=%.check) \
471167Skupfer	$(CLOSEDHDRS:%.h=$(CLOSED)/uts/common/nfs/%.check)
480Sstevel@tonic-gate
490Sstevel@tonic-gate$(ROOTDIRS)/%: %
500Sstevel@tonic-gate	$(INS.file)
510Sstevel@tonic-gate
521167Skupfer$(ROOTDIRS)/%: $(CLOSED)/uts/common/nfs/%
531167Skupfer	$(INS.file)
541167Skupfer
550Sstevel@tonic-gate.KEEP_STATE:
560Sstevel@tonic-gate
570Sstevel@tonic-gate.PARALLEL: $(CHECKHDRS)
580Sstevel@tonic-gate
590Sstevel@tonic-gateinstall_h: $(ROOTDIRS) $(ROOTHDRS)
600Sstevel@tonic-gate
610Sstevel@tonic-gate$(ROOTDIRS):
620Sstevel@tonic-gate	$(INS.dir)
630Sstevel@tonic-gate
640Sstevel@tonic-gatecheck:	$(CHECKHDRS)
65