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.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
41 !ifeq OFFICIAL_BUILD 1
69 __DEBUGFLAG_1 = debug all
76 __DEBUG_DEFINE_p = -d__WXDEBUG__
83 __OPTIMIZEFLAG = -ot -ox
86 !ifeq RUNTIME_LIBS dynamic
89 !ifeq RUNTIME_LIBS static
94 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
98 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
102 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
106 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
110 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
114 __ogldll___depname = ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_wat$(VENDORTAG).dll
118 __ogllib___depname = ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
123 OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
124 OGLDLL_CXXFLAGS = $(CPPFLAGS) -bd $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\ogl\..\..\..\include -i=..\..\src\ogl\..\..\..\lib\wat_$(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 -i=..\..\src\ogl\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_OGL -dwxUSE_DEPRECATED=0 $(CXXFLAGS) /fh=$(OBJS)\wxprec_ogldll.pch
125 OGLLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\ogl\..\..\..\include -i=..\..\src\ogl\..\..\..\lib\wat_$(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 -i=..\..\src\ogl\..\..\include $(CXXFLAGS) /fh=$(OBJS)\wxprec_ogllib.pch
131 -if not exist $(OBJS) mkdir $(OBJS)
135 all : .SYMBOLIC $(__ogldll___depname) $(__ogllib___depname)
137 $(OBJS)\ogldll_basic.obj : .AUTODEPEND ../../src/ogl\basic.cpp
138 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
140 $(OBJS)\ogldll_basic2.obj : .AUTODEPEND ../../src/ogl\basic2.cpp
141 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
143 $(OBJS)\ogldll_bmpshape.obj : .AUTODEPEND ../../src/ogl\bmpshape.cpp
144 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
146 $(OBJS)\ogldll_canvas.obj : .AUTODEPEND ../../src/ogl\canvas.cpp
147 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
149 $(OBJS)\ogldll_composit.obj : .AUTODEPEND ../../src/ogl\composit.cpp
150 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
152 $(OBJS)\ogldll_constrnt.obj : .AUTODEPEND ../../src/ogl\constrnt.cpp
153 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
155 $(OBJS)\ogldll_divided.obj : .AUTODEPEND ../../src/ogl\divided.cpp
156 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
158 $(OBJS)\ogldll_drawn.obj : .AUTODEPEND ../../src/ogl\drawn.cpp
159 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
161 $(OBJS)\ogldll_dummy.obj : .AUTODEPEND ../../src/ogl\..\..\..\src\msw\dummy.cpp
162 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
164 $(OBJS)\ogldll_lines.obj : .AUTODEPEND ../../src/ogl\lines.cpp
165 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
167 $(OBJS)\ogldll_mfutils.obj : .AUTODEPEND ../../src/ogl\mfutils.cpp
168 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
170 $(OBJS)\ogldll_ogldiag.obj : .AUTODEPEND ../../src/ogl\ogldiag.cpp
171 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
173 $(OBJS)\ogldll_oglmisc.obj : .AUTODEPEND ../../src/ogl\oglmisc.cpp
174 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
176 $(OBJS)\ogllib_basic.obj : .AUTODEPEND ../../src/ogl\basic.cpp
177 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
179 $(OBJS)\ogllib_basic2.obj : .AUTODEPEND ../../src/ogl\basic2.cpp
180 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
182 $(OBJS)\ogllib_bmpshape.obj : .AUTODEPEND ../../src/ogl\bmpshape.cpp
183 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
185 $(OBJS)\ogllib_canvas.obj : .AUTODEPEND ../../src/ogl\canvas.cpp
186 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
188 $(OBJS)\ogllib_composit.obj : .AUTODEPEND ../../src/ogl\composit.cpp
189 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
191 $(OBJS)\ogllib_constrnt.obj : .AUTODEPEND ../../src/ogl\constrnt.cpp
192 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
194 $(OBJS)\ogllib_divided.obj : .AUTODEPEND ../../src/ogl\divided.cpp
195 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
197 $(OBJS)\ogllib_drawn.obj : .AUTODEPEND ../../src/ogl\drawn.cpp
198 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
200 $(OBJS)\ogllib_dummy.obj : .AUTODEPEND ../../src/ogl\..\..\..\src\msw\dummy.cpp
201 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
203 $(OBJS)\ogllib_lines.obj : .AUTODEPEND ../../src/ogl\lines.cpp
204 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
206 $(OBJS)\ogllib_mfutils.obj : .AUTODEPEND ../../src/ogl\mfutils.cpp
207 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
209 $(OBJS)\ogllib_ogldiag.obj : .AUTODEPEND ../../src/ogl\ogldiag.cpp
210 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
212 $(OBJS)\ogllib_oglmisc.obj : .AUTODEPEND ../../src/ogl\oglmisc.cpp
213 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
216 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
217 -if exist $(OBJS)\*.res del $(OBJS)\*.res
218 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
219 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
220 -if exist ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_wat$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_wat$(VENDORTAG).dll
221 -if exist ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
222 -if exist ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
225 ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_wat$(VENDORTAG).dll : $(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
226 @%create $(OBJS)\ogldll.lbc
227 @%append $(OBJS)\ogldll.lbc option quiet
228 @%append $(OBJS)\ogldll.lbc name $^@
229 @%append $(OBJS)\ogldll.lbc option incremental
230 @%append $(OBJS)\ogldll.lbc $(LDFLAGS) $(__DEBUGFLAG_1) libpath ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
231 @for %i in ( $(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) do @%append $(OBJS)\ogldll.lbc file %i
232 @for %i in ( $(__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)) do @%append $(OBJS)\ogldll.lbc library %i
233 @%append $(OBJS)\ogldll.lbc
234 @%append $(OBJS)\ogldll.lbc system nt_dll
235 wlink @$(OBJS)\ogldll.lbc
236 wlib -q -n -b ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib +$^@
240 ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib : $(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
241 @%create $(OBJS)\ogllib.lbc
242 @for %i in ( $(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) do @%append $(OBJS)\ogllib.lbc +%i
243 wlib -q -p2048 -n -b $^@ @$(OBJS)\ogllib.lbc