]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/render/makefile.vc
Fix bug [ 1170089 ] wxGenericDirCtrl doesn't show files
[wxWidgets.git] / samples / render / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.8 (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)5
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19LIBDIRNAME = .\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
23 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME_2_p) \
24 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
27 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \
28 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
29RENDER_OBJECTS = \
30 $(OBJS)\render_sample.res \
31 $(OBJS)\render_render.obj
32RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME_18) /DWIN32 \
33 $(__DEBUGINFO) \
34 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb \
35 $(____DEBUGRUNTIME_17_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
36 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
37 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
38 /I.\..\..\include /I$(SETUPHDIR) /W4 /DWXUSINGDLL $(__RTTIFLAG) \
39 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
40RENDDLL_OBJECTS = \
41 $(OBJS)\renddll_renddll.obj
42
43### Conditionally set variables: ###
44
45!if "$(USE_GUI)" == "0"
46PORTNAME = base
47!endif
48!if "$(USE_GUI)" == "1"
49PORTNAME = msw
50!endif
51!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
52WXDEBUGFLAG = d
53!endif
54!if "$(DEBUG_FLAG)" == "1"
55WXDEBUGFLAG = d
56!endif
57!if "$(UNICODE)" == "1"
58WXUNICODEFLAG = u
59!endif
60!if "$(WXUNIV)" == "1"
61WXUNIVNAME = univ
62!endif
63!if "$(SHARED)" == "1"
64WXDLLFLAG = dll
65!endif
66!if "$(SHARED)" == "0"
67LIBTYPE_SUFFIX = lib
68!endif
69!if "$(SHARED)" == "1"
70LIBTYPE_SUFFIX = dll
71!endif
72!if "$(MONOLITHIC)" == "0"
73EXTRALIBS_FOR_BASE =
74!endif
75!if "$(MONOLITHIC)" == "1"
76EXTRALIBS_FOR_BASE =
77!endif
78!if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
79PLUGINSUFFIX = d
80!endif
81!if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
82PLUGINSUFFIX = ud
83!endif
84!if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
85PLUGINSUFFIX =
86!endif
87!if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
88PLUGINSUFFIX = u
89!endif
90!if "$(DEBUG_RUNTIME_LIBS)" == "0"
91____DEBUGRUNTIME_2_p =
92!endif
93!if "$(DEBUG_RUNTIME_LIBS)" == "1"
94____DEBUGRUNTIME_2_p = /D_DEBUG
95!endif
96!if "$(DEBUG_RUNTIME_LIBS)" == "default"
97____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
98!endif
99!if "$(DEBUG_RUNTIME_LIBS)" == "0"
100____DEBUGRUNTIME_2_p_1 =
101!endif
102!if "$(DEBUG_RUNTIME_LIBS)" == "1"
103____DEBUGRUNTIME_2_p_1 = /d _DEBUG
104!endif
105!if "$(DEBUG_RUNTIME_LIBS)" == "default"
106____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
107!endif
108!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
109____DEBUGINFO_2_p_1 = /d _DEBUG
110!endif
111!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112____DEBUGINFO_2_p_1 =
113!endif
114!if "$(DEBUG_INFO)" == "0"
115____DEBUGINFO_2_p_1 =
116!endif
117!if "$(DEBUG_INFO)" == "1"
118____DEBUGINFO_2_p_1 = /d _DEBUG
119!endif
120!if "$(DEBUG_RUNTIME_LIBS)" == "0"
121__DEBUGRUNTIME_3 =
122!endif
123!if "$(DEBUG_RUNTIME_LIBS)" == "1"
124__DEBUGRUNTIME_3 = d
125!endif
126!if "$(DEBUG_RUNTIME_LIBS)" == "default"
127__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
128!endif
129!if "$(RUNTIME_LIBS)" == "dynamic"
130__RUNTIME_LIBS_8 = D
131!endif
132!if "$(RUNTIME_LIBS)" == "static"
133__RUNTIME_LIBS_8 = $(__THREADSFLAG)
134!endif
135!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
136__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
137!endif
138!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
139__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
140!endif
141!if "$(WXUNIV)" == "1"
142__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
143!endif
144!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
145__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
146!endif
147!if "$(DEBUG_FLAG)" == "1"
148__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
149!endif
150!if "$(USE_EXCEPTIONS)" == "0"
151__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
152!endif
153!if "$(USE_RTTI)" == "0"
154__RTTI_DEFINE_p_1 = /d wxNO_RTTI
155!endif
156!if "$(USE_THREADS)" == "0"
157__THREAD_DEFINE_p_1 = /d wxNO_THREADS
158!endif
159!if "$(UNICODE)" == "1"
160__UNICODE_DEFINE_p_1 = /d _UNICODE
161!endif
162!if "$(SHARED)" == "1"
163__DLLFLAG_p = /DWXUSINGDLL
164!endif
165!if "$(SHARED)" == "1"
166__DLLFLAG_p_1 = /d WXUSINGDLL
167!endif
168!if "$(SHARED)" == "1"
169__renddll___depname = \
170 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll
171!endif
172!if "$(DEBUG_RUNTIME_LIBS)" == "0"
173____DEBUGRUNTIME_17_p =
174!endif
175!if "$(DEBUG_RUNTIME_LIBS)" == "1"
176____DEBUGRUNTIME_17_p = /D_DEBUG
177!endif
178!if "$(DEBUG_RUNTIME_LIBS)" == "default"
179____DEBUGRUNTIME_17_p = $(____DEBUGINFO)
180!endif
181!if "$(DEBUG_RUNTIME_LIBS)" == "0"
182__DEBUGRUNTIME_18 =
183!endif
184!if "$(DEBUG_RUNTIME_LIBS)" == "1"
185__DEBUGRUNTIME_18 = d
186!endif
187!if "$(DEBUG_RUNTIME_LIBS)" == "default"
188__DEBUGRUNTIME_18 = $(__DEBUGINFO_2)
189!endif
190!if "$(RUNTIME_LIBS)" == "dynamic"
191__RUNTIME_LIBS_23 = D
192!endif
193!if "$(RUNTIME_LIBS)" == "static"
194__RUNTIME_LIBS_23 = $(__THREADSFLAG)
195!endif
196!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197__DEBUGINFO = /Zi
198!endif
199!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200__DEBUGINFO =
201!endif
202!if "$(DEBUG_INFO)" == "0"
203__DEBUGINFO =
204!endif
205!if "$(DEBUG_INFO)" == "1"
206__DEBUGINFO = /Zi
207!endif
208!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
209__DEBUGINFO_1 = /DEBUG
210!endif
211!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
212__DEBUGINFO_1 =
213!endif
214!if "$(DEBUG_INFO)" == "0"
215__DEBUGINFO_1 =
216!endif
217!if "$(DEBUG_INFO)" == "1"
218__DEBUGINFO_1 = /DEBUG
219!endif
220!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
221____DEBUGINFO = /D_DEBUG
222!endif
223!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
224____DEBUGINFO =
225!endif
226!if "$(DEBUG_INFO)" == "0"
227____DEBUGINFO =
228!endif
229!if "$(DEBUG_INFO)" == "1"
230____DEBUGINFO = /D_DEBUG
231!endif
232!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
233__DEBUGINFO_2 = d
234!endif
235!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
236__DEBUGINFO_2 =
237!endif
238!if "$(DEBUG_INFO)" == "0"
239__DEBUGINFO_2 =
240!endif
241!if "$(DEBUG_INFO)" == "1"
242__DEBUGINFO_2 = d
243!endif
244!if "$(BUILD)" == "debug"
245__OPTIMIZEFLAG = /Od
246!endif
247!if "$(BUILD)" == "release"
248__OPTIMIZEFLAG = /O2
249!endif
250!if "$(USE_THREADS)" == "0"
251__THREADSFLAG = L
252!endif
253!if "$(USE_THREADS)" == "1"
254__THREADSFLAG = T
255!endif
256!if "$(USE_RTTI)" == "0"
257__RTTIFLAG =
258!endif
259!if "$(USE_RTTI)" == "1"
260__RTTIFLAG = /GR
261!endif
262!if "$(USE_EXCEPTIONS)" == "0"
263__EXCEPTIONSFLAG =
264!endif
265!if "$(USE_EXCEPTIONS)" == "1"
266__EXCEPTIONSFLAG = /EHsc
267!endif
268!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
269__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
270!endif
271!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
272__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
273!endif
274!if "$(WXUNIV)" == "1"
275__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
276!endif
277!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
278__DEBUG_DEFINE_p = /D__WXDEBUG__
279!endif
280!if "$(DEBUG_FLAG)" == "1"
281__DEBUG_DEFINE_p = /D__WXDEBUG__
282!endif
283!if "$(USE_EXCEPTIONS)" == "0"
284__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
285!endif
286!if "$(USE_RTTI)" == "0"
287__RTTI_DEFINE_p = /DwxNO_RTTI
288!endif
289!if "$(USE_THREADS)" == "0"
290__THREAD_DEFINE_p = /DwxNO_THREADS
291!endif
292!if "$(UNICODE)" == "1"
293__UNICODE_DEFINE_p = /D_UNICODE
294!endif
295!if "$(MONOLITHIC)" == "0"
296__WXLIB_CORE_p = \
297 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
298!endif
299!if "$(MONOLITHIC)" == "0"
300__WXLIB_BASE_p = \
301 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
302!endif
303!if "$(MONOLITHIC)" == "1"
304__WXLIB_MONO_p = \
305 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
306!endif
307!if "$(USE_GUI)" == "1"
308__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
309!endif
310!if "$(USE_GUI)" == "1"
311__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
312!endif
313!if "$(USE_GUI)" == "1"
314__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
315!endif
316!if "$(MSLU)" == "1"
317__UNICOWS_LIB_p = unicows.lib
318!endif
319
320
321all: $(OBJS)
322$(OBJS):
323 -if not exist $(OBJS) mkdir $(OBJS)
324
325### Targets: ###
326
327all: $(OBJS)\render.exe $(__renddll___depname)
328
329clean:
330 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
331 -if exist $(OBJS)\*.res del $(OBJS)\*.res
332 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
333 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
334 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
335 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
336 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll
337 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.ilk
338 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb
339
340$(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
341 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
342 $(RENDER_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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
343<<
344
345!if "$(SHARED)" == "1"
346$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
347 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
348 $(RENDDLL_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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
349<<
350!endif
351
352$(OBJS)\render_sample.res: .\..\..\samples\sample.rc
353 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples $**
354
355$(OBJS)\render_render.obj: .\render.cpp
356 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $**
357
358$(OBJS)\renddll_renddll.obj: .\renddll.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $**
360