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