]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.vc
Regenerate the msvc makefiles after TARGET_CPU option added
[wxWidgets.git] / contrib / build / gizmos / makefile.vc
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.vc>
250700e4
RD
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
4cbcfb73
VZ
15WX_RELEASE_NODOT = 27
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
b17c1746 17OBJS = \
ab6ea1ac
MW
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19LIBDIRNAME = \
20 ..\..\src\gizmos\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21c6080d
JS
23GIZMOSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO_3) \
4cbcfb73 25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb \
21c6080d 26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
8c9f8f91
JS
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
2113bc77 29 $(__MSLU_DEFINE_p) /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
3f55f5b8 30 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
8c9f8f91 31 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
9bfe7ad9 32 /Fp"$(OBJS)\wxprec_gizmosdll.pch" $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
33GIZMOSDLL_OBJECTS = \
34 $(OBJS)\gizmosdll_dummy.obj \
8c9f8f91 35 $(OBJS)\gizmosdll_version.res \
3f55f5b8
VS
36 $(OBJS)\gizmosdll_dynamicsash.obj \
37 $(OBJS)\gizmosdll_editlbox.obj \
38 $(OBJS)\gizmosdll_ledctrl.obj \
39 $(OBJS)\gizmosdll_multicell.obj \
40 $(OBJS)\gizmosdll_splittree.obj \
4818141b 41 $(OBJS)\gizmosdll_statpict.obj
21c6080d
JS
42GIZMOS_XRCDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
43 $(__DEBUGINFO_3) \
4cbcfb73 44 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).pdb \
21c6080d 45 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
4818141b
JS
46 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
47 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
2113bc77 48 $(__MSLU_DEFINE_p) /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
4818141b
JS
49 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS_XRC \
50 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
51 /Fp"$(OBJS)\wxprec_gizmos_xrcdll.pch" $(CPPFLAGS) $(CXXFLAGS)
52GIZMOS_XRCDLL_OBJECTS = \
53 $(OBJS)\gizmos_xrcdll_dummy.obj \
54 $(OBJS)\gizmos_xrcdll_version.res \
55 $(OBJS)\gizmos_xrcdll_xh_statpict.obj
21c6080d
JS
56GIZMOSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_36)$(__DEBUGRUNTIME) /DWIN32 \
57 $(__DEBUGINFO_3) \
c33fae85 58 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.pdb \
21c6080d 59 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
8c9f8f91
JS
60 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
61 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
2113bc77 62 $(__MSLU_DEFINE_p) /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
8c9f8f91 63 /I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
9bfe7ad9 64 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch" $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
65GIZMOSLIB_OBJECTS = \
66 $(OBJS)\gizmoslib_dummy.obj \
67 $(OBJS)\gizmoslib_dynamicsash.obj \
68 $(OBJS)\gizmoslib_editlbox.obj \
69 $(OBJS)\gizmoslib_ledctrl.obj \
70 $(OBJS)\gizmoslib_multicell.obj \
71 $(OBJS)\gizmoslib_splittree.obj \
4818141b 72 $(OBJS)\gizmoslib_statpict.obj
21c6080d
JS
73GIZMOS_XRCLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_49)$(__DEBUGRUNTIME) /DWIN32 \
74 $(__DEBUGINFO_3) \
4818141b 75 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.pdb \
21c6080d 76 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
4818141b
JS
77 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
78 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
2113bc77 79 $(__MSLU_DEFINE_p) /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
4818141b
JS
80 /I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
81 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmos_xrclib.pch" $(CPPFLAGS) \
82 $(CXXFLAGS)
83GIZMOS_XRCLIB_OBJECTS = \
84 $(OBJS)\gizmos_xrclib_dummy.obj \
85 $(OBJS)\gizmos_xrclib_xh_statpict.obj
250700e4
RD
86
87### Conditionally set variables: ###
88
89!if "$(USE_GUI)" == "0"
90PORTNAME = base
91!endif
92!if "$(USE_GUI)" == "1"
93PORTNAME = msw
94!endif
95!if "$(OFFICIAL_BUILD)" == "0"
96VENDORTAG = _$(VENDOR)
97!endif
98!if "$(OFFICIAL_BUILD)" == "1"
99VENDORTAG =
100!endif
3f55f5b8
VS
101!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
102WXDEBUGFLAG = d
103!endif
104!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
105WXDEBUGFLAG = d
106!endif
250700e4
RD
107!if "$(UNICODE)" == "1"
108WXUNICODEFLAG = u
109!endif
110!if "$(WXUNIV)" == "1"
111WXUNIVNAME = univ
112!endif
ab6ea1ac
MW
113!if "$(TARGET_CPU)" == "AMD64"
114DIR_SUFFIX_CPU = _amd64
115!endif
116!if "$(TARGET_CPU)" == "IA64"
117DIR_SUFFIX_CPU = _ia64
118!endif
b17c1746
DE
119!if "$(SHARED)" == "1"
120WXDLLFLAG = dll
250700e4 121!endif
b14abf14
JS
122!if "$(SHARED)" == "0"
123LIBTYPE_SUFFIX = lib
124!endif
125!if "$(SHARED)" == "1"
126LIBTYPE_SUFFIX = dll
127!endif
ab6ea1ac
MW
128!if "$(TARGET_CPU)" == "AMD64"
129LINK_TARGET_CPU = /MACHINE:AMD64
130!endif
131!if "$(TARGET_CPU)" == "IA64"
132LINK_TARGET_CPU = /MACHINE:IA64
133!endif
dd65d8c8
RN
134!if "$(MONOLITHIC)" == "0"
135EXTRALIBS_FOR_BASE =
136!endif
137!if "$(MONOLITHIC)" == "1"
138EXTRALIBS_FOR_BASE =
139!endif
b17c1746
DE
140!if "$(SHARED)" == "1"
141__gizmosdll___depname = \
4cbcfb73 142 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll
3f55f5b8 143!endif
8c9f8f91
JS
144!if "$(RUNTIME_LIBS)" == "dynamic"
145__RUNTIME_LIBS_9 = D
146!endif
147!if "$(RUNTIME_LIBS)" == "static"
148__RUNTIME_LIBS_9 = $(__THREADSFLAG)
149!endif
4818141b
JS
150!if "$(SHARED)" == "1" && "$(USE_XRC)" == "1"
151__gizmos_xrcdll___depname = \
4cbcfb73 152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll
4818141b 153!endif
4818141b
JS
154!if "$(RUNTIME_LIBS)" == "dynamic"
155__RUNTIME_LIBS_23 = D
156!endif
157!if "$(RUNTIME_LIBS)" == "static"
158__RUNTIME_LIBS_23 = $(__THREADSFLAG)
159!endif
160!if "$(MONOLITHIC)" == "0"
161__WXLIB_XRC_p = \
162 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib
163!endif
21c6080d
JS
164!if "$(MONOLITHIC)" == "0"
165__WXLIB_XML_p = \
166 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
167!endif
4818141b
JS
168!if "$(SHARED)" == "0"
169__gizmoslib___depname = \
170 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
171!endif
4818141b
JS
172!if "$(RUNTIME_LIBS)" == "dynamic"
173__RUNTIME_LIBS_36 = D
174!endif
175!if "$(RUNTIME_LIBS)" == "static"
176__RUNTIME_LIBS_36 = $(__THREADSFLAG)
177!endif
178!if "$(SHARED)" == "0" && "$(USE_XRC)" == "1"
179__gizmos_xrclib___depname = \
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib
181!endif
4818141b
JS
182!if "$(RUNTIME_LIBS)" == "dynamic"
183__RUNTIME_LIBS_49 = D
184!endif
185!if "$(RUNTIME_LIBS)" == "static"
186__RUNTIME_LIBS_49 = $(__THREADSFLAG)
187!endif
188!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
189__DEBUGINFO = /DEBUG
190!endif
191!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
192__DEBUGINFO =
193!endif
194!if "$(DEBUG_INFO)" == "0"
195__DEBUGINFO =
196!endif
197!if "$(DEBUG_INFO)" == "1"
198__DEBUGINFO = /DEBUG
199!endif
21c6080d
JS
200!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
201____DEBUGRUNTIME_0 = /d _DEBUG
4818141b 202!endif
21c6080d
JS
203!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
204____DEBUGRUNTIME_0 =
4818141b 205!endif
21c6080d
JS
206!if "$(DEBUG_RUNTIME_LIBS)" == "0"
207____DEBUGRUNTIME_0 =
4818141b 208!endif
21c6080d
JS
209!if "$(DEBUG_RUNTIME_LIBS)" == "1"
210____DEBUGRUNTIME_0 = /d _DEBUG
4818141b 211!endif
8c9f8f91 212!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
4818141b 213__NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
8c9f8f91
JS
214!endif
215!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
4818141b 216__NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
8c9f8f91 217!endif
ab6ea1ac
MW
218!if "$(TARGET_CPU)" == "AMD64"
219__RES_TARGET_CPU_p = /d WX_CPU_AMD64
220!endif
221!if "$(TARGET_CPU)" == "IA64"
222__RES_TARGET_CPU_p = /d WX_CPU_IA64
223!endif
8c9f8f91 224!if "$(WXUNIV)" == "1"
4818141b 225__WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
8c9f8f91
JS
226!endif
227!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
4818141b 228__DEBUG_DEFINE_p_0 = /d __WXDEBUG__
8c9f8f91
JS
229!endif
230!if "$(DEBUG_FLAG)" == "1"
4818141b 231__DEBUG_DEFINE_p_0 = /d __WXDEBUG__
8c9f8f91
JS
232!endif
233!if "$(USE_EXCEPTIONS)" == "0"
4818141b 234__EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS
8c9f8f91
JS
235!endif
236!if "$(USE_RTTI)" == "0"
4818141b 237__RTTI_DEFINE_p_0 = /d wxNO_RTTI
8c9f8f91
JS
238!endif
239!if "$(USE_THREADS)" == "0"
4818141b 240__THREAD_DEFINE_p_0 = /d wxNO_THREADS
8c9f8f91
JS
241!endif
242!if "$(UNICODE)" == "1"
4818141b 243__UNICODE_DEFINE_p_0 = /d _UNICODE
8c9f8f91 244!endif
2113bc77
MW
245!if "$(MSLU)" == "1"
246__MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1
247!endif
b17c1746
DE
248!if "$(MONOLITHIC)" == "1"
249__WXLIB_MONO_p = \
c33fae85 250 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
a4ad36cd 251!endif
b17c1746 252!if "$(USE_GUI)" == "1"
9c2d002b 253__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 254!endif
3f55f5b8 255!if "$(USE_GUI)" == "1"
9c2d002b 256__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
3f55f5b8
VS
257!endif
258!if "$(USE_GUI)" == "1"
9c2d002b 259__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
3f55f5b8 260!endif
b17c1746
DE
261!if "$(MSLU)" == "1"
262__UNICOWS_LIB_p = unicows.lib
3f55f5b8 263!endif
b17c1746 264!if "$(MONOLITHIC)" == "0"
b17c1746 265__WXLIB_CORE_p = \
c33fae85 266 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
ec08d395 267!endif
4818141b
JS
268!if "$(MONOLITHIC)" == "0"
269__WXLIB_BASE_p = \
270 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
250700e4 271!endif
b17c1746 272!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
21c6080d 273__DEBUGINFO_3 = /Zi
250700e4 274!endif
b17c1746 275!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
21c6080d 276__DEBUGINFO_3 =
250700e4 277!endif
b17c1746 278!if "$(DEBUG_INFO)" == "0"
21c6080d 279__DEBUGINFO_3 =
b17c1746
DE
280!endif
281!if "$(DEBUG_INFO)" == "1"
21c6080d 282__DEBUGINFO_3 = /Zi
250700e4 283!endif
21c6080d
JS
284!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
285____DEBUGRUNTIME = /D_DEBUG
bdc408c4 286!endif
21c6080d
JS
287!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
288____DEBUGRUNTIME =
3f55f5b8 289!endif
21c6080d
JS
290!if "$(DEBUG_RUNTIME_LIBS)" == "0"
291____DEBUGRUNTIME =
3f55f5b8 292!endif
21c6080d
JS
293!if "$(DEBUG_RUNTIME_LIBS)" == "1"
294____DEBUGRUNTIME = /D_DEBUG
3f55f5b8 295!endif
21c6080d
JS
296!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
297__DEBUGRUNTIME = d
3f55f5b8 298!endif
21c6080d
JS
299!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
300__DEBUGRUNTIME =
3f55f5b8 301!endif
21c6080d
JS
302!if "$(DEBUG_RUNTIME_LIBS)" == "0"
303__DEBUGRUNTIME =
3f55f5b8 304!endif
21c6080d
JS
305!if "$(DEBUG_RUNTIME_LIBS)" == "1"
306__DEBUGRUNTIME = d
3f55f5b8 307!endif
b17c1746
DE
308!if "$(BUILD)" == "debug"
309__OPTIMIZEFLAG = /Od
3f55f5b8 310!endif
b17c1746
DE
311!if "$(BUILD)" == "release"
312__OPTIMIZEFLAG = /O2
bdc408c4 313!endif
8c9f8f91
JS
314!if "$(USE_THREADS)" == "0"
315__THREADSFLAG = L
b17c1746 316!endif
8c9f8f91
JS
317!if "$(USE_THREADS)" == "1"
318__THREADSFLAG = T
b17c1746 319!endif
8c9f8f91
JS
320!if "$(USE_RTTI)" == "0"
321__RTTIFLAG =
b17c1746 322!endif
8c9f8f91
JS
323!if "$(USE_RTTI)" == "1"
324__RTTIFLAG = /GR
b17c1746
DE
325!endif
326!if "$(USE_EXCEPTIONS)" == "0"
8c9f8f91 327__EXCEPTIONSFLAG =
b17c1746
DE
328!endif
329!if "$(USE_EXCEPTIONS)" == "1"
8c9f8f91 330__EXCEPTIONSFLAG = /EHsc
b17c1746
DE
331!endif
332!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
333__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
334!endif
335!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
336__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
337!endif
338!if "$(WXUNIV)" == "1"
339__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
340!endif
341!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
342__DEBUG_DEFINE_p = /D__WXDEBUG__
343!endif
344!if "$(DEBUG_FLAG)" == "1"
345__DEBUG_DEFINE_p = /D__WXDEBUG__
346!endif
8c9f8f91
JS
347!if "$(USE_EXCEPTIONS)" == "0"
348__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
349!endif
350!if "$(USE_RTTI)" == "0"
351__RTTI_DEFINE_p = /DwxNO_RTTI
352!endif
353!if "$(USE_THREADS)" == "0"
354__THREAD_DEFINE_p = /DwxNO_THREADS
355!endif
b17c1746
DE
356!if "$(UNICODE)" == "1"
357__UNICODE_DEFINE_p = /D_UNICODE
250700e4 358!endif
2113bc77
MW
359!if "$(MSLU)" == "1"
360__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
361!endif
250700e4
RD
362
363
364all: $(OBJS)
365$(OBJS):
366 -if not exist $(OBJS) mkdir $(OBJS)
367
368### Targets: ###
369
4818141b 370all: $(__gizmosdll___depname) $(__gizmos_xrcdll___depname) $(__gizmoslib___depname) $(__gizmos_xrclib___depname)
250700e4 371
b17c1746
DE
372clean:
373 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
374 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 375 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
4cbcfb73
VZ
376 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll
377 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).ilk
378 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb
c33fae85 379 -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
4cbcfb73
VZ
380 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll
381 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).ilk
382 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).pdb
4818141b 383 -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 384 -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 385 -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
386
387!if "$(SHARED)" == "1"
4cbcfb73 388$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version.res
ab6ea1ac 389 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
4818141b
JS
390 $(GIZMOSDLL_OBJECTS) $(__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) $(__UNICOWS_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 oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
391<<
392!endif
393
394!if "$(SHARED)" == "1" && "$(USE_XRC)" == "1"
4cbcfb73 395$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll: $(OBJS)\gizmos_xrcdll_dummy.obj $(GIZMOS_XRCDLL_OBJECTS) $(OBJS)\gizmos_xrcdll_version.res $(__gizmosdll___depname)
ab6ea1ac 396 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
21c6080d 397 $(GIZMOS_XRCDLL_OBJECTS) $(__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) $(__UNICOWS_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 oleacc.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) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib
b17c1746
DE
398<<
399!endif
400
401!if "$(SHARED)" == "0"
c33fae85 402$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
b17c1746 403 if exist $@ del $@
0d90d6ea 404 link /LIB /NOLOGO /OUT:$@ @<<
b17c1746
DE
405 $(GIZMOSLIB_OBJECTS)
406<<
407!endif
408
4818141b
JS
409!if "$(SHARED)" == "0" && "$(USE_XRC)" == "1"
410$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib: $(OBJS)\gizmos_xrclib_dummy.obj $(GIZMOS_XRCLIB_OBJECTS)
411 if exist $@ del $@
0d90d6ea 412 link /LIB /NOLOGO /OUT:$@ @<<
4818141b
JS
413 $(GIZMOS_XRCLIB_OBJECTS)
414<<
415!endif
416
250700e4
RD
417$(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
418 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
419
102d46f3 420$(OBJS)\gizmosdll_version.res: ../../src/gizmos\..\..\..\src\msw\version.rc
ab6ea1ac 421 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) $(__RES_TARGET_CPU_p) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) /i ..\..\src\gizmos\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG) $**
8c9f8f91 422
250700e4
RD
423$(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
424 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
425
426$(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
427 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
428
429$(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
430 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
431
432$(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
433 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
434
435$(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
436 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
437
438$(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
439 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
440
4818141b
JS
441$(OBJS)\gizmos_xrcdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
442 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCDLL_CXXFLAGS) /Ycwx/wxprec.h $**
443
444$(OBJS)\gizmos_xrcdll_version.res: ../../src/gizmos\..\..\..\src\msw\version.rc
ab6ea1ac 445 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) $(__RES_TARGET_CPU_p) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) /i ..\..\src\gizmos\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG) $**
4818141b
JS
446
447$(OBJS)\gizmos_xrcdll_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp
448 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCDLL_CXXFLAGS) $**
92c45b12 449
250700e4
RD
450$(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
451 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
452
453$(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
454 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
455
456$(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
457 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
458
459$(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
460 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
461
462$(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
463 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
464
465$(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
466 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
467
468$(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
469 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
b14abf14 470
4818141b
JS
471$(OBJS)\gizmos_xrclib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
472 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCLIB_CXXFLAGS) /Ycwx/wxprec.h $**
473
474$(OBJS)\gizmos_xrclib_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp
475 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCLIB_CXXFLAGS) $**
92c45b12 476