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 # -------------------------------------------------------------------------
15 OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
16 OGLDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG_3) /DWIN32 $(__DEBUGFLAG) /Fd..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb $(____DEBUGFLAG) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include /I..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I..\..\src\ogl\..\..\..\src\tiff /I..\..\src\ogl\..\..\..\src\jpeg /I..\..\src\ogl\..\..\..\src\png /I..\..\src\ogl\..\..\..\src\zlib /I..\..\src\ogl\..\..\..\src\regex /I..\..\src\ogl\..\..\..\src\expat\lib /Fp$(OBJS)\wxprec_ogldll.pch /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL $(CXXFLAGS) /Yuwx/wxprec.h
17 OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG_3) /DWIN32 $(__DEBUGFLAG) /Fd..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb $(____DEBUGFLAG) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include /I..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I..\..\src\ogl\..\..\..\src\tiff /I..\..\src\ogl\..\..\..\src\jpeg /I..\..\src\ogl\..\..\..\src\png /I..\..\src\ogl\..\..\..\src\zlib /I..\..\src\ogl\..\..\..\src\regex /I..\..\src\ogl\..\..\..\src\expat\lib /Fp$(OBJS)\wxprec_ogllib.pch /I..\..\src\ogl\..\..\include $(CXXFLAGS) /Yuwx/wxprec.h
19 ### Conditionally set variables: ###
21 !if "$(USE_GUI)" == "0"
24 !if "$(USE_GUI)" == "1"
27 !if "$(OFFICIAL_BUILD)" == "0"
28 VENDORTAG = _$(VENDOR)
30 !if "$(OFFICIAL_BUILD)" == "1"
33 !if "$(BUILD)" == "debug"
36 !if "$(SHARED)" == "1"
39 !if "$(UNICODE)" == "1"
42 !if "$(WXUNIV)" == "1"
45 !if "$(BUILD)" == "debug"
48 !if "$(BUILD)" == "release"
51 !if "$(BUILD)" == "debug"
52 __DEBUGFLAG_1 = /DEBUG
54 !if "$(BUILD)" == "release"
57 !if "$(BUILD)" == "debug"
60 !if "$(BUILD)" == "release"
63 !if "$(BUILD)" == "debug"
64 __DEBUG_DEFINE_p = /D__WXDEBUG__
66 !if "$(BUILD)" == "debug"
69 !if "$(BUILD)" == "release"
72 !if "$(RUNTIME_LIBS)" == "dynamic"
75 !if "$(RUNTIME_LIBS)" == "static"
78 !if "$(UNICODE)" == "1"
79 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
81 !if "$(MONOLITHIC)" == "0"
82 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
84 !if "$(MONOLITHIC)" == "0"
85 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
87 !if "$(MONOLITHIC)" == "1"
88 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
90 !if "$(WXUNIV)" == "1"
91 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
93 !if "$(BUILD)" == "debug"
94 ____DEBUGFLAG = /D_DEBUG
96 !if "$(BUILD)" == "release"
97 ____DEBUGFLAG = /DNDEBUG
99 !if "$(SHARED)" == "1"
100 __ogldll___depname = ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
102 !if "$(SHARED)" == "0"
103 __ogllib___depname = ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
109 -if not exist $(OBJS) mkdir $(OBJS)
113 all: $(__ogldll___depname) $(__ogllib___depname)
115 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
116 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
118 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
119 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
121 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
122 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
124 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
125 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
127 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
128 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
130 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
131 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
133 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
134 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
136 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
137 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
139 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
140 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
142 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
143 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
145 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
146 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
148 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
149 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
151 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
152 $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $**
154 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
155 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
157 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
158 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
160 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
161 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
163 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
164 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
166 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
167 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
169 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
170 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
172 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
173 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
175 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
176 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
178 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
179 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
181 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
182 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
184 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
185 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
187 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
188 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
190 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
191 $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $**
194 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
195 -if exist $(OBJS)\*.res del $(OBJS)\*.res
196 -if exist ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll
197 -if exist ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
198 -if exist ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
200 !if "$(SHARED)" == "1"
201 ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj
202 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) @<<
203 $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib 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:..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
207 !if "$(SHARED)" == "0"
208 ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj
210 lib /NOLOGO /OUT:$@ @<<
211 $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj