]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/gizmos/makefile.wat
PCH support.
[wxWidgets.git] / contrib / build / gizmos / makefile.wat
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !include ../../../build/msw/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:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28 ### Conditionally set variables: ###
29
30 PORTNAME =
31 !ifeq USE_GUI 0
32 PORTNAME = base
33 !endif
34 !ifeq USE_GUI 1
35 PORTNAME = msw
36 !endif
37 VENDORTAG =
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
40 !endif
41 !ifeq OFFICIAL_BUILD 1
42 VENDORTAG =
43 !endif
44 WXDEBUGFLAG =
45 !ifeq BUILD debug
46 !ifeq DEBUG_FLAG default
47 WXDEBUGFLAG = d
48 !endif
49 !endif
50 !ifeq DEBUG_FLAG 1
51 WXDEBUGFLAG = d
52 !endif
53 WXUNICODEFLAG =
54 !ifeq UNICODE 1
55 WXUNICODEFLAG = u
56 !endif
57 WXUNIVNAME =
58 !ifeq WXUNIV 1
59 WXUNIVNAME = univ
60 !endif
61 WXDLLFLAG =
62 !ifeq SHARED 1
63 WXDLLFLAG = dll
64 !endif
65 LIBTYPE_SUFFIX =
66 !ifeq SHARED 0
67 LIBTYPE_SUFFIX = lib
68 !endif
69 !ifeq SHARED 1
70 LIBTYPE_SUFFIX = dll
71 !endif
72 EXTRALIBS_FOR_BASE =
73 !ifeq MONOLITHIC 0
74 EXTRALIBS_FOR_BASE =
75 !endif
76 !ifeq MONOLITHIC 1
77 EXTRALIBS_FOR_BASE =
78 !endif
79 __gizmosdll___depname =
80 !ifeq SHARED 1
81 __gizmosdll___depname = &
82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG).dll
83 !endif
84 __gizmos_xrcdll___depname =
85 !ifeq SHARED 1
86 !ifeq USE_XRC 1
87 __gizmos_xrcdll___depname = &
88 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_wat$(VENDORTAG).dll
89 !endif
90 !endif
91 __WXLIB_XRC_p =
92 !ifeq MONOLITHIC 0
93 __WXLIB_XRC_p = &
94 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib
95 !endif
96 __WXLIB_XML_p =
97 !ifeq MONOLITHIC 0
98 __WXLIB_XML_p = &
99 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
100 !endif
101 __gizmoslib___depname =
102 !ifeq SHARED 0
103 __gizmoslib___depname = &
104 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
105 !endif
106 __gizmos_xrclib___depname =
107 !ifeq SHARED 0
108 !ifeq USE_XRC 1
109 __gizmos_xrclib___depname = &
110 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib
111 !endif
112 !endif
113 __DEBUGINFO =
114 !ifeq BUILD debug
115 !ifeq DEBUG_INFO default
116 __DEBUGINFO = debug all
117 !endif
118 !endif
119 !ifeq BUILD release
120 !ifeq DEBUG_INFO default
121 __DEBUGINFO =
122 !endif
123 !endif
124 !ifeq DEBUG_INFO 0
125 __DEBUGINFO =
126 !endif
127 !ifeq DEBUG_INFO 1
128 __DEBUGINFO = debug all
129 !endif
130 __WXLIB_MONO_p =
131 !ifeq MONOLITHIC 1
132 __WXLIB_MONO_p = &
133 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
134 !endif
135 __LIB_TIFF_p =
136 !ifeq USE_GUI 1
137 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
138 !endif
139 __LIB_JPEG_p =
140 !ifeq USE_GUI 1
141 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
142 !endif
143 __LIB_PNG_p =
144 !ifeq USE_GUI 1
145 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
146 !endif
147 __GDIPLUS_LIB_p =
148 !ifeq USE_GDIPLUS 1
149 __GDIPLUS_LIB_p = gdiplus.lib
150 !endif
151 __WXLIB_CORE_p =
152 !ifeq MONOLITHIC 0
153 __WXLIB_CORE_p = &
154 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
155 !endif
156 __WXLIB_BASE_p =
157 !ifeq MONOLITHIC 0
158 __WXLIB_BASE_p = &
159 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
160 !endif
161 __DEBUGINFO_3 =
162 !ifeq BUILD debug
163 !ifeq DEBUG_INFO default
164 __DEBUGINFO_3 = -d2
165 !endif
166 !endif
167 !ifeq BUILD release
168 !ifeq DEBUG_INFO default
169 __DEBUGINFO_3 = -d0
170 !endif
171 !endif
172 !ifeq DEBUG_INFO 0
173 __DEBUGINFO_3 = -d0
174 !endif
175 !ifeq DEBUG_INFO 1
176 __DEBUGINFO_3 = -d2
177 !endif
178 __OPTIMIZEFLAG =
179 !ifeq BUILD debug
180 __OPTIMIZEFLAG = -od
181 !endif
182 !ifeq BUILD release
183 __OPTIMIZEFLAG = -ot -ox
184 !endif
185 __THREADSFLAG =
186 !ifeq USE_THREADS 0
187 __THREADSFLAG =
188 !endif
189 !ifeq USE_THREADS 1
190 __THREADSFLAG = -bm
191 !endif
192 __RUNTIME_LIBS =
193 !ifeq RUNTIME_LIBS dynamic
194 __RUNTIME_LIBS = -br
195 !endif
196 !ifeq RUNTIME_LIBS static
197 __RUNTIME_LIBS =
198 !endif
199 __RTTIFLAG =
200 !ifeq USE_RTTI 0
201 __RTTIFLAG =
202 !endif
203 !ifeq USE_RTTI 1
204 __RTTIFLAG = -xr
205 !endif
206 __EXCEPTIONSFLAG =
207 !ifeq USE_EXCEPTIONS 0
208 __EXCEPTIONSFLAG =
209 !endif
210 !ifeq USE_EXCEPTIONS 1
211 __EXCEPTIONSFLAG = -xs
212 !endif
213 __WXUNIV_DEFINE_p =
214 !ifeq WXUNIV 1
215 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
216 !endif
217 __DEBUG_DEFINE_p =
218 !ifeq BUILD debug
219 !ifeq DEBUG_FLAG default
220 __DEBUG_DEFINE_p = -d__WXDEBUG__
221 !endif
222 !endif
223 !ifeq DEBUG_FLAG 1
224 __DEBUG_DEFINE_p = -d__WXDEBUG__
225 !endif
226 __EXCEPTIONS_DEFINE_p =
227 !ifeq USE_EXCEPTIONS 0
228 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
229 !endif
230 __RTTI_DEFINE_p =
231 !ifeq USE_RTTI 0
232 __RTTI_DEFINE_p = -dwxNO_RTTI
233 !endif
234 __THREAD_DEFINE_p =
235 !ifeq USE_THREADS 0
236 __THREAD_DEFINE_p = -dwxNO_THREADS
237 !endif
238 __UNICODE_DEFINE_p =
239 !ifeq UNICODE 1
240 __UNICODE_DEFINE_p = -d_UNICODE
241 !endif
242 __GFXCTX_DEFINE_p =
243 !ifeq USE_GDIPLUS 1
244 __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
245 !endif
246
247 ### Variables: ###
248
249 WX_RELEASE_NODOT = 27
250 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)1
251 OBJS = &
252 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
253 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
254 SETUPHDIR = &
255 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
256 GIZMOSDLL_CXXFLAGS = -bd $(__DEBUGINFO_3) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
257 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
258 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
259 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
260 -i=..\..\src\gizmos\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
261 -i=..\..\src\gizmos\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_GIZMOS &
262 /fh=$(OBJS)\wxprec_gizmosdll.pch $(__RTTIFLAG) $(__EXCEPTIONSFLAG) &
263 $(CPPFLAGS) $(CXXFLAGS)
264 GIZMOSDLL_OBJECTS = &
265 $(OBJS)\gizmosdll_dummy.obj &
266 $(OBJS)\gizmosdll_dynamicsash.obj &
267 $(OBJS)\gizmosdll_editlbox.obj &
268 $(OBJS)\gizmosdll_ledctrl.obj &
269 $(OBJS)\gizmosdll_multicell.obj &
270 $(OBJS)\gizmosdll_splittree.obj &
271 $(OBJS)\gizmosdll_statpict.obj
272 GIZMOS_XRCDLL_CXXFLAGS = -bd $(__DEBUGINFO_3) $(__OPTIMIZEFLAG) &
273 $(__THREADSFLAG) $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) &
274 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) &
275 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) &
276 -i=$(SETUPHDIR) -i=..\..\src\gizmos\..\..\..\include -wx -wcd=549 -wcd=656 &
277 -wcd=657 -wcd=667 -i=..\..\src\gizmos\..\..\include -dWXUSINGDLL &
278 -dWXMAKINGDLL_GIZMOS_XRC /fh=$(OBJS)\wxprec_gizmos_xrcdll.pch &
279 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
280 GIZMOS_XRCDLL_OBJECTS = &
281 $(OBJS)\gizmos_xrcdll_dummy.obj &
282 $(OBJS)\gizmos_xrcdll_xh_statpict.obj
283 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO_3) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
284 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
285 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
286 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
287 -i=..\..\src\gizmos\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
288 -i=..\..\src\gizmos\..\..\include /fh=$(OBJS)\wxprec_gizmoslib.pch &
289 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
290 GIZMOSLIB_OBJECTS = &
291 $(OBJS)\gizmoslib_dummy.obj &
292 $(OBJS)\gizmoslib_dynamicsash.obj &
293 $(OBJS)\gizmoslib_editlbox.obj &
294 $(OBJS)\gizmoslib_ledctrl.obj &
295 $(OBJS)\gizmoslib_multicell.obj &
296 $(OBJS)\gizmoslib_splittree.obj &
297 $(OBJS)\gizmoslib_statpict.obj
298 GIZMOS_XRCLIB_CXXFLAGS = $(__DEBUGINFO_3) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
299 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
300 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
301 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
302 -i=..\..\src\gizmos\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
303 -i=..\..\src\gizmos\..\..\include /fh=$(OBJS)\wxprec_gizmos_xrclib.pch &
304 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
305 GIZMOS_XRCLIB_OBJECTS = &
306 $(OBJS)\gizmos_xrclib_dummy.obj &
307 $(OBJS)\gizmos_xrclib_xh_statpict.obj
308
309
310 all : $(OBJS)
311 $(OBJS) :
312 -if not exist $(OBJS) mkdir $(OBJS)
313
314 ### Targets: ###
315
316 all : .SYMBOLIC $(__gizmosdll___depname) $(__gizmos_xrcdll___depname) $(__gizmoslib___depname) $(__gizmos_xrclib___depname)
317
318 clean : .SYMBOLIC
319 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
320 -if exist $(OBJS)\*.res del $(OBJS)\*.res
321 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
322 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
323 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
324 -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
325 -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
326 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_wat$(VENDORTAG).dll
327 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib
328 -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
329 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib
330
331 !ifeq SHARED 1
332 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG).dll : $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version.res
333 @%create $(OBJS)\gizmosdll.lbc
334 @%append $(OBJS)\gizmosdll.lbc option quiet
335 @%append $(OBJS)\gizmosdll.lbc name $^@
336 @%append $(OBJS)\gizmosdll.lbc option caseexact
337 @%append $(OBJS)\gizmosdll.lbc $(LDFLAGS) $(__DEBUGINFO) libpath $(LIBDIRNAME)
338 @for %i in ($(GIZMOSDLL_OBJECTS)) do @%append $(OBJS)\gizmosdll.lbc file %i
339 @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 $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) 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_CORE_p) $(__WXLIB_BASE_p) ) do @%append $(OBJS)\gizmosdll.lbc library %i
340 @%append $(OBJS)\gizmosdll.lbc option resource=$(OBJS)\gizmosdll_version.res
341 @%append $(OBJS)\gizmosdll.lbc system nt_dll
342 wlink @$(OBJS)\gizmosdll.lbc
343 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib +$^@
344 !endif
345
346 !ifeq SHARED 1
347 !ifeq USE_XRC 1
348 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_wat$(VENDORTAG).dll : $(GIZMOS_XRCDLL_OBJECTS) $(OBJS)\gizmos_xrcdll_version.res $(__gizmosdll___depname)
349 @%create $(OBJS)\gizmos_xrcdll.lbc
350 @%append $(OBJS)\gizmos_xrcdll.lbc option quiet
351 @%append $(OBJS)\gizmos_xrcdll.lbc name $^@
352 @%append $(OBJS)\gizmos_xrcdll.lbc option caseexact
353 @%append $(OBJS)\gizmos_xrcdll.lbc $(LDFLAGS) $(__DEBUGINFO) libpath $(LIBDIRNAME)
354 @for %i in ($(GIZMOS_XRCDLL_OBJECTS)) do @%append $(OBJS)\gizmos_xrcdll.lbc file %i
355 @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 $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) 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 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) ) do @%append $(OBJS)\gizmos_xrcdll.lbc library %i
356 @%append $(OBJS)\gizmos_xrcdll.lbc option resource=$(OBJS)\gizmos_xrcdll_version.res
357 @%append $(OBJS)\gizmos_xrcdll.lbc system nt_dll
358 wlink @$(OBJS)\gizmos_xrcdll.lbc
359 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib +$^@
360 !endif
361 !endif
362
363 !ifeq SHARED 0
364 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib : $(GIZMOSLIB_OBJECTS)
365 @%create $(OBJS)\gizmoslib.lbc
366 @for %i in ($(GIZMOSLIB_OBJECTS)) do @%append $(OBJS)\gizmoslib.lbc +%i
367 wlib -q -p4096 -n -b $^@ @$(OBJS)\gizmoslib.lbc
368 !endif
369
370 !ifeq SHARED 0
371 !ifeq USE_XRC 1
372 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib : $(GIZMOS_XRCLIB_OBJECTS)
373 @%create $(OBJS)\gizmos_xrclib.lbc
374 @for %i in ($(GIZMOS_XRCLIB_OBJECTS)) do @%append $(OBJS)\gizmos_xrclib.lbc +%i
375 wlib -q -p4096 -n -b $^@ @$(OBJS)\gizmos_xrclib.lbc
376 !endif
377 !endif
378
379 $(OBJS)\gizmosdll_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\common\dummy.cpp
380 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
381
382 $(OBJS)\gizmosdll_version.res : .AUTODEPEND ../../src/gizmos\..\..\..\src\msw\version.rc
383 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=..\..\src\gizmos\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_wat$(VENDORTAG) $<
384
385 $(OBJS)\gizmosdll_dynamicsash.obj : .AUTODEPEND ../../src/gizmos\dynamicsash.cpp
386 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
387
388 $(OBJS)\gizmosdll_editlbox.obj : .AUTODEPEND ../../src/gizmos\editlbox.cpp
389 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
390
391 $(OBJS)\gizmosdll_ledctrl.obj : .AUTODEPEND ../../src/gizmos\ledctrl.cpp
392 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
393
394 $(OBJS)\gizmosdll_multicell.obj : .AUTODEPEND ../../src/gizmos\multicell.cpp
395 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
396
397 $(OBJS)\gizmosdll_splittree.obj : .AUTODEPEND ../../src/gizmos\splittree.cpp
398 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
399
400 $(OBJS)\gizmosdll_statpict.obj : .AUTODEPEND ../../src/gizmos\statpict.cpp
401 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSDLL_CXXFLAGS) $<
402
403 $(OBJS)\gizmos_xrcdll_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\common\dummy.cpp
404 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOS_XRCDLL_CXXFLAGS) $<
405
406 $(OBJS)\gizmos_xrcdll_version.res : .AUTODEPEND ../../src/gizmos\..\..\..\src\msw\version.rc
407 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=..\..\src\gizmos\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_wat$(VENDORTAG) $<
408
409 $(OBJS)\gizmos_xrcdll_xh_statpict.obj : .AUTODEPEND ../../src/gizmos\xh_statpict.cpp
410 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOS_XRCDLL_CXXFLAGS) $<
411
412 $(OBJS)\gizmoslib_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\common\dummy.cpp
413 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
414
415 $(OBJS)\gizmoslib_dynamicsash.obj : .AUTODEPEND ../../src/gizmos\dynamicsash.cpp
416 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
417
418 $(OBJS)\gizmoslib_editlbox.obj : .AUTODEPEND ../../src/gizmos\editlbox.cpp
419 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
420
421 $(OBJS)\gizmoslib_ledctrl.obj : .AUTODEPEND ../../src/gizmos\ledctrl.cpp
422 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
423
424 $(OBJS)\gizmoslib_multicell.obj : .AUTODEPEND ../../src/gizmos\multicell.cpp
425 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
426
427 $(OBJS)\gizmoslib_splittree.obj : .AUTODEPEND ../../src/gizmos\splittree.cpp
428 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
429
430 $(OBJS)\gizmoslib_statpict.obj : .AUTODEPEND ../../src/gizmos\statpict.cpp
431 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOSLIB_CXXFLAGS) $<
432
433 $(OBJS)\gizmos_xrclib_dummy.obj : .AUTODEPEND ../../src/gizmos\..\..\..\src\common\dummy.cpp
434 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOS_XRCLIB_CXXFLAGS) $<
435
436 $(OBJS)\gizmos_xrclib_xh_statpict.obj : .AUTODEPEND ../../src/gizmos\xh_statpict.cpp
437 $(CXX) -bt=nt -zq -fo=$^@ $(GIZMOS_XRCLIB_CXXFLAGS) $<
438