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