]> git.saurik.com Git - wxWidgets.git/blob - src/expat/watcom/makefile
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / expat / watcom / makefile
1 #########################################################################
2 #
3 # Open Watcom 1.5 EXPAT XML Parser Main Makefile
4 #
5 # Open Watcom 1.5 and newer multi-platform makefile for EXPAT XML Parser.
6 # Currently will build targets for OS/2-ECS, NT/Win2000/XP, and Linux.
7 # This makefile will call, based on comand line target, watmake.mif
8 # to build target release or debug.
9 #
10 # Author : Michael Greene, July 2006
11 #
12 # User selectable project options are set in buildopts.inc
13 #
14 #########################################################################
15
16
17 all: .SYMBOLIC
18 @echo ***********************************************
19 @echo Valid options:
20 @echo "wmake <platform build>"
21 @echo os2 - OS/2-ECS Release
22 @echo nt - NT/Win2000/XP
23 @echo linux - Linux Release
24 @echo os2d - OS/2-ECS Debug
25 @echo ntd - NT/Win2000/XP Debug
26 @echo linuxd - Linux Debug
27 @echo full - all release
28 @echo fulld - all debug
29 @echo fullall - all release and debug
30 @echo cleanall - remove all
31 @echo clean - remove build keep release
32 @echo xmlts.zip - download test suite and unzip
33
34 full: os2 nt linux .SYMBOLIC
35
36 fulld: os2d ntd linuxd .SYMBOLIC
37
38 fullall: os2 nt linux os2d ntd linuxd .SYMBOLIC
39
40 os2: .SYMBOLIC
41 @%write watopts.tmp SYSPLATFORM = os2
42 @%make buildproc
43
44 os2d: .SYMBOLIC
45 @%write watopts.tmp SYSPLATFORM = os2
46 @%append watopts.tmp DEBUG = 1
47 @%make buildproc
48
49 nt: .SYMBOLIC
50 @%write watopts.tmp SYSPLATFORM = nt
51 @%make buildproc
52
53 ntd: .SYMBOLIC
54 @%write watopts.tmp SYSPLATFORM = nt
55 @%append watopts.tmp DEBUG = 1
56 @%make buildproc
57
58 linux: .SYMBOLIC
59 @%write watopts.tmp SYSPLATFORM = linux
60 @%make buildproc
61
62 linuxd: .SYMBOLIC
63 @%write watopts.tmp SYSPLATFORM = linux
64 @%append watopts.tmp DEBUG = 1
65 @%make buildproc
66
67 clean: .SYMBOLIC
68 @%write watopts.tmp CLEAN = 1
69 @wmake -h -f watmake.mif clean
70
71 cleanall: .SYMBOLIC
72 @%write watopts.tmp CLEAN = 1
73 @wmake -h -f watmake.mif cleanall
74
75 xmlts.zip: .SYMBOLIC
76 @%write watopts.tmp DUMMY = 1
77 @wmake -h -f watmake.mif xmlts.zip
78
79 buildproc: .procedure
80 !ifdef DEBUG
81 @%append watopts.tmp DEBUG = 1
82 !endif
83 @wmake -a -h -f watmake.mif
84
85