summaryrefslogtreecommitdiff
path: root/os2/MySQL-Opt.icc
blob: 56e89057862c9a5bad021bc89e487f5bc7027186 (plain)
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
// set to 1 to enable debug code
debug_build = 0

// set to zlib relative directory name
zlib_dir = '../../zlib-1.1.4'

// common options
option BaseOptions =      link(defaultlibsname, "tcpip32.lib")
                        , link(libsearchpath, "..\\lib\\")
                        , link(libsearchpath, "..\\bin\\")
                        , link(pmtype, vio)
                        , link(padding, no)
                        , link(linkwithmultithreadlib, "yes")
                        , link(linkwithsharedlib, "no")
                        , link(stack, 131072, 131072)
                        , gen(initauto, "yes")
                        , define("__MT__", )
                        , define("HAVE_BSD_SIGNALS", )
                        , define("INCL_DOS", )
                        , define("INCL_DOSERRORS", )
                        , define("INCL_LONGLONG", )
                        , define("OS2", )
                        , define("USE_TLS", )
                        , lang(signedchars, yes)
                        , incl(searchpath, "..")
                        , incl(searchpath, "include")
                        , incl(searchpath, "..\\include")
                        , incl(searchpath, "..\\my_sys")
                        , incl(searchpath, "..\\regex")
                        , incl(searchpath, "..\\sql")
                        , incl(searchpath, zlib_dir)
                        , incl(searchpath, "..\\..\\ufc")
                        , incl(searchpath, "..\\os2")

option ReleaseOptions =   link(debug, "no")
                        , define("DBUG_OFF", )
                        , gen(arch, "pentium")
                        , opt(tune, "pentium2")
                        , opt(level, "0")
                        , opt(stackchaining, no)
                        , opt(size, yes)
                        , opt(autoinline, InlineCode)
                        , opt(inline, InlineCode)
                        , opt(schedule, no)

option DebugOptions =     link(debug, "yes")
                        , gen(debug, "yes")
                        , define("DBUG_ON", )


if debug_build {

option MySQLOptions =   BaseOptions, DebugOptions

} else {

option MySQLOptions =   BaseOptions, ReleaseOptions

}