1 #########################################################################
3 # Open Watcom 1.5 EXPAT XML Parser Main Makefile
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.
10 # Author : Michael Greene, July 2006
12 # User selectable project options are set in buildopts.inc
14 #########################################################################
18 @echo ***********************************************
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
34 full: os2 nt linux .SYMBOLIC
36 fulld: os2d ntd linuxd .SYMBOLIC
38 fullall: os2 nt linux os2d ntd linuxd .SYMBOLIC
41 @%write watopts.tmp SYSPLATFORM = os2
45 @%write watopts.tmp SYSPLATFORM = os2
46 @%append watopts.tmp DEBUG = 1
50 @%write watopts.tmp SYSPLATFORM = nt
54 @%write watopts.tmp SYSPLATFORM = nt
55 @%append watopts.tmp DEBUG = 1
59 @%write watopts.tmp SYSPLATFORM = linux
63 @%write watopts.tmp SYSPLATFORM = linux
64 @%append watopts.tmp DEBUG = 1
68 @%write watopts.tmp CLEAN = 1
69 @wmake -h -f watmake.mif clean
72 @%write watopts.tmp CLEAN = 1
73 @wmake -h -f watmake.mif cleanall
76 @%write watopts.tmp DUMMY = 1
77 @wmake -h -f watmake.mif xmlts.zip
81 @%append watopts.tmp DEBUG = 1
83 @wmake -a -h -f watmake.mif