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 # =========================================================================
7 !include <../../../build/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 OGLDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include \
24 /I$(LIBDIRNAME) /I..\..\src\ogl\..\..\..\src\tiff \
25 /I..\..\src\ogl\..\..\..\src\jpeg /I..\..\src\ogl\..\..\..\src\png \
26 /I..\..\src\ogl\..\..\..\src\zlib /I..\..\src\ogl\..\..\..\src\regex \
27 /I..\..\src\ogl\..\..\..\src\expat\lib /I..\..\src\ogl\..\..\include \
28 /DWXUSINGDLL /DWXMAKINGDLL_OGL $(CXXFLAGS) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_ogldll.pch"
31 $(OBJS)\ogldll_dummy.obj \
32 $(OBJS)\ogldll_basic2.obj \
33 $(OBJS)\ogldll_canvas.obj \
34 $(OBJS)\ogldll_divided.obj \
35 $(OBJS)\ogldll_mfutils.obj \
36 $(OBJS)\ogldll_oglmisc.obj \
37 $(OBJS)\ogldll_basic.obj \
38 $(OBJS)\ogldll_composit.obj \
39 $(OBJS)\ogldll_drawn.obj \
40 $(OBJS)\ogldll_bmpshape.obj \
41 $(OBJS)\ogldll_constrnt.obj \
42 $(OBJS)\ogldll_lines.obj \
43 $(OBJS)\ogldll_ogldiag.obj
44 OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
46 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb \
47 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
48 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include \
49 /I$(LIBDIRNAME) /I..\..\src\ogl\..\..\..\src\tiff \
50 /I..\..\src\ogl\..\..\..\src\jpeg /I..\..\src\ogl\..\..\..\src\png \
51 /I..\..\src\ogl\..\..\..\src\zlib /I..\..\src\ogl\..\..\..\src\regex \
52 /I..\..\src\ogl\..\..\..\src\expat\lib /I..\..\src\ogl\..\..\include \
53 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_ogllib.pch"
55 $(OBJS)\ogllib_dummy.obj \
56 $(OBJS)\ogllib_basic2.obj \
57 $(OBJS)\ogllib_canvas.obj \
58 $(OBJS)\ogllib_divided.obj \
59 $(OBJS)\ogllib_mfutils.obj \
60 $(OBJS)\ogllib_oglmisc.obj \
61 $(OBJS)\ogllib_basic.obj \
62 $(OBJS)\ogllib_composit.obj \
63 $(OBJS)\ogllib_drawn.obj \
64 $(OBJS)\ogllib_bmpshape.obj \
65 $(OBJS)\ogllib_constrnt.obj \
66 $(OBJS)\ogllib_lines.obj \
67 $(OBJS)\ogllib_ogldiag.obj
69 ### Conditionally set variables: ###
71 !if "$(USE_GUI)" == "0"
74 !if "$(USE_GUI)" == "1"
77 !if "$(OFFICIAL_BUILD)" == "0"
78 VENDORTAG = _$(VENDOR)
80 !if "$(OFFICIAL_BUILD)" == "1"
83 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
86 !if "$(DEBUG_FLAG)" == "1"
89 !if "$(SHARED)" == "1"
92 !if "$(UNICODE)" == "1"
95 !if "$(WXUNIV)" == "1"
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104 !if "$(DEBUG_INFO)" == "0"
107 !if "$(DEBUG_INFO)" == "1"
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO_1 = /DEBUG
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
116 !if "$(DEBUG_INFO)" == "0"
119 !if "$(DEBUG_INFO)" == "1"
120 __DEBUGINFO_1 = /DEBUG
122 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
128 !if "$(DEBUG_INFO)" == "0"
131 !if "$(DEBUG_INFO)" == "1"
134 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
137 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
138 __DEBUGRUNTIME_12 = d
140 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
141 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
143 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
146 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
149 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
150 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
152 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
153 __DEBUG_DEFINE_p = /D__WXDEBUG__
155 !if "$(DEBUG_FLAG)" == "1"
156 __DEBUG_DEFINE_p = /D__WXDEBUG__
158 !if "$(USE_GUI)" == "1"
159 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
161 !if "$(USE_GUI)" == "1"
162 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
164 !if "$(USE_GUI)" == "1"
165 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
167 !if "$(BUILD)" == "debug"
170 !if "$(BUILD)" == "release"
173 !if "$(RUNTIME_LIBS)" == "dynamic"
176 !if "$(RUNTIME_LIBS)" == "static"
179 !if "$(UNICODE)" == "1"
180 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
182 !if "$(MONOLITHIC)" == "0"
183 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
185 !if "$(MONOLITHIC)" == "0"
187 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
189 !if "$(MONOLITHIC)" == "1"
191 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
193 !if "$(WXUNIV)" == "1"
194 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
196 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197 ____DEBUGINFO = /D_DEBUG
199 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200 ____DEBUGINFO = /DNDEBUG
202 !if "$(DEBUG_INFO)" == "0"
203 ____DEBUGINFO = /DNDEBUG
205 !if "$(DEBUG_INFO)" == "1"
206 ____DEBUGINFO = /D_DEBUG
208 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
209 ____DEBUGRUNTIME_11_p = /DNDEBUG
211 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
212 ____DEBUGRUNTIME_11_p = /D_DEBUG
214 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
215 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
217 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
218 ____DEBUGRUNTIME_2_p = /DNDEBUG
220 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
221 ____DEBUGRUNTIME_2_p = /D_DEBUG
223 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
224 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
226 !if "$(SHARED)" == "1"
227 __ogldll___depname = \
228 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
230 !if "$(SHARED)" == "0"
231 __ogllib___depname = \
232 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
238 -if not exist $(OBJS) mkdir $(OBJS)
242 all: $(__ogldll___depname) $(__ogllib___depname)
244 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
247 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
250 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
253 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
256 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
259 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
262 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
265 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
268 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
271 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
274 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
277 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
280 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
283 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
286 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
289 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
292 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
295 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
298 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
301 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
304 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
307 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
310 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
313 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
316 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
319 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
323 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
324 -if exist $(OBJS)\*.res del $(OBJS)\*.res
325 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
326 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
327 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
329 !if "$(SHARED)" == "1"
330 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OGLDLL_OBJECTS) $(OBJS)\ogldll_dummy.obj
331 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
332 $(OGLDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
336 !if "$(SHARED)" == "0"
337 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OGLLIB_OBJECTS) $(OBJS)\ogllib_dummy.obj
339 lib /NOLOGO /OUT:$@ @<<