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

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

  cc := "gcc";
  cflags := "-pipe -D_REENTRANT  -mieee -I/usr/include/gc";
  coptflags := "-O1";
  ldflags := "-L/usr/lib";
  gcflags := "-lgc";
  valueStack := -1;

  libtoolCmd := "/usr/bin/libtool";
  installCmd := "/usr/bin/install -c -m 644  ";
  libpath := "/usr/lib";
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;
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 *.Mod [RCS] FROM
  .;
  /usr/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/lib/oo2c/sym;  ##PATHS:OOC:SYM##
GET *.h, *.d, *.c, *.o FROM
  .;
  /usr/lib/oo2c/obj;  ##PATHS:OOC:OBJ##
  /usr/lib/oo2c/lib;
END
