86 # all_h permits derived headers to be built here in the uts source area
87 # for the kernel to reference, without going so far as to install them.
88 #
89 all_h: $(DERIVED_FILES)
90
91 clean:
92 $(RM) $(DERIVED_FILES)
93
94 $(RPCDIRS):
95 $(INS.dir)
96
97 $(RPCSVCDIRS):
98 $(INS.dir)
99
100 key_prot.h: key_prot.x
101 $(RPCGEN) -C -h key_prot.x > $@
102
103 pmap_prot.h: pmap_prot.x
104 $(RPCGEN) -h pmap_prot.x > $@
105
106 # EXPORT DELETE START
107 # Special target to clean up the source tree for export distribution
108 # Warning: This target changes the source tree
109 EXPORT_SRC:
110 $(RM) Makefile+ sec_gss/rpcsec_gss_misc.c+
111 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
112 < Makefile > Makefile+
113 $(MV) Makefile+ Makefile
114 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
115 < sec_gss/rpcsec_gss_misc.c > sec_gss/rpcsec_gss_misc.c+
116 $(MV) sec_gss/rpcsec_gss_misc.c+ sec_gss/rpcsec_gss_misc.c
117 $(CHMOD) 444 Makefile sec_gss/rpcsec_gss_misc.c
118
119 # EXPORT DELETE END
120
121 rpc_sztypes.h: rpc_sztypes.x
122 $(RPCGEN) -C -h rpc_sztypes.x > $@
123
124 rpcb_prot.h: rpcb_prot.x
125 $(RPCGEN) -h rpcb_prot.x > $@
126
127 check: $(CHECKHDRS)
|
86 # all_h permits derived headers to be built here in the uts source area
87 # for the kernel to reference, without going so far as to install them.
88 #
89 all_h: $(DERIVED_FILES)
90
91 clean:
92 $(RM) $(DERIVED_FILES)
93
94 $(RPCDIRS):
95 $(INS.dir)
96
97 $(RPCSVCDIRS):
98 $(INS.dir)
99
100 key_prot.h: key_prot.x
101 $(RPCGEN) -C -h key_prot.x > $@
102
103 pmap_prot.h: pmap_prot.x
104 $(RPCGEN) -h pmap_prot.x > $@
105
106 rpc_sztypes.h: rpc_sztypes.x
107 $(RPCGEN) -C -h rpc_sztypes.x > $@
108
109 rpcb_prot.h: rpcb_prot.x
110 $(RPCGEN) -h rpcb_prot.x > $@
111
112 check: $(CHECKHDRS)
|