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