]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.wat
removed old expat
[wxWidgets.git] / contrib / build / gizmos / makefile.wat
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include ../../../build/config.wat
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37VENDORTAG =
38!ifeq OFFICIAL_BUILD 0
39VENDORTAG = _$(VENDOR)
40!endif
41!ifeq OFFICIAL_BUILD 1
42VENDORTAG =
43!endif
44WXDEBUGFLAG =
45!ifeq BUILD debug
46WXDEBUGFLAG = d
47!endif
48WXDLLFLAG =
49!ifeq SHARED 1
50WXDLLFLAG = dll
51!endif
52WXUNICODEFLAG =
53!ifeq UNICODE 1
54WXUNICODEFLAG = u
55!endif
56WXUNIVNAME =
57!ifeq WXUNIV 1
58WXUNIVNAME = univ
59!endif
60__DEBUGFLAG =
61!ifeq BUILD debug
62__DEBUGFLAG = -d2
63!endif
64!ifeq BUILD release
65__DEBUGFLAG = -d0
66!endif
67__DEBUGFLAG_1 =
68!ifeq BUILD debug
69__DEBUGFLAG_1 = debug all
70!endif
71!ifeq BUILD release
72__DEBUGFLAG_1 =
73!endif
74__DEBUG_DEFINE_p =
75!ifeq BUILD debug
76__DEBUG_DEFINE_p = -d__WXDEBUG__
77!endif
78__OPTIMIZEFLAG =
79!ifeq BUILD debug
80__OPTIMIZEFLAG = -od
81!endif
82!ifeq BUILD release
83__OPTIMIZEFLAG = -ot -ox
84!endif
85__RUNTIME_LIBS =
86!ifeq RUNTIME_LIBS dynamic
87__RUNTIME_LIBS = -br
88!endif
89!ifeq RUNTIME_LIBS static
90__RUNTIME_LIBS =
91!endif
92__UNICODE_DEFINE_p =
93!ifeq UNICODE 1
94__UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
95!endif
96__WXLIB_BASE_p =
97!ifeq MONOLITHIC 0
98__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
99!endif
100__WXLIB_CORE_p =
101!ifeq MONOLITHIC 0
102__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
103!endif
104__WXLIB_MONO_p =
105!ifeq MONOLITHIC 1
106__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
107!endif
108__WXUNIV_DEFINE_p =
109!ifeq WXUNIV 1
110__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
111!endif
112__gizmosdll___depname =
113!ifeq SHARED 1
114__gizmosdll___depname = ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_wat$(VENDORTAG).dll
115!endif
116__gizmoslib___depname =
117!ifeq SHARED 0
118__gizmoslib___depname = ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
119!endif
120
121### Variables: ###
122
123GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_gizmosdll.pch -bd $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\gizmos\..\..\..\include -i=..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\gizmos\..\..\..\src\tiff -i=..\..\src\gizmos\..\..\..\src\jpeg -i=..\..\src\gizmos\..\..\..\src\png -i=..\..\src\gizmos\..\..\..\src\zlib -i=..\..\src\gizmos\..\..\..\src\regex -i=..\..\src\gizmos\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_GIZMOS $(CXXFLAGS)
124GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_gizmoslib.pch $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\gizmos\..\..\..\include -i=..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\gizmos\..\..\..\src\tiff -i=..\..\src\gizmos\..\..\..\src\jpeg -i=..\..\src\gizmos\..\..\..\src\png -i=..\..\src\gizmos\..\..\..\src\zlib -i=..\..\src\gizmos\..\..\..\src\regex -i=..\..\src\gizmos\..\..\include $(CXXFLAGS)
125OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
126
127
128
129all : $(OBJS)
130$(OBJS) :
131 -if not exist $(OBJS) mkdir $(OBJS)
132
133### Targets: ###
134
135all : .SYMBOLIC $(__gizmosdll___depname) $(__gizmoslib___depname)
136
137$(OBJS)\gizmosdll_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\msw\dummy.cpp
138 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
139
140$(OBJS)\gizmosdll_dynamicsash.obj : .AUTODEPEND ../../src/gizmos\dynamicsash.cpp
141 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
142
143$(OBJS)\gizmosdll_editlbox.obj : .AUTODEPEND ../../src/gizmos\editlbox.cpp
144 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
145
146$(OBJS)\gizmosdll_ledctrl.obj : .AUTODEPEND ../../src/gizmos\ledctrl.cpp
147 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
148
149$(OBJS)\gizmosdll_multicell.obj : .AUTODEPEND ../../src/gizmos\multicell.cpp
150 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
151
152$(OBJS)\gizmosdll_splittree.obj : .AUTODEPEND ../../src/gizmos\splittree.cpp
153 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
154
155$(OBJS)\gizmosdll_statpict.obj : .AUTODEPEND ../../src/gizmos\statpict.cpp
156 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
157
158$(OBJS)\gizmoslib_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\msw\dummy.cpp
159 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
160
161$(OBJS)\gizmoslib_dynamicsash.obj : .AUTODEPEND ../../src/gizmos\dynamicsash.cpp
162 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
163
164$(OBJS)\gizmoslib_editlbox.obj : .AUTODEPEND ../../src/gizmos\editlbox.cpp
165 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
166
167$(OBJS)\gizmoslib_ledctrl.obj : .AUTODEPEND ../../src/gizmos\ledctrl.cpp
168 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
169
170$(OBJS)\gizmoslib_multicell.obj : .AUTODEPEND ../../src/gizmos\multicell.cpp
171 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
172
173$(OBJS)\gizmoslib_splittree.obj : .AUTODEPEND ../../src/gizmos\splittree.cpp
174 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
175
176$(OBJS)\gizmoslib_statpict.obj : .AUTODEPEND ../../src/gizmos\statpict.cpp
177 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
178
179clean : .SYMBOLIC
180 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
181 -if exist $(OBJS)\*.res del $(OBJS)\*.res
182 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
183 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
184 -if exist ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_wat$(VENDORTAG).dll del ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_wat$(VENDORTAG).dll
185 -if exist ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
186 -if exist ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
187
188!ifeq SHARED 1
189..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_wat$(VENDORTAG).dll : $(OBJS)\gizmosdll_dummy.obj $(OBJS)\gizmosdll_dynamicsash.obj $(OBJS)\gizmosdll_editlbox.obj $(OBJS)\gizmosdll_ledctrl.obj $(OBJS)\gizmosdll_multicell.obj $(OBJS)\gizmosdll_splittree.obj $(OBJS)\gizmosdll_statpict.obj
190 @%create $(OBJS)\gizmosdll.lbc
191 @%append $(OBJS)\gizmosdll.lbc option quiet
192 @%append $(OBJS)\gizmosdll.lbc name $^@
193 @%append $(OBJS)\gizmosdll.lbc option incremental
194 @%append $(OBJS)\gizmosdll.lbc $(LDFLAGS) $(__DEBUGFLAG_1) libpath ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
195 @for %i in ( $(OBJS)\gizmosdll_dummy.obj $(OBJS)\gizmosdll_dynamicsash.obj $(OBJS)\gizmosdll_editlbox.obj $(OBJS)\gizmosdll_ledctrl.obj $(OBJS)\gizmosdll_multicell.obj $(OBJS)\gizmosdll_splittree.obj $(OBJS)\gizmosdll_statpict.obj) do @%append $(OBJS)\gizmosdll.lbc file %i
196 @for %i in ( $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p)) do @%append $(OBJS)\gizmosdll.lbc library %i
197 @%append $(OBJS)\gizmosdll.lbc
198 @%append $(OBJS)\gizmosdll.lbc system nt_dll
199 wlink @$(OBJS)\gizmosdll.lbc
200 wlib -q -n -b ..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib +$^@
201!endif
202
203!ifeq SHARED 0
204..\..\src\gizmos\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib : $(OBJS)\gizmoslib_dummy.obj $(OBJS)\gizmoslib_dynamicsash.obj $(OBJS)\gizmoslib_editlbox.obj $(OBJS)\gizmoslib_ledctrl.obj $(OBJS)\gizmoslib_multicell.obj $(OBJS)\gizmoslib_splittree.obj $(OBJS)\gizmoslib_statpict.obj
205 @%create $(OBJS)\gizmoslib.lbc
206 @for %i in ( $(OBJS)\gizmoslib_dummy.obj $(OBJS)\gizmoslib_dynamicsash.obj $(OBJS)\gizmoslib_editlbox.obj $(OBJS)\gizmoslib_ledctrl.obj $(OBJS)\gizmoslib_multicell.obj $(OBJS)\gizmoslib_splittree.obj $(OBJS)\gizmoslib_statpict.obj) do @%append $(OBJS)\gizmoslib.lbc +%i
207 wlib -q -p2048 -n -b $^@ @$(OBJS)\gizmoslib.lbc
208!endif