ACE+TAO-6_5_17
[ACE_TAO.git] / TAO / TAO_IDL / regen.pl
blob28e79188c71d6910b38ef10ce024f101ad677ad7
1 eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}'
2 & eval 'exec perl -w -S $0 $argv:q'
3 if 0;
5 use strict;
6 use Env 'ACE_ROOT';
8 my %args = map { $_ => 1 } @ARGV;
9 my $debug = exists($args{'-d'});
11 my $features = 'tao_idl_fe_gen=1';
12 if (system "$ACE_ROOT/bin/mpc.pl -type gnuace -features $features tao_idl_fe.mpc") {
13 exit(1);
15 utime undef, undef, 'fe/keywords.dat';
17 my $bison_target = $debug ? 'debug_bison' : 'y.tab';
18 if (system "make -f GNUmakefile.TAO_IDL_GEN $features lex.yy $bison_target all") {
19 exit(1);