]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/gizmos/makefile.vc
wxString and wxChar* access for file functions. Source cleaning.
[wxWidgets.git] / contrib / build / gizmos / makefile.vc
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
15 WX_RELEASE_NODOT = 25
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
17 OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 GIZMOSDLL_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)
30 GIZMOSDLL_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
38 GIZMOSLIB_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)
46 GIZMOSLIB_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"
58 PORTNAME = base
59 !endif
60 !if "$(USE_GUI)" == "1"
61 PORTNAME = msw
62 !endif
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
65 !endif
66 !if "$(OFFICIAL_BUILD)" == "1"
67 VENDORTAG =
68 !endif
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70 WXDEBUGFLAG = d
71 !endif
72 !if "$(DEBUG_FLAG)" == "1"
73 WXDEBUGFLAG = d
74 !endif
75 !if "$(UNICODE)" == "1"
76 WXUNICODEFLAG = u
77 !endif
78 !if "$(WXUNIV)" == "1"
79 WXUNIVNAME = univ
80 !endif
81 !if "$(SHARED)" == "1"
82 WXDLLFLAG = dll
83 !endif
84 !if "$(MONOLITHIC)" == "0"
85 EXTRALIBS_FOR_BASE =
86 !endif
87 !if "$(MONOLITHIC)" == "1"
88 EXTRALIBS_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"
249 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG)
250 !endif
251 !if "$(SHARED)" == "1"
252 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG)
253 !endif
254
255
256 all: $(OBJS)
257 $(OBJS):
258 -if not exist $(OBJS) mkdir $(OBJS)
259
260 ### Targets: ###
261
262 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
263
264 clean:
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) $**