18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # uts/common/nfs/Makefile
26 #
27 # include global definitions
28 #
29 include ../../../Makefile.master
30
31 HDRS= export.h lm.h \
32 mount.h nfs.h nfssys.h nfs_acl.h \
33 nfs_clnt.h nfs_log.h nfs_sec.h nfs4.h \
34 nfs4_attr.h nfs4_clnt.h rnode.h rnode4.h \
35 nfs4_kprot.h nfs4_db_impl.h nfs4_idmap_impl.h \
36 nfsid_map.h auth.h nfs_cmd.h
37
38 $(CLOSED_BUILD)CLOSEDHDRS= lm_impl.h lm_nlm.h lm_server.h
39
40 ALLHDRS= $(HDRS) $(CLOSEDHDRS)
41
42 ROOTDIRS= $(ROOT)/usr/include/nfs
43
44 ROOTHDRS= $(ALLHDRS:%=$(ROOTDIRS)/%)
45
46 CHECKHDRS= $(HDRS:%.h=%.check) \
47 $(CLOSEDHDRS:%.h=$(CLOSED)/uts/common/nfs/%.check)
48
49 $(ROOTDIRS)/%: %
50 $(INS.file)
51
52 $(ROOTDIRS)/%: $(CLOSED)/uts/common/nfs/%
53 $(INS.file)
54
55 .KEEP_STATE:
56
57 .PARALLEL: $(CHECKHDRS)
58
59 install_h: $(ROOTDIRS) $(ROOTHDRS)
60
61 $(ROOTDIRS):
62 $(INS.dir)
63
64 check: $(CHECKHDRS)
|
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # uts/common/nfs/Makefile
26 #
27 # include global definitions
28 #
29 include ../../../Makefile.master
30
31 HDRS= export.h lm.h \
32 mount.h nfs.h nfssys.h nfs_acl.h \
33 nfs_clnt.h nfs_log.h nfs_sec.h nfs4.h \
34 nfs4_attr.h nfs4_clnt.h rnode.h rnode4.h \
35 nfs4_kprot.h nfs4_db_impl.h nfs4_idmap_impl.h \
36 nfsid_map.h auth.h nfs_cmd.h
37
38 ROOTDIRS= $(ROOT)/usr/include/nfs
39
40 ROOTHDRS= $(HDRS:%=$(ROOTDIRS)/%)
41
42 CHECKHDRS= $(HDRS:%.h=%.check)
43
44 $(ROOTDIRS)/%: %
45 $(INS.file)
46
47 .KEEP_STATE:
48
49 .PARALLEL: $(CHECKHDRS)
50
51 install_h: $(ROOTDIRS) $(ROOTHDRS)
52
53 $(ROOTDIRS):
54 $(INS.dir)
55
56 check: $(CHECKHDRS)
|