]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/ogl/makefile.vc
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / build / ogl / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1 (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
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17OGLDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
18 $(__DEBUGINFO_2) \
19 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb \
20 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
21 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
22 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
23 /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL \
24 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
25 /Fp"$(OBJS)\wxprec_ogldll.pch" $(CPPFLAGS) $(CXXFLAGS)
26OGLDLL_OBJECTS = \
27 $(OBJS)\ogldll_dummy.obj \
28 $(OBJS)\ogldll_basic2.obj \
29 $(OBJS)\ogldll_canvas.obj \
30 $(OBJS)\ogldll_divided.obj \
31 $(OBJS)\ogldll_mfutils.obj \
32 $(OBJS)\ogldll_oglmisc.obj \
33 $(OBJS)\ogldll_basic.obj \
34 $(OBJS)\ogldll_composit.obj \
35 $(OBJS)\ogldll_drawn.obj \
36 $(OBJS)\ogldll_bmpshape.obj \
37 $(OBJS)\ogldll_constrnt.obj \
38 $(OBJS)\ogldll_lines.obj \
39 $(OBJS)\ogldll_ogldiag.obj
40OGLLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
41 $(__DEBUGINFO_2) \
42 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb \
43 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
44 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
45 /I..\..\src\ogl\..\..\..\include /I$(SETUPHDIR) /W4 \
46 /I..\..\src\ogl\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
47 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch" $(CPPFLAGS) $(CXXFLAGS)
48OGLLIB_OBJECTS = \
49 $(OBJS)\ogllib_dummy.obj \
50 $(OBJS)\ogllib_basic2.obj \
51 $(OBJS)\ogllib_canvas.obj \
52 $(OBJS)\ogllib_divided.obj \
53 $(OBJS)\ogllib_mfutils.obj \
54 $(OBJS)\ogllib_oglmisc.obj \
55 $(OBJS)\ogllib_basic.obj \
56 $(OBJS)\ogllib_composit.obj \
57 $(OBJS)\ogllib_drawn.obj \
58 $(OBJS)\ogllib_bmpshape.obj \
59 $(OBJS)\ogllib_constrnt.obj \
60 $(OBJS)\ogllib_lines.obj \
61 $(OBJS)\ogllib_ogldiag.obj
62SETUPHDIR = \
63 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
64
65### Conditionally set variables: ###
66
67!if "$(SHARED)" == "0"
68LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_lib$(CFG)
69!endif
70!if "$(SHARED)" == "1"
71LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\vc_dll$(CFG)
72!endif
73!if "$(USE_GUI)" == "0"
74PORTNAME = base
75!endif
76!if "$(USE_GUI)" == "1"
77PORTNAME = msw
78!endif
79!if "$(OFFICIAL_BUILD)" == "0"
80VENDORTAG = _$(VENDOR)
81!endif
82!if "$(OFFICIAL_BUILD)" == "1"
83VENDORTAG =
84!endif
85!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
86WXDEBUGFLAG = d
87!endif
88!if "$(DEBUG_FLAG)" == "1"
89WXDEBUGFLAG = d
90!endif
91!if "$(SHARED)" == "1"
92WXDLLFLAG = dll
93!endif
94!if "$(UNICODE)" == "1"
95WXUNICODEFLAG = u
96!endif
97!if "$(WXUNIV)" == "1"
98WXUNIVNAME = univ
99!endif
100!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
101__DEBUGINFO = d
102!endif
103!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104__DEBUGINFO =
105!endif
106!if "$(DEBUG_INFO)" == "0"
107__DEBUGINFO =
108!endif
109!if "$(DEBUG_INFO)" == "1"
110__DEBUGINFO = d
111!endif
112!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
113__DEBUGINFO_1 = /DEBUG
114!endif
115!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
116__DEBUGINFO_1 =
117!endif
118!if "$(DEBUG_INFO)" == "0"
119__DEBUGINFO_1 =
120!endif
121!if "$(DEBUG_INFO)" == "1"
122__DEBUGINFO_1 = /DEBUG
123!endif
124!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125__DEBUGINFO_2 = /Zi
126!endif
127!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
128__DEBUGINFO_2 =
129!endif
130!if "$(DEBUG_INFO)" == "0"
131__DEBUGINFO_2 =
132!endif
133!if "$(DEBUG_INFO)" == "1"
134__DEBUGINFO_2 = /Zi
135!endif
136!if "$(DEBUG_RUNTIME_LIBS)" == "0"
137__DEBUGRUNTIME_15 =
138!endif
139!if "$(DEBUG_RUNTIME_LIBS)" == "1"
140__DEBUGRUNTIME_15 = d
141!endif
142!if "$(DEBUG_RUNTIME_LIBS)" == "default"
143__DEBUGRUNTIME_15 = $(__DEBUGINFO)
144!endif
145!if "$(DEBUG_RUNTIME_LIBS)" == "0"
146__DEBUGRUNTIME_3 =
147!endif
148!if "$(DEBUG_RUNTIME_LIBS)" == "1"
149__DEBUGRUNTIME_3 = d
150!endif
151!if "$(DEBUG_RUNTIME_LIBS)" == "default"
152__DEBUGRUNTIME_3 = $(__DEBUGINFO)
153!endif
154!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
155__DEBUG_DEFINE_p = /D__WXDEBUG__
156!endif
157!if "$(DEBUG_FLAG)" == "1"
158__DEBUG_DEFINE_p = /D__WXDEBUG__
159!endif
160!if "$(USE_EXCEPTIONS)" == "0"
161__EXCEPTIONSFLAG =
162!endif
163!if "$(USE_EXCEPTIONS)" == "1"
164__EXCEPTIONSFLAG = /GR
165!endif
166!if "$(USE_EXCEPTIONS)" == "0"
167__EXCEPTIONSFLAG_0 =
168!endif
169!if "$(USE_EXCEPTIONS)" == "1"
170__EXCEPTIONSFLAG_0 = /GX
171!endif
172!if "$(USE_GUI)" == "1"
173__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
174!endif
175!if "$(USE_GUI)" == "1"
176__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
177!endif
178!if "$(USE_GUI)" == "1"
179__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
180!endif
181!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
182__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
183!endif
184!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
185__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
186!endif
187!if "$(BUILD)" == "debug"
188__OPTIMIZEFLAG = /Od
189!endif
190!if "$(BUILD)" == "release"
191__OPTIMIZEFLAG = /O2
192!endif
193!if "$(RUNTIME_LIBS)" == "dynamic"
194__RUNTIME_LIBS = D
195!endif
196!if "$(RUNTIME_LIBS)" == "static"
197__RUNTIME_LIBS = T
198!endif
199!if "$(UNICODE)" == "1"
200__UNICODE_DEFINE_p = /D_UNICODE
201!endif
202!if "$(MSLU)" == "1"
203__UNICOWS_LIB_p = unicows.lib
204!endif
205!if "$(MONOLITHIC)" == "0"
206__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
207!endif
208!if "$(MONOLITHIC)" == "0"
209__WXLIB_CORE_p = \
210 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
211!endif
212!if "$(MONOLITHIC)" == "1"
213__WXLIB_MONO_p = \
214 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
215!endif
216!if "$(WXUNIV)" == "1"
217__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
218!endif
219!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
220____DEBUGINFO = /D_DEBUG
221!endif
222!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
223____DEBUGINFO =
224!endif
225!if "$(DEBUG_INFO)" == "0"
226____DEBUGINFO =
227!endif
228!if "$(DEBUG_INFO)" == "1"
229____DEBUGINFO = /D_DEBUG
230!endif
231!if "$(DEBUG_RUNTIME_LIBS)" == "0"
232____DEBUGRUNTIME_14_p =
233!endif
234!if "$(DEBUG_RUNTIME_LIBS)" == "1"
235____DEBUGRUNTIME_14_p = /D_DEBUG
236!endif
237!if "$(DEBUG_RUNTIME_LIBS)" == "default"
238____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
239!endif
240!if "$(DEBUG_RUNTIME_LIBS)" == "0"
241____DEBUGRUNTIME_2_p =
242!endif
243!if "$(DEBUG_RUNTIME_LIBS)" == "1"
244____DEBUGRUNTIME_2_p = /D_DEBUG
245!endif
246!if "$(DEBUG_RUNTIME_LIBS)" == "default"
247____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
248!endif
249!if "$(SHARED)" == "1"
250__ogldll___depname = \
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
252!endif
253!if "$(SHARED)" == "0"
254__ogllib___depname = \
255 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
256!endif
257
258
259all: $(OBJS)
260$(OBJS):
261 -if not exist $(OBJS) mkdir $(OBJS)
262
263### Targets: ###
264
265all: $(__ogldll___depname) $(__ogllib___depname)
266
267$(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
269
270$(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
272
273$(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
275
276$(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
278
279$(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
281
282$(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
284
285$(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
287
288$(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
290
291$(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
293
294$(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
296
297$(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
299
300$(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
302
303$(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
305
306$(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
308
309$(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
311
312$(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
314
315$(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
317
318$(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
320
321$(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
323
324$(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
326
327$(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
329
330$(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
331 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
332
333$(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
335
336$(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
338
339$(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
341
342$(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
344
345clean:
346 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
347 -if exist $(OBJS)\*.res del $(OBJS)\*.res
348 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
349 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).ilk
350 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb
351 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
352 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
353
354!if "$(SHARED)" == "1"
355$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
356 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
357 $(OGLDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
358<<
359!endif
360
361!if "$(SHARED)" == "0"
362$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
363 if exist $@ del $@
364 lib /NOLOGO /OUT:$@ @<<
365 $(OGLLIB_OBJECTS)
366<<
367!endif