4 This file is processed by the bin/SConsDoc.py module.
5 See its __doc__ string for a discussion of the format.
9 Sets construction variables for building with RPCGEN.
23 <builder name="RPCGenClient">
25 Generates an RPC client stub (<filename>_clnt.c</filename>) file
26 from a specified RPC (<filename>.x</filename>) source file.
27 Because rpcgen only builds output files
28 in the local directory,
29 the command will be executed
30 in the source file's directory by default.
33 # Builds src/rpcif_clnt.c
34 env.RPCGenClient('src/rpcif.x')
39 <builder name="RPCGenHeader">
41 Generates an RPC header (<filename>.h</filename>) file
42 from a specified RPC (<filename>.x</filename>) source file.
43 Because rpcgen only builds output files
44 in the local directory,
45 the command will be executed
46 in the source file's directory by default.
50 env.RPCGenHeader('src/rpcif.x')
55 <builder name="RPCGenService">
57 Generates an RPC server-skeleton (<filename>_svc.c</filename>) file
58 from a specified RPC (<filename>.x</filename>) source file.
59 Because rpcgen only builds output files
60 in the local directory,
61 the command will be executed
62 in the source file's directory by default.
65 # Builds src/rpcif_svc.c
66 env.RPCGenClient('src/rpcif.x')
71 <builder name="RPCGenXDR">
73 Generates an RPC XDR routine (<filename>_xdr.c</filename>) file
74 from a specified RPC (<filename>.x</filename>) source file.
75 Because rpcgen only builds output files
76 in the local directory,
77 the command will be executed
78 in the source file's directory by default.
81 # Builds src/rpcif_xdr.c
82 env.RPCGenClient('src/rpcif.x')
89 The RPC protocol compiler.
93 <cvar name="RPCGENCLIENTFLAGS">
95 Options passed to the RPC protocol compiler
96 when generating client side stubs.
97 These are in addition to any flags specified in the
99 construction variable.
103 <cvar name="RPCGENFLAGS">
105 General options passed to the RPC protocol compiler.
109 <cvar name="RPCGENHEADERFLAGS">
111 Options passed to the RPC protocol compiler
112 when generating a header file.
113 These are in addition to any flags specified in the
114 &cv-link-RPCGENFLAGS;
115 construction variable.
119 <cvar name="RPCGENSERVICEFLAGS">
121 Options passed to the RPC protocol compiler
122 when generating server side stubs.
123 These are in addition to any flags specified in the
124 &cv-link-RPCGENFLAGS;
125 construction variable.
129 <cvar name="RPCGENXDRFLAGS">
131 Options passed to the RPC protocol compiler
132 when generating XDR routines.
133 These are in addition to any flags specified in the
134 &cv-link-RPCGENFLAGS;
135 construction variable.