]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/ogl/makefile.wat
removed old expat
[wxWidgets.git] / contrib / build / ogl / makefile.wat
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include ../../../build/config.wat
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37VENDORTAG =
38!ifeq OFFICIAL_BUILD 0
39VENDORTAG = _$(VENDOR)
40!endif
41!ifeq OFFICIAL_BUILD 1
42VENDORTAG =
43!endif
44WXDEBUGFLAG =
45!ifeq BUILD debug
46WXDEBUGFLAG = d
47!endif
48WXDLLFLAG =
49!ifeq SHARED 1
50WXDLLFLAG = dll
51!endif
52WXUNICODEFLAG =
53!ifeq UNICODE 1
54WXUNICODEFLAG = u
55!endif
56WXUNIVNAME =
57!ifeq WXUNIV 1
58WXUNIVNAME = univ
59!endif
60__DEBUGFLAG =
61!ifeq BUILD debug
62__DEBUGFLAG = -d2
63!endif
64!ifeq BUILD release
65__DEBUGFLAG = -d0
66!endif
67__DEBUGFLAG_1 =
68!ifeq BUILD debug
69__DEBUGFLAG_1 = debug all
70!endif
71!ifeq BUILD release
72__DEBUGFLAG_1 =
73!endif
74__DEBUG_DEFINE_p =
75!ifeq BUILD debug
76__DEBUG_DEFINE_p = -d__WXDEBUG__
77!endif
78__OPTIMIZEFLAG =
79!ifeq BUILD debug
80__OPTIMIZEFLAG = -od
81!endif
82!ifeq BUILD release
83__OPTIMIZEFLAG = -ot -ox
84!endif
85__RUNTIME_LIBS =
86!ifeq RUNTIME_LIBS dynamic
87__RUNTIME_LIBS = -br
88!endif
89!ifeq RUNTIME_LIBS static
90__RUNTIME_LIBS =
91!endif
92__UNICODE_DEFINE_p =
93!ifeq UNICODE 1
94__UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
95!endif
96__WXLIB_BASE_p =
97!ifeq MONOLITHIC 0
98__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
99!endif
100__WXLIB_CORE_p =
101!ifeq MONOLITHIC 0
102__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
103!endif
104__WXLIB_MONO_p =
105!ifeq MONOLITHIC 1
106__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
107!endif
108__WXUNIV_DEFINE_p =
109!ifeq WXUNIV 1
110__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
111!endif
112__ogldll___depname =
113!ifeq SHARED 1
114__ogldll___depname = ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_wat$(VENDORTAG).dll
115!endif
116__ogllib___depname =
117!ifeq SHARED 0
118__ogllib___depname = ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
119!endif
120
121### Variables: ###
122
123OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
124OGLDLL_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_ogldll.pch -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\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_OGL -dwxUSE_DEPRECATED=0 $(CXXFLAGS)
125OGLLIB_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_ogllib.pch $(__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\..\..\include $(CXXFLAGS)
126
127
128
129all : $(OBJS)
130$(OBJS) :
131 -if not exist $(OBJS) mkdir $(OBJS)
132
133### Targets: ###
134
135all : .SYMBOLIC $(__ogldll___depname) $(__ogllib___depname)
136
137$(OBJS)\ogldll_basic.obj : .AUTODEPEND ../../src/ogl\basic.cpp
138 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
139
140$(OBJS)\ogldll_basic2.obj : .AUTODEPEND ../../src/ogl\basic2.cpp
141 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
142
143$(OBJS)\ogldll_bmpshape.obj : .AUTODEPEND ../../src/ogl\bmpshape.cpp
144 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
145
146$(OBJS)\ogldll_canvas.obj : .AUTODEPEND ../../src/ogl\canvas.cpp
147 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
148
149$(OBJS)\ogldll_composit.obj : .AUTODEPEND ../../src/ogl\composit.cpp
150 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
151
152$(OBJS)\ogldll_constrnt.obj : .AUTODEPEND ../../src/ogl\constrnt.cpp
153 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
154
155$(OBJS)\ogldll_divided.obj : .AUTODEPEND ../../src/ogl\divided.cpp
156 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
157
158$(OBJS)\ogldll_drawn.obj : .AUTODEPEND ../../src/ogl\drawn.cpp
159 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
160
161$(OBJS)\ogldll_dummy.obj : .AUTODEPEND ../../src/ogl\..\..\..\src\msw\dummy.cpp
162 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
163
164$(OBJS)\ogldll_lines.obj : .AUTODEPEND ../../src/ogl\lines.cpp
165 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
166
167$(OBJS)\ogldll_mfutils.obj : .AUTODEPEND ../../src/ogl\mfutils.cpp
168 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
169
170$(OBJS)\ogldll_ogldiag.obj : .AUTODEPEND ../../src/ogl\ogldiag.cpp
171 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
172
173$(OBJS)\ogldll_oglmisc.obj : .AUTODEPEND ../../src/ogl\oglmisc.cpp
174 $(CXX) -zq -fo=$^@ $(OGLDLL_CXXFLAGS) $<
175
176$(OBJS)\ogllib_basic.obj : .AUTODEPEND ../../src/ogl\basic.cpp
177 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
178
179$(OBJS)\ogllib_basic2.obj : .AUTODEPEND ../../src/ogl\basic2.cpp
180 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
181
182$(OBJS)\ogllib_bmpshape.obj : .AUTODEPEND ../../src/ogl\bmpshape.cpp
183 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
184
185$(OBJS)\ogllib_canvas.obj : .AUTODEPEND ../../src/ogl\canvas.cpp
186 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
187
188$(OBJS)\ogllib_composit.obj : .AUTODEPEND ../../src/ogl\composit.cpp
189 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
190
191$(OBJS)\ogllib_constrnt.obj : .AUTODEPEND ../../src/ogl\constrnt.cpp
192 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
193
194$(OBJS)\ogllib_divided.obj : .AUTODEPEND ../../src/ogl\divided.cpp
195 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
196
197$(OBJS)\ogllib_drawn.obj : .AUTODEPEND ../../src/ogl\drawn.cpp
198 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
199
200$(OBJS)\ogllib_dummy.obj : .AUTODEPEND ../../src/ogl\..\..\..\src\msw\dummy.cpp
201 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
202
203$(OBJS)\ogllib_lines.obj : .AUTODEPEND ../../src/ogl\lines.cpp
204 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
205
206$(OBJS)\ogllib_mfutils.obj : .AUTODEPEND ../../src/ogl\mfutils.cpp
207 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
208
209$(OBJS)\ogllib_ogldiag.obj : .AUTODEPEND ../../src/ogl\ogldiag.cpp
210 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
211
212$(OBJS)\ogllib_oglmisc.obj : .AUTODEPEND ../../src/ogl\oglmisc.cpp
213 $(CXX) -zq -fo=$^@ $(OGLLIB_CXXFLAGS) $<
214
215clean : .SYMBOLIC
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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_wat$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(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
223
224!ifeq SHARED 1
225..\..\src\ogl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(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 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 +$^@
237!endif
238
239!ifeq SHARED 0
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
244!endif