2001-08-22 00:45:07 +02:00
|
|
|
// set to 1 to enable debug code
|
|
|
|
debug_build = 0
|
|
|
|
|
2002-07-15 18:26:11 +02:00
|
|
|
// set to zlib relative directory name
|
|
|
|
zlib_dir = '../../zlib-1.1.4'
|
|
|
|
|
2001-08-22 00:45:07 +02:00
|
|
|
// common options
|
2001-10-31 02:22:31 +01:00
|
|
|
option BaseOptions = link(defaultlibsname, "tcpip32.lib")
|
|
|
|
, link(libsearchpath, "..\\lib\\")
|
|
|
|
, link(libsearchpath, "..\\bin\\")
|
|
|
|
, link(pmtype, vio)
|
|
|
|
, link(padding, no)
|
|
|
|
, link(linkwithmultithreadlib, "yes")
|
|
|
|
, link(linkwithsharedlib, "no")
|
2002-07-15 18:26:11 +02:00
|
|
|
, link(stack, 131072, 131072)
|
2001-10-31 02:22:31 +01:00
|
|
|
, 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, "..")
|
2002-07-15 18:26:11 +02:00
|
|
|
, incl(searchpath, "include")
|
2001-10-31 02:22:31 +01:00
|
|
|
, incl(searchpath, "..\\include")
|
|
|
|
, incl(searchpath, "..\\my_sys")
|
|
|
|
, incl(searchpath, "..\\regex")
|
|
|
|
, incl(searchpath, "..\\sql")
|
2002-07-15 18:26:11 +02:00
|
|
|
, incl(searchpath, zlib_dir)
|
2001-10-31 02:22:31 +01:00
|
|
|
, incl(searchpath, "..\\..\\ufc")
|
|
|
|
, incl(searchpath, "..\\os2")
|
2001-08-22 00:45:07 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
}
|