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