]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/ogl/makefile.gcc
Elliptic arc fix for getting bounds
[wxWidgets.git] / contrib / build / ogl / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22OGLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
23 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) -W -Wall \
25 -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy \
27 $(CPPFLAGS) $(CXXFLAGS)
28OGLDLL_OBJECTS = \
29 $(OBJS)\ogldll_dummy.o \
30 $(OBJS)\ogldll_basic2.o \
31 $(OBJS)\ogldll_canvas.o \
32 $(OBJS)\ogldll_divided.o \
33 $(OBJS)\ogldll_mfutils.o \
34 $(OBJS)\ogldll_oglmisc.o \
35 $(OBJS)\ogldll_basic.o \
36 $(OBJS)\ogldll_composit.o \
37 $(OBJS)\ogldll_drawn.o \
38 $(OBJS)\ogldll_bmpshape.o \
39 $(OBJS)\ogldll_constrnt.o \
40 $(OBJS)\ogldll_lines.o \
41 $(OBJS)\ogldll_ogldiag.o
42OGLLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
43 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) -W -Wall \
45 -I..\..\src\ogl\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
46 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
47OGLLIB_OBJECTS = \
48 $(OBJS)\ogllib_dummy.o \
49 $(OBJS)\ogllib_basic2.o \
50 $(OBJS)\ogllib_canvas.o \
51 $(OBJS)\ogllib_divided.o \
52 $(OBJS)\ogllib_mfutils.o \
53 $(OBJS)\ogllib_oglmisc.o \
54 $(OBJS)\ogllib_basic.o \
55 $(OBJS)\ogllib_composit.o \
56 $(OBJS)\ogllib_drawn.o \
57 $(OBJS)\ogllib_bmpshape.o \
58 $(OBJS)\ogllib_constrnt.o \
59 $(OBJS)\ogllib_lines.o \
60 $(OBJS)\ogllib_ogldiag.o
61
62### Conditionally set variables: ###
63
64ifeq ($(GCC_VERSION),2.95)
65GCCFLAGS = -fvtable-thunks
66endif
67ifeq ($(USE_GUI),0)
68PORTNAME = base
69endif
70ifeq ($(USE_GUI),1)
71PORTNAME = msw
72endif
73ifeq ($(OFFICIAL_BUILD),0)
74VENDORTAG = _$(VENDOR)
75endif
76ifeq ($(OFFICIAL_BUILD),1)
77VENDORTAG =
78endif
79ifeq ($(BUILD),debug)
80ifeq ($(DEBUG_FLAG),default)
81WXDEBUGFLAG = d
82endif
83endif
84ifeq ($(DEBUG_FLAG),1)
85WXDEBUGFLAG = d
86endif
87ifeq ($(UNICODE),1)
88WXUNICODEFLAG = u
89endif
90ifeq ($(WXUNIV),1)
91WXUNIVNAME = univ
92endif
93ifeq ($(SHARED),1)
94WXDLLFLAG = dll
95endif
96ifeq ($(SHARED),0)
97LIBTYPE_SUFFIX = lib
98endif
99ifeq ($(SHARED),1)
100LIBTYPE_SUFFIX = dll
101endif
102ifeq ($(MONOLITHIC),0)
103EXTRALIBS_FOR_BASE =
104endif
105ifeq ($(MONOLITHIC),1)
106EXTRALIBS_FOR_BASE =
107endif
108ifeq ($(SHARED),1)
109__ogldll___depname = \
110 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_gcc$(VENDORTAG).dll
111endif
112ifeq ($(MONOLITHIC),1)
113__WXLIB_MONO_p = \
114 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
115endif
116ifeq ($(USE_GUI),1)
117__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
118endif
119ifeq ($(USE_GUI),1)
120__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
121endif
122ifeq ($(USE_GUI),1)
123__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
124endif
125ifeq ($(MSLU),1)
126__UNICOWS_LIB_p = -lunicows
127endif
128ifeq ($(MONOLITHIC),0)
129__WXLIB_CORE_p = \
130 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
131endif
132ifeq ($(MONOLITHIC),0)
133__WXLIB_BASE_p = \
134 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
135endif
136ifeq ($(SHARED),0)
137__ogllib___depname = \
138 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a
139endif
140ifeq ($(BUILD),debug)
141ifeq ($(DEBUG_INFO),default)
142__DEBUGINFO = -g
143endif
144endif
145ifeq ($(BUILD),release)
146ifeq ($(DEBUG_INFO),default)
147__DEBUGINFO =
148endif
149endif
150ifeq ($(DEBUG_INFO),0)
151__DEBUGINFO =
152endif
153ifeq ($(DEBUG_INFO),1)
154__DEBUGINFO = -g
155endif
156ifeq ($(BUILD),debug)
157__OPTIMIZEFLAG = -O0
158endif
159ifeq ($(BUILD),release)
160__OPTIMIZEFLAG = -O2
161endif
162ifeq ($(USE_EXCEPTIONS),0)
163__EXCEPTIONSFLAG = -fno-rtti
164endif
165ifeq ($(USE_EXCEPTIONS),1)
166__EXCEPTIONSFLAG =
167endif
168ifeq ($(USE_EXCEPTIONS),0)
169__EXCEPTIONSFLAG_0 = -fno-exceptions
170endif
171ifeq ($(USE_EXCEPTIONS),1)
172__EXCEPTIONSFLAG_0 =
173endif
174ifeq ($(WXUNIV),1)
175__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
176endif
177ifeq ($(BUILD),debug)
178ifeq ($(DEBUG_FLAG),default)
179__DEBUG_DEFINE_p = -D__WXDEBUG__
180endif
181endif
182ifeq ($(DEBUG_FLAG),1)
183__DEBUG_DEFINE_p = -D__WXDEBUG__
184endif
185ifeq ($(UNICODE),1)
186__UNICODE_DEFINE_p = -D_UNICODE
187endif
188
189
190all: $(OBJS)
191$(OBJS):
192 -if not exist $(OBJS) mkdir $(OBJS)
193
194### Targets: ###
195
196all: $(__ogldll___depname) $(__ogllib___depname)
197
198clean:
199 -if exist $(OBJS)\*.o del $(OBJS)\*.o
200 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_gcc$(VENDORTAG).dll
201 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a
202 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a
203
204ifeq ($(SHARED),1)
205$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_gcc$(VENDORTAG).dll: $(OGLDLL_OBJECTS)
206 $(CXX) -shared -fPIC -o $@ $(OGLDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
207endif
208
209ifeq ($(SHARED),0)
210$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.a: $(OGLLIB_OBJECTS)
211 if exist $@ del $@
212 ar rcu $@ $(OGLLIB_OBJECTS)
213 ranlib $@
214endif
215
216$(OBJS)\ogldll_dummy.o: ../../src/ogl/../../../src/msw/dummy.cpp
217 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
218
219$(OBJS)\ogldll_basic2.o: ../../src/ogl/basic2.cpp
220 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
221
222$(OBJS)\ogldll_canvas.o: ../../src/ogl/canvas.cpp
223 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
224
225$(OBJS)\ogldll_divided.o: ../../src/ogl/divided.cpp
226 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
227
228$(OBJS)\ogldll_mfutils.o: ../../src/ogl/mfutils.cpp
229 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
230
231$(OBJS)\ogldll_oglmisc.o: ../../src/ogl/oglmisc.cpp
232 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
233
234$(OBJS)\ogldll_basic.o: ../../src/ogl/basic.cpp
235 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
236
237$(OBJS)\ogldll_composit.o: ../../src/ogl/composit.cpp
238 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
239
240$(OBJS)\ogldll_drawn.o: ../../src/ogl/drawn.cpp
241 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
242
243$(OBJS)\ogldll_bmpshape.o: ../../src/ogl/bmpshape.cpp
244 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
245
246$(OBJS)\ogldll_constrnt.o: ../../src/ogl/constrnt.cpp
247 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
248
249$(OBJS)\ogldll_lines.o: ../../src/ogl/lines.cpp
250 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
251
252$(OBJS)\ogldll_ogldiag.o: ../../src/ogl/ogldiag.cpp
253 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
254
255$(OBJS)\ogllib_dummy.o: ../../src/ogl/../../../src/msw/dummy.cpp
256 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
257
258$(OBJS)\ogllib_basic2.o: ../../src/ogl/basic2.cpp
259 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
260
261$(OBJS)\ogllib_canvas.o: ../../src/ogl/canvas.cpp
262 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
263
264$(OBJS)\ogllib_divided.o: ../../src/ogl/divided.cpp
265 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
266
267$(OBJS)\ogllib_mfutils.o: ../../src/ogl/mfutils.cpp
268 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
269
270$(OBJS)\ogllib_oglmisc.o: ../../src/ogl/oglmisc.cpp
271 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
272
273$(OBJS)\ogllib_basic.o: ../../src/ogl/basic.cpp
274 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
275
276$(OBJS)\ogllib_composit.o: ../../src/ogl/composit.cpp
277 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
278
279$(OBJS)\ogllib_drawn.o: ../../src/ogl/drawn.cpp
280 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
281
282$(OBJS)\ogllib_bmpshape.o: ../../src/ogl/bmpshape.cpp
283 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
284
285$(OBJS)\ogllib_constrnt.o: ../../src/ogl/constrnt.cpp
286 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
287
288$(OBJS)\ogllib_lines.o: ../../src/ogl/lines.cpp
289 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
290
291$(OBJS)\ogllib_ogldiag.o: ../../src/ogl/ogldiag.cpp
292 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
293
294.PHONY: all clean
295