#!/usr/bin/perl # $PI=3.14159265358979323846; $SLICES32=32; $SLICES36=36; $SLICES24=24; $LENGTH=0xffff; $AUTOGEN_CPP="../stoolkit/SAutogen.cpp"; $AUTOGEN_H="../stoolkit/SAutogen.h"; die "can not open open $AUTOGEN_CPP" unless (open (C, "> $AUTOGEN_CPP")); die "can not open open $AUTOGEN_H" unless (open (H, "> $AUTOGEN_H")); print C < * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, * dated June 1991. See file COPYING for details. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include EOD print H < * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, * dated June 1991. See file COPYING for details. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef SAutogen_h #define SAutogen_h #include EOD $SLICES=24; &printFile(); $SLICES=32; &printFile(); $SLICES=36; &printFile(); print H<