]> git.saurik.com Git - wxWidgets.git/blame - samples/render/makefile.vc
Fix bug [ 1170089 ] wxGenericDirCtrl doesn't show files
[wxWidgets.git] / samples / render / makefile.vc
CommitLineData
2d611b5c
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (http://bakefile.sourceforge.net)
2d611b5c
VS
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
c33fae85 15WX_RELEASE_NODOT = 25
8c9f8f91 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
2d611b5c
VS
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 19LIBDIRNAME = .\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91 22RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
b17c1746 23 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395 24 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91
JS
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)
2d611b5c
VS
29RENDER_OBJECTS = \
30 $(OBJS)\render_sample.res \
31 $(OBJS)\render_render.obj
8c9f8f91 32RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME_18) /DWIN32 \
b17c1746 33 $(__DEBUGINFO) \
c33fae85 34 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb \
8c9f8f91
JS
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)
b17c1746
DE
40RENDDLL_OBJECTS = \
41 $(OBJS)\renddll_renddll.obj
2d611b5c
VS
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
2d611b5c
VS
57!if "$(UNICODE)" == "1"
58WXUNICODEFLAG = u
59!endif
60!if "$(WXUNIV)" == "1"
61WXUNIVNAME = univ
62!endif
b17c1746
DE
63!if "$(SHARED)" == "1"
64WXDLLFLAG = dll
2d611b5c 65!endif
b14abf14
JS
66!if "$(SHARED)" == "0"
67LIBTYPE_SUFFIX = lib
68!endif
69!if "$(SHARED)" == "1"
70LIBTYPE_SUFFIX = dll
71!endif
dd65d8c8
RN
72!if "$(MONOLITHIC)" == "0"
73EXTRALIBS_FOR_BASE =
74!endif
75!if "$(MONOLITHIC)" == "1"
76EXTRALIBS_FOR_BASE =
77!endif
078c7a59 78!if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
314a6446 79PLUGINSUFFIX = d
078c7a59
VS
80!endif
81!if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
314a6446 82PLUGINSUFFIX = ud
078c7a59
VS
83!endif
84!if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
85PLUGINSUFFIX =
86!endif
87!if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
314a6446 88PLUGINSUFFIX = u
078c7a59 89!endif
b17c1746
DE
90!if "$(DEBUG_RUNTIME_LIBS)" == "0"
91____DEBUGRUNTIME_2_p =
2d611b5c 92!endif
b17c1746
DE
93!if "$(DEBUG_RUNTIME_LIBS)" == "1"
94____DEBUGRUNTIME_2_p = /D_DEBUG
2d611b5c 95!endif
b17c1746
DE
96!if "$(DEBUG_RUNTIME_LIBS)" == "default"
97____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
2d611b5c 98!endif
b17c1746
DE
99!if "$(DEBUG_RUNTIME_LIBS)" == "0"
100____DEBUGRUNTIME_2_p_1 =
2d611b5c 101!endif
b17c1746
DE
102!if "$(DEBUG_RUNTIME_LIBS)" == "1"
103____DEBUGRUNTIME_2_p_1 = /d _DEBUG
2d611b5c 104!endif
b17c1746
DE
105!if "$(DEBUG_RUNTIME_LIBS)" == "default"
106____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
2d611b5c
VS
107!endif
108!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
b17c1746 109____DEBUGINFO_2_p_1 = /d _DEBUG
2d611b5c
VS
110!endif
111!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
b17c1746 112____DEBUGINFO_2_p_1 =
2d611b5c
VS
113!endif
114!if "$(DEBUG_INFO)" == "0"
b17c1746 115____DEBUGINFO_2_p_1 =
2d611b5c
VS
116!endif
117!if "$(DEBUG_INFO)" == "1"
b17c1746 118____DEBUGINFO_2_p_1 = /d _DEBUG
2d611b5c
VS
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"
b17c1746 127__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
2d611b5c 128!endif
8c9f8f91
JS
129!if "$(RUNTIME_LIBS)" == "dynamic"
130__RUNTIME_LIBS_8 = D
131!endif
132!if "$(RUNTIME_LIBS)" == "static"
133__RUNTIME_LIBS_8 = $(__THREADSFLAG)
134!endif
b17c1746
DE
135!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
136__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
2d611b5c 137!endif
b17c1746
DE
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__
2d611b5c
VS
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
8c9f8f91
JS
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
b17c1746
DE
159!if "$(UNICODE)" == "1"
160__UNICODE_DEFINE_p_1 = /d _UNICODE
161!endif
2d611b5c
VS
162!if "$(SHARED)" == "1"
163__DLLFLAG_p = /DWXUSINGDLL
164!endif
165!if "$(SHARED)" == "1"
166__DLLFLAG_p_1 = /d WXUSINGDLL
167!endif
b17c1746
DE
168!if "$(SHARED)" == "1"
169__renddll___depname = \
c33fae85 170 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll
ec08d395 171!endif
b17c1746 172!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 173____DEBUGRUNTIME_17_p =
ec08d395 174!endif
b17c1746 175!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 176____DEBUGRUNTIME_17_p = /D_DEBUG
ec08d395 177!endif
b17c1746 178!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 179____DEBUGRUNTIME_17_p = $(____DEBUGINFO)
2d611b5c 180!endif
b17c1746 181!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 182__DEBUGRUNTIME_18 =
2d611b5c 183!endif
b17c1746 184!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 185__DEBUGRUNTIME_18 = d
2d611b5c 186!endif
b17c1746 187!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91
JS
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)
2d611b5c 195!endif
b17c1746
DE
196!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197__DEBUGINFO = /Zi
2d611b5c 198!endif
b17c1746
DE
199!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200__DEBUGINFO =
2d611b5c 201!endif
b17c1746
DE
202!if "$(DEBUG_INFO)" == "0"
203__DEBUGINFO =
2c02ec05 204!endif
b17c1746
DE
205!if "$(DEBUG_INFO)" == "1"
206__DEBUGINFO = /Zi
2d611b5c 207!endif
b17c1746
DE
208!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
209__DEBUGINFO_1 = /DEBUG
2d611b5c 210!endif
b17c1746
DE
211!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
212__DEBUGINFO_1 =
2d611b5c 213!endif
b17c1746
DE
214!if "$(DEBUG_INFO)" == "0"
215__DEBUGINFO_1 =
2d611b5c 216!endif
b17c1746
DE
217!if "$(DEBUG_INFO)" == "1"
218__DEBUGINFO_1 = /DEBUG
2d611b5c
VS
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"
b17c1746 233__DEBUGINFO_2 = d
2d611b5c
VS
234!endif
235!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
b17c1746 236__DEBUGINFO_2 =
2d611b5c
VS
237!endif
238!if "$(DEBUG_INFO)" == "0"
b17c1746 239__DEBUGINFO_2 =
2d611b5c
VS
240!endif
241!if "$(DEBUG_INFO)" == "1"
b17c1746 242__DEBUGINFO_2 = d
2d611b5c 243!endif
b17c1746
DE
244!if "$(BUILD)" == "debug"
245__OPTIMIZEFLAG = /Od
2d611b5c 246!endif
b17c1746
DE
247!if "$(BUILD)" == "release"
248__OPTIMIZEFLAG = /O2
2d611b5c 249!endif
8c9f8f91
JS
250!if "$(USE_THREADS)" == "0"
251__THREADSFLAG = L
2d611b5c 252!endif
8c9f8f91
JS
253!if "$(USE_THREADS)" == "1"
254__THREADSFLAG = T
2d611b5c 255!endif
8c9f8f91
JS
256!if "$(USE_RTTI)" == "0"
257__RTTIFLAG =
2d611b5c 258!endif
8c9f8f91
JS
259!if "$(USE_RTTI)" == "1"
260__RTTIFLAG = /GR
2d611b5c 261!endif
b17c1746 262!if "$(USE_EXCEPTIONS)" == "0"
8c9f8f91 263__EXCEPTIONSFLAG =
2d611b5c 264!endif
b17c1746 265!if "$(USE_EXCEPTIONS)" == "1"
8c9f8f91 266__EXCEPTIONSFLAG = /EHsc
2d611b5c 267!endif
b17c1746
DE
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
8c9f8f91
JS
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
b17c1746
DE
292!if "$(UNICODE)" == "1"
293__UNICODE_DEFINE_p = /D_UNICODE
294!endif
b17c1746
DE
295!if "$(MONOLITHIC)" == "0"
296__WXLIB_CORE_p = \
c33fae85 297 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
298!endif
299!if "$(MONOLITHIC)" == "0"
c33fae85
RN
300__WXLIB_BASE_p = \
301 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
302!endif
303!if "$(MONOLITHIC)" == "1"
304__WXLIB_MONO_p = \
c33fae85 305 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
306!endif
307!if "$(USE_GUI)" == "1"
9c2d002b 308__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
b17c1746
DE
309!endif
310!if "$(USE_GUI)" == "1"
9c2d002b 311__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
b17c1746
DE
312!endif
313!if "$(USE_GUI)" == "1"
9c2d002b 314__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
315!endif
316!if "$(MSLU)" == "1"
317__UNICOWS_LIB_p = unicows.lib
2d611b5c
VS
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
2d611b5c
VS
329clean:
330 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
331 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 332 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
2d611b5c 333 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
ec08d395
JS
334 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
335 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
c33fae85
RN
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
2d611b5c 339
b17c1746
DE
340$(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
341 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
dd65d8c8 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
b17c1746
DE
343<<
344
2d611b5c 345!if "$(SHARED)" == "1"
c33fae85 346$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
2d611b5c 347 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
dd65d8c8 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
2d611b5c
VS
349<<
350!endif
351
b17c1746 352$(OBJS)\render_sample.res: .\..\..\samples\sample.rc
8c9f8f91 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 $**
b17c1746
DE
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) $**
b14abf14 360