head     1.1;
branch   1.1.1;
access   ;
symbols  start:1.1.1.1 project:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2009.07.09.02.51.48;  author yo2dh;  state Exp;
branches 1.1.1.1;
next     ;

1.1.1.1
date     2009.07.09.02.51.48;  author yo2dh;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#!/bin/bash
# A script to preprocess files.
# Also, allows overriding system header files with locally modified
# versions (see the include-wrap/ directory of the release); this is useful
# when the parser can't handle the standard include files.

# where the header-file overrides live
# --> You may want edit this to point to the include-wrap/ directory <--
# --> included in the distribution.                                  <--
HDRS=./include-wrap

# for cpp, on Solaris
PATH=$PATH:/lib

# Other possibilities that may be useful in some cases:
# -D__linux__ -D_NO_LONGLONG -D'__attribute__(x)=' -D'__P(x)=x' -D__GNUC__=2 ?
CPPFLAGS="$CFLAGS -C -I$HDRS"

for file in $*
do
  base=${file%.c}
  cpp $CPPFLAGS $file > $base.i
done
@


1.1.1.1
log
@CVS TEST
@
text
@@
