]> git.saurik.com Git - wxWidgets.git/blob - build/mgl/Bakefiles.mgl.bkgen
glibc's vswprintf doesn't nul terminate on truncation.
[wxWidgets.git] / build / mgl / Bakefiles.mgl.bkgen
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <bakefile-gen>
5
6 <!--
7
8 This file contains eperimental build specification for wxMGL port
9 build with Open Watcom for DOS extenders. In order to get complete
10 build, please setup:
11
12 1. wxWidgets CVS Head
13 2. SCITECH/MGL toolkit
14 3. OpenWatcom compiler
15 4. Bakefile later than 0.1.9.1 (CVS at time of writing this)
16
17 To get Open Watcom makefiles for wxMGL port: open console under Windows,
18 setup environment for toolkits listed above and then run:
19
20 cd %WXWIN%\build\bakefiles
21 bakefile_gen -f watcom -d ../mgl/Bakefiles.mgl.bkgen
22
23 cd %WXWIN%\build\mgl
24 wmake -h -f makefile.wat
25
26 cd %WXWIN%\samples\minimal
27 wmake -h -f makefile.wat
28
29 Default build settings are located in %WXWIN%\build\mgl\config.wat
30
31 Note that currently you can't have watcom makefiles for building samples
32 for different platforms in the same tree.
33
34 -->
35
36 <add-flags formats="watcom">
37 -DPLATFORM_MSDOS=1
38 </add-flags>
39
40 <include file="../bakefiles/Bakefiles.bkgen"/>
41
42 <add-flags files="wx.bkl" formats="watcom">
43 -o../mgl/makefile.wat
44 </add-flags>
45
46 <add-flags files="../bakefiles/wx.bkl" formats="watcom">
47 -DOPTIONS_FILE=config.wat
48 </add-flags>
49 <add-flags files="../../*/*" formats="watcom">
50 -DOPTIONS_FILE=../build/mgl/config.wat
51 </add-flags>
52 <add-flags files="../../*/*/*" formats="watcom">
53 -DOPTIONS_FILE=../../build/mgl/config.wat
54 </add-flags>
55 <add-flags files="../../*/*/*/*" formats="watcom">
56 -DOPTIONS_FILE=../../../build/mgl/config.wat
57 </add-flags>
58 <add-flags files="../../*/*/*/*/*" formats="watcom">
59 -DOPTIONS_FILE=../../../../build/mgl/config.wat
60 </add-flags>
61
62 </bakefile-gen>