diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2007-03-22 13:40:17 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2007-03-22 13:40:17 +0000 |
commit | 74a12ccd024964043dfaf7c556757c6d871f6c04 (patch) | |
tree | e57004bcbad72e76551400e83371f435f9b29585 /depgen.pl | |
parent | 292a5e1b6a6741fe1f297252ecb3de0a7a155c25 (diff) | |
download | MPC-74a12ccd024964043dfaf7c556757c6d871f6c04.tar.gz |
ChangeLogTag: Thu Mar 22 14:36:53 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'depgen.pl')
-rwxr-xr-x | depgen.pl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/depgen.pl b/depgen.pl new file mode 100755 index 00000000..8d3a96a5 --- /dev/null +++ b/depgen.pl @@ -0,0 +1,35 @@ +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'); + +require Driver; + +# ************************************************************ +# Main Section +# ************************************************************ + +my($driver) = new Driver(); +exit($driver->run(\@ARGV)); |