File: oo2crc.mk.in

package info (click to toggle)
oo2c 1.5.9-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,312 kB
  • ctags: 727
  • sloc: ansic: 4,679; sh: 523; makefile: 368; perl: 66; lisp: 20
file content (62 lines) | stat: -rw-r--r-- 1,448 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Note: The markers ##XXX## are used by the package helper script ooconfig;
# do not edit them.

OPTIONS
  verbose := FALSE;
  errorMessages := "%OOLIBDIR%/Errors.short";
  optimize := FALSE;

  cc := "%CC%";
  cflags := "%CFLAGS%";
  coptflags := "%COPTFLAGS%";
  ldflags := "%LDFLAGS%";
  gcflags := "@gc_flags@";
  valueStack := @value_stack@;

  libtoolCmd := "%LIBTOOL%";
  installCmd := "%INSTALL_CMD%";
  libpath := "%LIBPATH%";
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
  .;
  %OOLIBDIR%/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
  .; 
  %OOLIBDIR%/sym;  ##PATHS:OOC:SYM##
GET *.h, *.d, *.c, *.o FROM
  .;
  %OOLIBDIR%/obj;  ##PATHS:OOC:OBJ##
  %OOLIBDIR%/lib;
END