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