diff options
Diffstat (limited to 'ACE/MPC/depgen.pl')
-rwxr-xr-x | ACE/MPC/depgen.pl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ACE/MPC/depgen.pl b/ACE/MPC/depgen.pl new file mode 100755 index 00000000000..9a3af91a5a3 --- /dev/null +++ b/ACE/MPC/depgen.pl @@ -0,0 +1,36 @@ +#! /usr/bin/perl +eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' + & eval 'exec perl -w -S $0 $argv:q' + if 0; + +# ************************************************************ +# Description : Generate dependencies for Make and NMake. +# Author : Chad Elliott +# Create Date : 5/06/2002 +# $Id$ +# ************************************************************ + +# ************************************************************ +# Pragma Section +# ************************************************************ + +use strict; +use FindBin; +use File::Spec; +use File::Basename; + +my $basePath = $FindBin::Bin; +if ($^O eq 'VMS') { + $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); + $basePath = VMS::Filespec::unixify($basePath); +} +unshift(@INC, $basePath . '/modules/Depgen', $basePath . '/modules'); + +require Driver; + +# ************************************************************ +# Main Section +# ************************************************************ + +my $driver = new Driver(); +exit($driver->run(\@ARGV)); |