]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/gizmos/makefile.vc
Compilation fixes
[wxWidgets.git] / contrib / build / gizmos / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include <../../../build/msw/config.vc>
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19GIZMOSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
25 /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_gizmosdll.pch" $(CPPFLAGS) $(CXXFLAGS)
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 \
35 $(OBJS)\gizmosdll_statpict.obj
36GIZMOSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
37 $(__DEBUGINFO) \
38 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \
39 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
40 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \
42 /I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
43 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch" $(CPPFLAGS) $(CXXFLAGS)
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 \
51 $(OBJS)\gizmoslib_statpict.obj
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
67!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68WXDEBUGFLAG = d
69!endif
70!if "$(DEBUG_FLAG)" == "1"
71WXDEBUGFLAG = d
72!endif
73!if "$(UNICODE)" == "1"
74WXUNICODEFLAG = u
75!endif
76!if "$(WXUNIV)" == "1"
77WXUNIVNAME = univ
78!endif
79!if "$(SHARED)" == "1"
80WXDLLFLAG = dll
81!endif
82!if "$(SHARED)" == "1"
83__gizmosdll___depname = \
84 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
85!endif
86!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
87__DEBUGINFO_1 = /DEBUG
88!endif
89!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
90__DEBUGINFO_1 =
91!endif
92!if "$(DEBUG_INFO)" == "0"
93__DEBUGINFO_1 =
94!endif
95!if "$(DEBUG_INFO)" == "1"
96__DEBUGINFO_1 = /DEBUG
97!endif
98!if "$(DEBUG_RUNTIME_LIBS)" == "0"
99____DEBUGRUNTIME_2_p =
100!endif
101!if "$(DEBUG_RUNTIME_LIBS)" == "1"
102____DEBUGRUNTIME_2_p = /D_DEBUG
103!endif
104!if "$(DEBUG_RUNTIME_LIBS)" == "default"
105____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
106!endif
107!if "$(DEBUG_RUNTIME_LIBS)" == "0"
108__DEBUGRUNTIME_3 =
109!endif
110!if "$(DEBUG_RUNTIME_LIBS)" == "1"
111__DEBUGRUNTIME_3 = d
112!endif
113!if "$(DEBUG_RUNTIME_LIBS)" == "default"
114__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
115!endif
116!if "$(MONOLITHIC)" == "1"
117__WXLIB_MONO_p = \
118 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
119!endif
120!if "$(USE_GUI)" == "1"
121__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
122!endif
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
129!if "$(MSLU)" == "1"
130__UNICOWS_LIB_p = unicows.lib
131!endif
132!if "$(MONOLITHIC)" == "0"
133__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
134!endif
135!if "$(MONOLITHIC)" == "0"
136__WXLIB_CORE_p = \
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
138!endif
139!if "$(SHARED)" == "0"
140__gizmoslib___depname = \
141 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
142!endif
143!if "$(DEBUG_RUNTIME_LIBS)" == "0"
144____DEBUGRUNTIME_14_p =
145!endif
146!if "$(DEBUG_RUNTIME_LIBS)" == "1"
147____DEBUGRUNTIME_14_p = /D_DEBUG
148!endif
149!if "$(DEBUG_RUNTIME_LIBS)" == "default"
150____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
151!endif
152!if "$(DEBUG_RUNTIME_LIBS)" == "0"
153__DEBUGRUNTIME_15 =
154!endif
155!if "$(DEBUG_RUNTIME_LIBS)" == "1"
156__DEBUGRUNTIME_15 = d
157!endif
158!if "$(DEBUG_RUNTIME_LIBS)" == "default"
159__DEBUGRUNTIME_15 = $(__DEBUGINFO_2)
160!endif
161!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
162__DEBUGINFO = /Zi
163!endif
164!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
165__DEBUGINFO =
166!endif
167!if "$(DEBUG_INFO)" == "0"
168__DEBUGINFO =
169!endif
170!if "$(DEBUG_INFO)" == "1"
171__DEBUGINFO = /Zi
172!endif
173!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
174____DEBUGINFO = /D_DEBUG
175!endif
176!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
177____DEBUGINFO =
178!endif
179!if "$(DEBUG_INFO)" == "0"
180____DEBUGINFO =
181!endif
182!if "$(DEBUG_INFO)" == "1"
183____DEBUGINFO = /D_DEBUG
184!endif
185!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
186__DEBUGINFO_2 = d
187!endif
188!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
189__DEBUGINFO_2 =
190!endif
191!if "$(DEBUG_INFO)" == "0"
192__DEBUGINFO_2 =
193!endif
194!if "$(DEBUG_INFO)" == "1"
195__DEBUGINFO_2 = d
196!endif
197!if "$(BUILD)" == "debug"
198__OPTIMIZEFLAG = /Od
199!endif
200!if "$(BUILD)" == "release"
201__OPTIMIZEFLAG = /O2
202!endif
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
238!endif
239!if "$(SHARED)" == "0"
240LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
241!endif
242!if "$(SHARED)" == "1"
243LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
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
255clean:
256 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
257 -if exist $(OBJS)\*.res del $(OBJS)\*.res
258 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll
259 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).ilk
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb
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"
265$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
266 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
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
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
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) $**