]> git.saurik.com Git - wxWidgets.git/blame - src/expat/watcom/buildopts.inc
Misc validity fixes to samples/xrc/rc/*.xrc.
[wxWidgets.git] / src / expat / watcom / buildopts.inc
CommitLineData
11a3e7b6
VZ
1######################################################################
2#
3# Open Watcom 1.5 multiplatform target options file.
4#
5# Author : Michael Greene, July 2006
6#
7######################################################################
8
9STATICLIB = libexpat.lib
10
11# only for OS/2 and NT builds
12DLLNAME = expat.dll
13IMPORTLIB = iexpat.lib
14
15# path to wget if not in path - only needed for test suite download
16
17#WGET = D:\BLDTOOLS\
18
19# Uncomment to compile multi-thread
20
21MULTITHREAD = 1
22
23# Uncomment to compile using runtime library - default static
24
25#CLIBLNK = 1
26
27# valid defines:
28# XML_LARGE_SIZE (supported - see main EXPAT readme for info)
29# XML_UNICODE_WCHAR_T (not supported)
30# XML_UNICODE (not supported)
31# XML_MIN_SIZE (compiles with but not tested)
32# XML_DTD - XML_NS (enabled always - see watcomconfig.h)
33
34#DEFS = -DXML_LARGE_SIZE
35
36# [Processor options]
37# -3r 386 register calling conventions -5r Pentium register calling conv.
38# -3s 386 stack calling conventions -5s Pentium stack calling conventions
39# -4r 486 register calling conventions -6r Pentium Pro register call conven.
40# -4s 486 stack calling conventions -6s Pentium Pro stack call conven.
41# [Floating-point processor options]
42# -fpc calls to floating-point library -fp2 generate 287 floating-point code
43# -fpd enable Pentium FDIV check -fp3 generate 387 floating-point code
44# -fpi inline 80x87 with emulation -fp5 optimize f-p for Pentium
45# -fpi87 inline 80x87 -fp6 optimize f-p for Pentium Pro
46# -fpr use old floating-point conventions
47
48MACHINE = -6s -fp6
49
50# [Optimization options]
51# -oa relax alias checking -ol+ ol with loop unrolling
52# -ob branch prediction -om generate inline math functions
53# -oc disable call/ret optimization -on numerically unstable floating-point
54# -od disable optimizations -oo continue compile when low on memory
55# -oe[=num] expand functions inline -op improve floating-point consistency
56# Press any key to continue:
57# -of[+] generate traceable stack frames-or re-order instructions to avoid stalls
58# -oh enable repeated optimizations -os optimize for space
59# -oi inline intrinsic functions -ot optimize for time
60# -oi+ (C++) oi with max inlining depth -ou ensure unique addresses for functions
61# -ok control flow entry/exit seq. -ox maximum optimization (-obmiler -s)
62# -ol perform loop optimizations
63
64OPTIMIZATION = -otexan
65
66# [Debugging options]
67# -d0 no debugging information -d2t (C++) d2 but without type names
68# -d1{+} line number debugging info. -d3 debug info with unref'd type names
69# -d2 full symbolic debugging info. -d3i (C++) d3 + inlines as COMDATs
70# -d2i (C++) d2 + inlines as COMDATs -d3s (C++) d3 + inlines as statics
71# -d2s (C++) d2 + inlines as statics
72
73DEBUGOPTS = -d3
74
75# I used this for testing. If LINKLIB is expat.lib (default) then
76# all executables are linked static. If LINKLIB is iexpat.lib then
77# executables will use the expat dll.
78
79#TARGLIB = $(IMPORTLIB)
80
81TARGLIB = $(STATICLIB)
82