diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-28 23:38:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:10 -0500 |
commit | 1deb402445c07dae69c4637a1a4b191f10b0bee1 (patch) | |
tree | a00a004c5215201499cdc22eba01b66961e7f680 /source4/build/pidl/pidl.pl | |
parent | 26ced62131962d92d45b8a383d3ecf4c9af56d02 (diff) | |
download | samba-1deb402445c07dae69c4637a1a4b191f10b0bee1.tar.gz samba-1deb402445c07dae69c4637a1a4b191f10b0bee1.tar.bz2 samba-1deb402445c07dae69c4637a1a4b191f10b0bee1.zip |
r7059: Use namespaces for pidl and the build system, so we can later on
call out to the build system to compile the various pidl tests
(without having to rely on shared library support).
Initial work on an ndr_array test.
(This used to be commit 2b08c4b92b4f56180c123a502bdcc6c40188c07f)
Diffstat (limited to 'source4/build/pidl/pidl.pl')
-rwxr-xr-x | source4/build/pidl/pidl.pl | 92 |
1 files changed, 45 insertions, 47 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl index c7b98a0d34..478c7a273a 100755 --- a/source4/build/pidl/pidl.pl +++ b/source4/build/pidl/pidl.pl @@ -10,28 +10,27 @@ use strict; use FindBin qw($RealBin); -use lib "$RealBin"; -use lib "$RealBin/lib"; +use lib "$RealBin/.."; use Getopt::Long; use File::Basename; -use idl; -use dump; -use ndr_client; -use ndr_header; -use ndr_parser; -use server; -use dcom_proxy; -use dcom_stub; -use com_header; -use odl; -use eth_parser; -use eth_header; -use validator; -use typelist; -use util; -use template; -use swig; -use compat; +use pidl::idl; +use pidl::dump; +use pidl::ndr_client; +use pidl::ndr_header; +use pidl::ndr_parser; +use pidl::server; +use pidl::dcom_proxy; +use pidl::dcom_stub; +use pidl::com_header; +use pidl::odl; +use pidl::eth_parser; +use pidl::eth_header; +use pidl::validator; +use pidl::typelist; +use pidl::util; +use pidl::template; +use pidl::swig; +use pidl::compat; my($opt_help) = 0; my($opt_parse) = 0; @@ -59,33 +58,32 @@ my $idl_parser = new idl; # display help text sub ShowHelp() { - print " - perl IDL parser and code generator - Copyright (C) tridge\@samba.org - - Usage: pidl.pl [options] <idlfile> - - Options: - --help this help page - --output=OUTNAME put output in OUTNAME.* - --parse parse a idl file to a .pidl file - --dump dump a pidl file back to idl - --header[=OUTFILE] create a C NDR header file - --parser[=OUTFILE] create a C NDR parser - --client create a C NDR client - --server create server boilerplate - --template print a template for a pipe - --eth-parser create an ethereal parser - --eth-header create an ethereal header file - --swig create swig wrapper file - --diff run diff on the idl and dumped output - --keep keep the .pidl file - --odl accept ODL input - --dcom-proxy create DCOM proxy (implies --odl) - --com-header create header for COM interfaces (implies --odl) - --warn-compat warn about incompatibility with other compilers - --quiet be quiet - \n"; +print "perl IDL parser and code generator +Copyright (C) tridge\@samba.org + +Usage: pidl.pl [options] <idlfile> + +Options: + --help this help page + --output=OUTNAME put output in OUTNAME.* + --parse parse a idl file to a .pidl file + --dump dump a pidl file back to idl + --header[=OUTFILE] create a C NDR header file + --parser[=OUTFILE] create a C NDR parser + --client create a C NDR client + --server create server boilerplate + --template print a template for a pipe + --eth-parser create an ethereal parser + --eth-header create an ethereal header file + --swig create swig wrapper file + --diff run diff on the idl and dumped output + --keep keep the .pidl file + --odl accept ODL input + --dcom-proxy create DCOM proxy (implies --odl) + --com-header create header for COM interfaces (implies --odl) + --warn-compat warn about incompatibility with other compilers + --quiet be quiet +\n"; exit(0); } |