3 # used to generate the file MINFO for use by util/mk1mf.pl
4 # It is basically a list of all variables from the passed makefile
12 if (/^(\S+)\s*=\s*(.*)$/)
35 $o =~ s/\$[({]([^)}]+)[)}]/$sym{$1}/g;
40 $pwd=`pwd`; chop($pwd);
42 if ($sym{'TOP'} eq ".")
48 $n=split(/\//,$sym{'TOP'});
51 foreach $i ($z .. $#_) { $dir.=$_[$i]."/"; }
55 print "RELATIVE_DIRECTORY=$dir\n";
57 foreach (sort keys %sym)
59 print "$_=$sym{$_}\n";
61 print "RELATIVE_DIRECTORY=\n";