# 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 -Wall -D_REENTRANT";
  coptflags := "-O2";
  ldflags := "-L/usr/lib";
  gcflags := "-lgc";
  valueStack := -1;

  libtoolCmd := "/usr/bin/libtool";
  installCmd := "/usr/bin/install -c -m 644  ";
  libpath := "/usr/lib";

  DEFINE LibX11Prefix := " -L/usr/X11R6/lib  -lSM -lICE";
  DEFINE LibX11Suffix := "";
END

PRAGMAS
  Warnings := FALSE;
  Assertions := TRUE;
  Initialize := FALSE;
  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##
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
