Changeset 169
- Timestamp:
- 06/15/05 14:08:40
- Files:
-
- openpgpsdk/trunk/Makefile (modified) (1 diff)
- openpgpsdk/trunk/include/packet-show-cast.h (deleted)
- openpgpsdk/trunk/util/caster.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openpgpsdk/trunk/Makefile
r144 r169 7 7 SUBDIRS=src examples 8 8 9 all: Makefiles include/configure.h default 9 all: Makefiles include/configure.h headers default 10 11 headers: 12 cd include && make headers 10 13 11 14 default: openpgpsdk/trunk/util/caster.pl
r162 r169 17 17 open(O,">$outfile") || croak "$outfile: $!"; 18 18 19 print O "/* Generated from $infile by $0, do not edit. */\n\n"; 20 21 my $lineno=0; 19 22 while(my $line=<I>) { 20 23 chomp $line; 24 ++$lineno; 21 25 22 26 my($to,$from)=$line =~ /^\s*(.+?)\s*->\s*(.+?)\s*$/; … … 24 28 my($ttype,$tname,$targs)=parse($to); 25 29 my($ftype,$fname,$fargs)=parse($from); 30 print O "\n"; 31 print O "#line $lineno \"$infile\"\n"; 26 32 print O "$from;\n"; 27 33 print O "#define $tname(";
