]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.vc
Updated the class name for wxWebKit to wxWebKitCtrl in sample.
[wxWidgets.git] / contrib / build / gizmos / makefile.vc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (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
b17c1746
DE
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
c4839ccf
JS
19GIZMOSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
20 $(__DEBUGINFO_1) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
3f55f5b8 25 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
9bfe7ad9
VS
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_gizmosdll.pch" $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
28GIZMOSDLL_OBJECTS = \
29 $(OBJS)\gizmosdll_dummy.obj \
30 $(OBJS)\gizmosdll_dynamicsash.obj \
31 $(OBJS)\gizmosdll_editlbox.obj \
32 $(OBJS)\gizmosdll_ledctrl.obj \
33 $(OBJS)\gizmosdll_multicell.obj \
34 $(OBJS)\gizmosdll_splittree.obj \
c4839ccf
JS
35 $(OBJS)\gizmosdll_statpict.obj \
36 $(OBJS)\gizmosdll_treelistctrl.obj
37GIZMOSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
38 $(__DEBUGINFO_1) \
3f55f5b8 39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \
c4839ccf 40 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
42 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
9bfe7ad9
VS
43 /I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
44 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch" $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
45GIZMOSLIB_OBJECTS = \
46 $(OBJS)\gizmoslib_dummy.obj \
47 $(OBJS)\gizmoslib_dynamicsash.obj \
48 $(OBJS)\gizmoslib_editlbox.obj \
49 $(OBJS)\gizmoslib_ledctrl.obj \
50 $(OBJS)\gizmoslib_multicell.obj \
51 $(OBJS)\gizmoslib_splittree.obj \
c4839ccf
JS
52 $(OBJS)\gizmoslib_statpict.obj \
53 $(OBJS)\gizmoslib_treelistctrl.obj
250700e4
RD
54
55### Conditionally set variables: ###
56
57!if "$(USE_GUI)" == "0"
58PORTNAME = base
59!endif
60!if "$(USE_GUI)" == "1"
61PORTNAME = msw
62!endif
63!if "$(OFFICIAL_BUILD)" == "0"
64VENDORTAG = _$(VENDOR)
65!endif
66!if "$(OFFICIAL_BUILD)" == "1"
67VENDORTAG =
68!endif
3f55f5b8
VS
69!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70WXDEBUGFLAG = d
71!endif
72!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
73WXDEBUGFLAG = d
74!endif
250700e4
RD
75!if "$(UNICODE)" == "1"
76WXUNICODEFLAG = u
77!endif
78!if "$(WXUNIV)" == "1"
79WXUNIVNAME = univ
80!endif
b17c1746
DE
81!if "$(SHARED)" == "1"
82WXDLLFLAG = dll
250700e4 83!endif
b17c1746
DE
84!if "$(SHARED)" == "1"
85__gizmosdll___depname = \
c4839ccf 86 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
250700e4 87!endif
3f55f5b8 88!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 89__DEBUGINFO_2 = /DEBUG
250700e4 90!endif
3f55f5b8 91!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 92__DEBUGINFO_2 =
250700e4 93!endif
3f55f5b8 94!if "$(DEBUG_INFO)" == "0"
c4839ccf 95__DEBUGINFO_2 =
3f55f5b8
VS
96!endif
97!if "$(DEBUG_INFO)" == "1"
c4839ccf 98__DEBUGINFO_2 = /DEBUG
3f55f5b8 99!endif
3f55f5b8 100!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 101____DEBUGRUNTIME_3_p =
3f55f5b8
VS
102!endif
103!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 104____DEBUGRUNTIME_3_p = /D_DEBUG
3f55f5b8
VS
105!endif
106!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 107____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
3f55f5b8
VS
108!endif
109!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 110__DEBUGRUNTIME_4 =
3f55f5b8
VS
111!endif
112!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 113__DEBUGRUNTIME_4 = d
3f55f5b8
VS
114!endif
115!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 116__DEBUGRUNTIME_4 = $(__DEBUGINFO)
3f55f5b8 117!endif
b17c1746
DE
118!if "$(MONOLITHIC)" == "1"
119__WXLIB_MONO_p = \
120 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
a4ad36cd 121!endif
b17c1746
DE
122!if "$(USE_GUI)" == "1"
123__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 124!endif
3f55f5b8
VS
125!if "$(USE_GUI)" == "1"
126__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
127!endif
128!if "$(USE_GUI)" == "1"
129__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
130!endif
b17c1746
DE
131!if "$(MSLU)" == "1"
132__UNICOWS_LIB_p = unicows.lib
3f55f5b8 133!endif
b17c1746
DE
134!if "$(MONOLITHIC)" == "0"
135__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
ec08d395 136!endif
b17c1746
DE
137!if "$(MONOLITHIC)" == "0"
138__WXLIB_CORE_p = \
139 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
ec08d395 140!endif
b17c1746
DE
141!if "$(SHARED)" == "0"
142__gizmoslib___depname = \
143 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
250700e4 144!endif
b17c1746 145!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 146____DEBUGRUNTIME_15_p =
250700e4 147!endif
b17c1746 148!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 149____DEBUGRUNTIME_15_p = /D_DEBUG
250700e4 150!endif
b17c1746 151!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 152____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
250700e4 153!endif
b17c1746 154!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 155__DEBUGRUNTIME_16 =
250700e4 156!endif
b17c1746 157!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 158__DEBUGRUNTIME_16 = d
2265a2d5 159!endif
b17c1746 160!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 161__DEBUGRUNTIME_16 = $(__DEBUGINFO)
250700e4 162!endif
b17c1746 163!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 164__DEBUGINFO_1 = /Zi
250700e4 165!endif
b17c1746 166!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 167__DEBUGINFO_1 =
250700e4 168!endif
b17c1746 169!if "$(DEBUG_INFO)" == "0"
c4839ccf 170__DEBUGINFO_1 =
b17c1746
DE
171!endif
172!if "$(DEBUG_INFO)" == "1"
c4839ccf 173__DEBUGINFO_1 = /Zi
250700e4 174!endif
3f55f5b8
VS
175!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
176____DEBUGINFO = /D_DEBUG
bdc408c4 177!endif
3f55f5b8 178!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
e2d1c567 179____DEBUGINFO =
3f55f5b8
VS
180!endif
181!if "$(DEBUG_INFO)" == "0"
e2d1c567 182____DEBUGINFO =
3f55f5b8
VS
183!endif
184!if "$(DEBUG_INFO)" == "1"
185____DEBUGINFO = /D_DEBUG
186!endif
b17c1746 187!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 188__DEBUGINFO = d
3f55f5b8 189!endif
b17c1746 190!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 191__DEBUGINFO =
3f55f5b8 192!endif
b17c1746 193!if "$(DEBUG_INFO)" == "0"
c4839ccf 194__DEBUGINFO =
3f55f5b8 195!endif
b17c1746 196!if "$(DEBUG_INFO)" == "1"
c4839ccf 197__DEBUGINFO = d
3f55f5b8 198!endif
b17c1746
DE
199!if "$(BUILD)" == "debug"
200__OPTIMIZEFLAG = /Od
3f55f5b8 201!endif
b17c1746
DE
202!if "$(BUILD)" == "release"
203__OPTIMIZEFLAG = /O2
bdc408c4 204!endif
b17c1746
DE
205!if "$(RUNTIME_LIBS)" == "dynamic"
206__RUNTIME_LIBS = D
207!endif
208!if "$(RUNTIME_LIBS)" == "static"
209__RUNTIME_LIBS = T
210!endif
211!if "$(USE_EXCEPTIONS)" == "0"
212__EXCEPTIONSFLAG =
213!endif
214!if "$(USE_EXCEPTIONS)" == "1"
215__EXCEPTIONSFLAG = /GR
216!endif
217!if "$(USE_EXCEPTIONS)" == "0"
218__EXCEPTIONSFLAG_0 =
219!endif
220!if "$(USE_EXCEPTIONS)" == "1"
221__EXCEPTIONSFLAG_0 = /GX
222!endif
223!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
224__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
225!endif
226!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
227__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
228!endif
229!if "$(WXUNIV)" == "1"
230__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
231!endif
232!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
233__DEBUG_DEFINE_p = /D__WXDEBUG__
234!endif
235!if "$(DEBUG_FLAG)" == "1"
236__DEBUG_DEFINE_p = /D__WXDEBUG__
237!endif
238!if "$(UNICODE)" == "1"
239__UNICODE_DEFINE_p = /D_UNICODE
250700e4
RD
240!endif
241!if "$(SHARED)" == "0"
b17c1746
DE
242LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
243!endif
244!if "$(SHARED)" == "1"
245LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
250700e4
RD
246!endif
247
248
249all: $(OBJS)
250$(OBJS):
251 -if not exist $(OBJS) mkdir $(OBJS)
252
253### Targets: ###
254
255all: $(__gizmosdll___depname) $(__gizmoslib___depname)
256
b17c1746
DE
257clean:
258 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
259 -if exist $(OBJS)\*.res del $(OBJS)\*.res
c4839ccf
JS
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
261 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).ilk
262 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb
b17c1746
DE
263 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
264 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
265
266!if "$(SHARED)" == "1"
c4839ccf
JS
267$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
268 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
b92ca8cf 269 $(GIZMOSDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__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_BASE_p) $(__WXLIB_CORE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
b17c1746
DE
270<<
271!endif
272
273!if "$(SHARED)" == "0"
274$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
275 if exist $@ del $@
276 lib /NOLOGO /OUT:$@ @<<
277 $(GIZMOSLIB_OBJECTS)
278<<
279!endif
280
250700e4
RD
281$(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
283
284$(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
286
287$(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
289
290$(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
292
293$(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
295
296$(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
298
299$(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
301
c4839ccf
JS
302$(OBJS)\gizmosdll_treelistctrl.obj: ../../src/gizmos\treelistctrl.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $**
304
250700e4
RD
305$(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
307
308$(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
310
311$(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
313
314$(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
316
317$(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
319
320$(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
322
323$(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**
c4839ccf
JS
325
326$(OBJS)\gizmoslib_treelistctrl.obj: ../../src/gizmos\treelistctrl.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $**