]> git.saurik.com Git - wxWidgets.git/blame - samples/image/makefile.vc
Update German translation.
[wxWidgets.git] / samples / image / makefile.vc
CommitLineData
d5e7ffcf
KO
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.6 (http://www.bakefile.org)\r
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7!include <../../build/msw/config.vc>\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13### Variables: ###\r
14\r
15WX_RELEASE_NODOT = 29\r
16COMPILER_PREFIX = vc\r
17OBJS = \\r
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)\r
19LIBDIRNAME = \\r
20 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)\r
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23IMAGE_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \\r
24 $(__DEBUGINFO_0) /Fd$(OBJS)\image.pdb $(____DEBUGRUNTIME_2_p) \\r
25 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
26 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
27 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
28 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \\r
29 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) \\r
30 $(CPPFLAGS) $(CXXFLAGS)\r
31IMAGE_OBJECTS = \\r
32 $(OBJS)\image_image.obj \\r
33 $(OBJS)\image_canvas.obj \\r
34 $(OBJS)\image_image.res\r
35\r
36### Conditionally set variables: ###\r
37\r
38!if "$(USE_GUI)" == "0"\r
39PORTNAME = base\r
40!endif\r
41!if "$(USE_GUI)" == "1"\r
42PORTNAME = msw\r
43!endif\r
44!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
45WXDEBUGFLAG = d\r
46!endif\r
47!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
48WXDEBUGFLAG = d\r
49!endif\r
50!if "$(UNICODE)" == "1"\r
51WXUNICODEFLAG = u\r
52!endif\r
53!if "$(WXUNIV)" == "1"\r
54WXUNIVNAME = univ\r
55!endif\r
56!if "$(TARGET_CPU)" == "AMD64"\r
57DIR_SUFFIX_CPU = _amd64\r
58!endif\r
59!if "$(TARGET_CPU)" == "IA64"\r
60DIR_SUFFIX_CPU = _ia64\r
61!endif\r
62!if "$(TARGET_CPU)" == "amd64"\r
63DIR_SUFFIX_CPU = _amd64\r
64!endif\r
65!if "$(TARGET_CPU)" == "ia64"\r
66DIR_SUFFIX_CPU = _ia64\r
67!endif\r
68!if "$(SHARED)" == "1"\r
69WXDLLFLAG = dll\r
70!endif\r
71!if "$(SHARED)" == "0"\r
72LIBTYPE_SUFFIX = lib\r
73!endif\r
74!if "$(SHARED)" == "1"\r
75LIBTYPE_SUFFIX = dll\r
76!endif\r
77!if "$(TARGET_CPU)" == "AMD64"\r
78LINK_TARGET_CPU = /MACHINE:AMD64\r
79!endif\r
80!if "$(TARGET_CPU)" == "IA64"\r
81LINK_TARGET_CPU = /MACHINE:IA64\r
82!endif\r
83!if "$(TARGET_CPU)" == "amd64"\r
84LINK_TARGET_CPU = /MACHINE:AMD64\r
85!endif\r
86!if "$(TARGET_CPU)" == "ia64"\r
87LINK_TARGET_CPU = /MACHINE:IA64\r
88!endif\r
89!if "$(MONOLITHIC)" == "0"\r
90EXTRALIBS_FOR_BASE = \r
91!endif\r
92!if "$(MONOLITHIC)" == "1"\r
93EXTRALIBS_FOR_BASE = \r
94!endif\r
95!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
96__DEBUGINFO_0 = /Zi\r
97!endif\r
98!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
99__DEBUGINFO_0 = \r
100!endif\r
101!if "$(DEBUG_INFO)" == "0"\r
102__DEBUGINFO_0 = \r
103!endif\r
104!if "$(DEBUG_INFO)" == "1"\r
105__DEBUGINFO_0 = /Zi\r
106!endif\r
107!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
108__DEBUGINFO_1 = /DEBUG\r
109!endif\r
110!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
111__DEBUGINFO_1 = \r
112!endif\r
113!if "$(DEBUG_INFO)" == "0"\r
114__DEBUGINFO_1 = \r
115!endif\r
116!if "$(DEBUG_INFO)" == "1"\r
117__DEBUGINFO_1 = /DEBUG\r
118!endif\r
119!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
120____DEBUGRUNTIME_2_p = /D_DEBUG\r
121!endif\r
122!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
123____DEBUGRUNTIME_2_p = \r
124!endif\r
125!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
126____DEBUGRUNTIME_2_p = \r
127!endif\r
128!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
129____DEBUGRUNTIME_2_p = /D_DEBUG\r
130!endif\r
131!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
132____DEBUGRUNTIME_2_p_1 = /d _DEBUG\r
133!endif\r
134!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
135____DEBUGRUNTIME_2_p_1 = \r
136!endif\r
137!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
138____DEBUGRUNTIME_2_p_1 = \r
139!endif\r
140!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
141____DEBUGRUNTIME_2_p_1 = /d _DEBUG\r
142!endif\r
143!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
144__DEBUGRUNTIME_3 = d\r
145!endif\r
146!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
147__DEBUGRUNTIME_3 = \r
148!endif\r
149!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
150__DEBUGRUNTIME_3 = \r
151!endif\r
152!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
153__DEBUGRUNTIME_3 = d\r
154!endif\r
155!if "$(BUILD)" == "debug"\r
156__OPTIMIZEFLAG_4 = /Od\r
157!endif\r
158!if "$(BUILD)" == "release"\r
159__OPTIMIZEFLAG_4 = /O2\r
160!endif\r
161!if "$(USE_THREADS)" == "0"\r
162__THREADSFLAG_7 = L\r
163!endif\r
164!if "$(USE_THREADS)" == "1"\r
165__THREADSFLAG_7 = T\r
166!endif\r
167!if "$(RUNTIME_LIBS)" == "dynamic"\r
168__RUNTIME_LIBS_8 = D\r
169!endif\r
170!if "$(RUNTIME_LIBS)" == "static"\r
171__RUNTIME_LIBS_8 = $(__THREADSFLAG_7)\r
172!endif\r
173!if "$(USE_RTTI)" == "0"\r
174__RTTIFLAG_9 = \r
175!endif\r
176!if "$(USE_RTTI)" == "1"\r
177__RTTIFLAG_9 = /GR\r
178!endif\r
179!if "$(USE_EXCEPTIONS)" == "0"\r
180__EXCEPTIONSFLAG_10 = \r
181!endif\r
182!if "$(USE_EXCEPTIONS)" == "1"\r
183__EXCEPTIONSFLAG_10 = /EHsc\r
184!endif\r
185!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
186__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
187!endif\r
188!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
189__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
190!endif\r
191!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
192__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r
193!endif\r
194!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
195__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r
196!endif\r
197!if "$(WXUNIV)" == "1"\r
198__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r
199!endif\r
200!if "$(WXUNIV)" == "1"\r
201__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r
202!endif\r
203!if "$(DEBUG_FLAG)" == "0"\r
204__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r
205!endif\r
206!if "$(DEBUG_FLAG)" == "0"\r
207__DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r
208!endif\r
209!if "$(USE_EXCEPTIONS)" == "0"\r
210__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r
211!endif\r
212!if "$(USE_EXCEPTIONS)" == "0"\r
213__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r
214!endif\r
215!if "$(USE_RTTI)" == "0"\r
216__RTTI_DEFINE_p = /DwxNO_RTTI\r
217!endif\r
218!if "$(USE_RTTI)" == "0"\r
219__RTTI_DEFINE_p_1 = /d wxNO_RTTI\r
220!endif\r
221!if "$(USE_THREADS)" == "0"\r
222__THREAD_DEFINE_p = /DwxNO_THREADS\r
223!endif\r
224!if "$(USE_THREADS)" == "0"\r
225__THREAD_DEFINE_p_1 = /d wxNO_THREADS\r
226!endif\r
227!if "$(UNICODE)" == "0"\r
228__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r
229!endif\r
230!if "$(UNICODE)" == "1"\r
231__UNICODE_DEFINE_p = /D_UNICODE\r
232!endif\r
233!if "$(UNICODE)" == "0"\r
234__UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r
235!endif\r
236!if "$(UNICODE)" == "1"\r
237__UNICODE_DEFINE_p_1 = /d _UNICODE\r
238!endif\r
239!if "$(MSLU)" == "1"\r
240__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r
241!endif\r
242!if "$(MSLU)" == "1"\r
243__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r
244!endif\r
245!if "$(USE_GDIPLUS)" == "1"\r
246__GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1\r
247!endif\r
248!if "$(USE_GDIPLUS)" == "1"\r
249__GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1\r
250!endif\r
251!if "$(SHARED)" == "1"\r
252__DLLFLAG_p = /DWXUSINGDLL\r
253!endif\r
254!if "$(SHARED)" == "1"\r
255__DLLFLAG_p_1 = /d WXUSINGDLL\r
256!endif\r
257!if "$(MONOLITHIC)" == "0"\r
258__WXLIB_CORE_p = \\r
259 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
260!endif\r
261!if "$(MONOLITHIC)" == "0"\r
262__WXLIB_BASE_p = \\r
263 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
264!endif\r
265!if "$(MONOLITHIC)" == "1"\r
266__WXLIB_MONO_p = \\r
267 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
268!endif\r
269!if "$(USE_GUI)" == "1"\r
270__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
271!endif\r
272!if "$(USE_GUI)" == "1"\r
273__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
274!endif\r
275!if "$(USE_GUI)" == "1"\r
276__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
277!endif\r
278!if "$(MSLU)" == "1"\r
279__UNICOWS_LIB_p = unicows.lib\r
280!endif\r
281!if "$(USE_GDIPLUS)" == "1"\r
282__GDIPLUS_LIB_p = gdiplus.lib\r
283!endif\r
284\r
285\r
286all: $(OBJS)\r
287$(OBJS):\r
288 -if not exist $(OBJS) mkdir $(OBJS)\r
289\r
290### Targets: ###\r
291\r
292all: $(OBJS)\image.exe data\r
293\r
294clean: \r
295 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
296 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
297 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
298 -if exist $(OBJS)\image.exe del $(OBJS)\image.exe\r
299 -if exist $(OBJS)\image.ilk del $(OBJS)\image.ilk\r
300 -if exist $(OBJS)\image.pdb del $(OBJS)\image.pdb\r
301\r
302$(OBJS)\image.exe: $(IMAGE_OBJECTS) $(OBJS)\image_image.res\r
303 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\image.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<<\r
304 $(IMAGE_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) $(__GDIPLUS_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 wininet.lib\r
305<<\r
306\r
307data: \r
308 if not exist $(OBJS) mkdir $(OBJS)\r
309 for %f in (horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse_ag.pnm horse_rg.pnm horse.tif horse.tga horse.xpm horse.cur horse.ico horse3.ani smile.xbm toucan.png cmyk.jpg) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r
310\r
311$(OBJS)\image_image.obj: .\image.cpp\r
312 $(CXX) /c /nologo /TP /Fo$@ $(IMAGE_CXXFLAGS) .\image.cpp\r
313\r
314$(OBJS)\image_canvas.obj: .\canvas.cpp\r
315 $(CXX) /c /nologo /TP /Fo$@ $(IMAGE_CXXFLAGS) .\canvas.cpp\r
316\r
317$(OBJS)\image_image.res: .\image.rc\r
318 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) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\image.rc\r
319\r