1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include ../../../build/msw/config.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
41 !ifeq OFFICIAL_BUILD 1
46 !ifeq DEBUG_FLAG default
65 __gizmosdll___depname =
67 __gizmosdll___depname = &
68 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG).dll
72 !ifeq DEBUG_INFO default
73 __DEBUGINFO_2 = debug all
77 !ifeq DEBUG_INFO default
85 __DEBUGINFO_2 = debug all
90 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
94 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
98 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
102 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
107 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
112 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
114 __gizmoslib___depname =
116 __gizmoslib___depname = &
117 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
121 !ifeq DEBUG_INFO default
126 !ifeq DEBUG_INFO default
141 __OPTIMIZEFLAG = -ot -ox
144 !ifeq RUNTIME_LIBS dynamic
147 !ifeq RUNTIME_LIBS static
151 !ifeq USE_EXCEPTIONS 0
154 !ifeq USE_EXCEPTIONS 1
155 __EXCEPTIONSFLAG = -xs
159 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
163 !ifeq DEBUG_FLAG default
164 __DEBUG_DEFINE_p = -d__WXDEBUG__
168 __DEBUG_DEFINE_p = -d__WXDEBUG__
172 __UNICODE_DEFINE_p = -d_UNICODE
176 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\wat_lib$(CFG)
179 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\wat_dll$(CFG)
184 WX_RELEASE_NODOT = 25
185 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
187 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
189 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
190 GIZMOSDLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
191 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
192 $(__UNICODE_DEFINE_p) -i=..\..\src\gizmos\..\..\..\include -i=$(SETUPHDIR) &
193 -i=..\..\src\gizmos\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_GIZMOS &
194 /fh=$(OBJS)\wxprec_gizmosdll.pch $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
196 GIZMOSDLL_OBJECTS = &
197 $(OBJS)\gizmosdll_dummy.obj &
198 $(OBJS)\gizmosdll_dynamicsash.obj &
199 $(OBJS)\gizmosdll_editlbox.obj &
200 $(OBJS)\gizmosdll_ledctrl.obj &
201 $(OBJS)\gizmosdll_multicell.obj &
202 $(OBJS)\gizmosdll_splittree.obj &
203 $(OBJS)\gizmosdll_statpict.obj
204 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
205 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
206 -i=..\..\src\gizmos\..\..\..\include -i=$(SETUPHDIR) &
207 -i=..\..\src\gizmos\..\..\include /fh=$(OBJS)\wxprec_gizmoslib.pch &
208 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
209 GIZMOSLIB_OBJECTS = &
210 $(OBJS)\gizmoslib_dummy.obj &
211 $(OBJS)\gizmoslib_dynamicsash.obj &
212 $(OBJS)\gizmoslib_editlbox.obj &
213 $(OBJS)\gizmoslib_ledctrl.obj &
214 $(OBJS)\gizmoslib_multicell.obj &
215 $(OBJS)\gizmoslib_splittree.obj &
216 $(OBJS)\gizmoslib_statpict.obj
221 -if not exist $(OBJS) mkdir $(OBJS)
225 all : .SYMBOLIC $(__gizmosdll___depname) $(__gizmoslib___depname)
228 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
229 -if exist $(OBJS)\*.res del $(OBJS)\*.res
230 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
231 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
232 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG).dll
233 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
234 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
237 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG).dll : $(GIZMOSDLL_OBJECTS)
238 @%create $(OBJS)\gizmosdll.lbc
239 @%append $(OBJS)\gizmosdll.lbc option quiet
240 @%append $(OBJS)\gizmosdll.lbc name $^@
241 @%append $(OBJS)\gizmosdll.lbc option caseexact
242 @%append $(OBJS)\gizmosdll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
243 @for %i in ($(GIZMOSDLL_OBJECTS)) do @%append $(OBJS)\gizmosdll.lbc file %i
244 @for %i in ( $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) ) do @%append $(OBJS)\gizmosdll.lbc library %i
245 @%append $(OBJS)\gizmosdll.lbc
246 @%append $(OBJS)\gizmosdll.lbc system nt_dll
247 wlink @$(OBJS)\gizmosdll.lbc
248 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib +$^@
252 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib : $(GIZMOSLIB_OBJECTS)
253 @%create $(OBJS)\gizmoslib.lbc
254 @for %i in ($(GIZMOSLIB_OBJECTS)) do @%append $(OBJS)\gizmoslib.lbc +%i
255 wlib -q -p4096 -n -b $^@ @$(OBJS)\gizmoslib.lbc
258 $(OBJS)\gizmosdll_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\msw\dummy.cpp
259 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
261 $(OBJS)\gizmosdll_dynamicsash.obj : .AUTODEPEND ../../src/gizmos\dynamicsash.cpp
262 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
264 $(OBJS)\gizmosdll_editlbox.obj : .AUTODEPEND ../../src/gizmos\editlbox.cpp
265 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
267 $(OBJS)\gizmosdll_ledctrl.obj : .AUTODEPEND ../../src/gizmos\ledctrl.cpp
268 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
270 $(OBJS)\gizmosdll_multicell.obj : .AUTODEPEND ../../src/gizmos\multicell.cpp
271 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
273 $(OBJS)\gizmosdll_splittree.obj : .AUTODEPEND ../../src/gizmos\splittree.cpp
274 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
276 $(OBJS)\gizmosdll_statpict.obj : .AUTODEPEND ../../src/gizmos\statpict.cpp
277 $(CXX) -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
279 $(OBJS)\gizmoslib_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\msw\dummy.cpp
280 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
282 $(OBJS)\gizmoslib_dynamicsash.obj : .AUTODEPEND ../../src/gizmos\dynamicsash.cpp
283 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
285 $(OBJS)\gizmoslib_editlbox.obj : .AUTODEPEND ../../src/gizmos\editlbox.cpp
286 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
288 $(OBJS)\gizmoslib_ledctrl.obj : .AUTODEPEND ../../src/gizmos\ledctrl.cpp
289 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
291 $(OBJS)\gizmoslib_multicell.obj : .AUTODEPEND ../../src/gizmos\multicell.cpp
292 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
294 $(OBJS)\gizmoslib_splittree.obj : .AUTODEPEND ../../src/gizmos\splittree.cpp
295 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
297 $(OBJS)\gizmoslib_statpict.obj : .AUTODEPEND ../../src/gizmos\statpict.cpp
298 $(CXX) -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<