# Note: The markers ##XXX## are used by the package helper script ooconfig;
# do not edit them.

OPTIONS
  verbose := FALSE;
  errorMessages := "/usr/local/lib/oo2c/Errors.short";
  optimize := FALSE;

  cc := "gcc";
  cflags := "-O2";
  coptflags := "";
  ldflags := "-L/usr/local/lib";
  gcflags := "-lgc";
  valueStack := -1;

  libtoolCmd := "/usr/bin/libtool";
  installCmd := "/usr/bin/install -c -m 644  ";
  libpath := "/usr/local/lib";
DEFINE LibX11Prefix := " -L/usr/X11R6/lib  -lSM -lICE";  ##OPTIONS:LIB:X11_PREFIX##
DEFINE LibX11Suffix := "";  ##OPTIONS:LIB:X11_SUFFIX##
DEFINE LibXpmPrefix:="";  ##OPTIONS:LIB:XPM_PREFIX##
DEFINE LibXextPrefix:="";  ##OPTIONS:LIB:XEXT_PREFIX##
DEFINE LibmPrefix:="";  ##OPTIONS:LIB:M_PREFIX##
DEFINE LibzPrefix:="";  ##OPTIONS:LIB:Z_PREFIX##
DEFINE LibpngPrefix:="";  ##OPTIONS:LIB:PNG_PREFIX##
DEFINE LibjpegPrefix:="";  ##OPTIONS:LIB:JPEG_PREFIX##
DEFINE LibtiffPrefix:="";  ##OPTIONS:LIB:TIFF_PREFIX##
DEFINE LibgifPrefix:="";  ##OPTIONS:LIB:GIF_PREFIX##
DEFINE LibImlibPrefix:="";  ##OPTIONS:LIB:IMLIB_PREFIX##
END

PRAGMAS
  Warnings := FALSE;
  Assertions := TRUE;
  Initialize := FALSE;
  PoisonHeap := -1;
  StackCheck := TRUE;
  ConformantMode := FALSE;

  CaseSelectCheck := TRUE;
  IndexCheck := TRUE;
  RangeCheck := TRUE;
  DerefCheck := TRUE;
  FunctResult := TRUE;
  TypeGuard := TRUE;
  OverflowCheck := FALSE;
  IntDivCheck := TRUE;
  RealOverflowCheck := TRUE;
  RealDivCheck := TRUE;
DEFINE LIB_HAVE_LIBX11 := TRUE;  ##PRAGMAS:LIB:HAVE_LIBX11##
DEFINE LIB_HAVE_LIBXPM := TRUE;  ##PRAGMAS:LIB:HAVE_LIBXPM##
DEFINE LIB_HAVE_LIBXEXT := TRUE;  ##PRAGMAS:LIB:HAVE_LIBXEXT##
DEFINE LIB_HAVE_LIBM := TRUE;  ##PRAGMAS:LIB:HAVE_LIBM##
DEFINE LIB_HAVE_LIBZ := TRUE;  ##PRAGMAS:LIB:HAVE_LIBZ##
DEFINE LIB_HAVE_LIBPNG := TRUE;  ##PRAGMAS:LIB:HAVE_LIBPNG##
DEFINE LIB_HAVE_LIBJPEG := TRUE;  ##PRAGMAS:LIB:HAVE_LIBJPEG##
DEFINE LIB_HAVE_LIBTIFF := TRUE;  ##PRAGMAS:LIB:HAVE_LIBTIFF##
DEFINE LIB_HAVE_LIBGIF := TRUE;  ##PRAGMAS:LIB:HAVE_LIBGIF##
DEFINE LIB_HAVE_LIBIMLIB := TRUE;  ##PRAGMAS:LIB:HAVE_LIBIMLIB##
END


# include user configuration; it can overide the variables defined above, and
# the paths it specifies take precedence over the ones given below
#INCLUDE ~/.oo2crc END


PATHS
GET *.Sym,*.Lib FROM sym;  ##PATHS:VO:SYM##
GET *.h,*.c,*.d,*.o FROM obj;  ##PATHS:VO:OBJ##
GET *.Mod,*.c FROM src;  ##PATHS:VO:SRC##
GET *.Mod [RCS] FROM
  .;
  /usr/local/lib/oo2c/lib;  ##PATHS:OOC:LIB##

# for all generated file types add `.' as source and destination path; the 
# files will end up in the current directory (which is probably accessible), 
# unless the user specifies other destinations in the INCLUDE above
GET *.Sym, *.Lib FROM
  .; 
  /usr/local/lib/oo2c/sym;  ##PATHS:OOC:SYM##
GET *.h, *.d, *.c, *.o FROM
  .;
  /usr/local/lib/oo2c/obj;  ##PATHS:OOC:OBJ##
  /usr/local/lib/oo2c/lib;
GET *.Mod,*.c FROM /usr/local/lib/oo2c/X11;  ##PATHS:X11:SRC##
GET *.Sym,*.Lib FROM /usr/local/lib/oo2c/X11/sym;  ##PATHS:X11:SYM##
GET *.h,*.c,*.d,*.o FROM /usr/local/lib/oo2c/X11/obj  ##PATHS:X11:OBJ##
END
