]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/deprecated/makefile.gcc
[ 1577675 ] Fix for GTK warnings in wxNotebook::DoRemovePage
[wxWidgets.git] / contrib / build / deprecated / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 CPPDEPS = -MT$@ -MF$@.d -MD
16 WX_RELEASE_NODOT = 27
17 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)1
18 OBJS = \
19 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 DEPRECATEDDLL_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
27 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
28 -I..\..\src\deprecated\..\..\..\include -W -Wall \
29 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
30 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
31 DEPRECATEDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
32 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
36 -I..\..\src\deprecated\..\..\..\include -W -Wall \
37 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
38 -I..\..\src\deprecated $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
39 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
40 DEPRECATEDDLL_OBJECTS = \
41 $(OBJS)\deprecateddll_dummy.o \
42 $(OBJS)\deprecateddll_version_rc.o \
43 $(OBJS)\deprecateddll_prop.o \
44 $(OBJS)\deprecateddll_propform.o \
45 $(OBJS)\deprecateddll_proplist.o \
46 $(OBJS)\deprecateddll_resource.o \
47 $(OBJS)\deprecateddll_tbarsmpl.o \
48 $(OBJS)\deprecateddll_treelay.o \
49 $(OBJS)\deprecateddll_wxexpr.o \
50 $(OBJS)\deprecateddll_dosyacc.o
51 DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
52 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
53 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
54 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
55 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
56 -I..\..\src\deprecated\..\..\..\include -W -Wall \
57 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
58 $(CFLAGS)
59 DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
60 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
61 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
62 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
63 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
64 -I..\..\src\deprecated\..\..\..\include -W -Wall \
65 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(__RTTIFLAG) \
66 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
67 DEPRECATEDLIB_OBJECTS = \
68 $(OBJS)\deprecatedlib_dummy.o \
69 $(OBJS)\deprecatedlib_prop.o \
70 $(OBJS)\deprecatedlib_propform.o \
71 $(OBJS)\deprecatedlib_proplist.o \
72 $(OBJS)\deprecatedlib_resource.o \
73 $(OBJS)\deprecatedlib_tbarsmpl.o \
74 $(OBJS)\deprecatedlib_treelay.o \
75 $(OBJS)\deprecatedlib_wxexpr.o \
76 $(OBJS)\deprecatedlib_dosyacc.o
77
78 ### Conditionally set variables: ###
79
80 ifeq ($(GCC_VERSION),2.95)
81 GCCFLAGS = -fvtable-thunks
82 endif
83 ifeq ($(USE_GUI),0)
84 PORTNAME = base
85 endif
86 ifeq ($(USE_GUI),1)
87 PORTNAME = msw
88 endif
89 ifeq ($(OFFICIAL_BUILD),0)
90 VENDORTAG = _$(VENDOR)
91 endif
92 ifeq ($(OFFICIAL_BUILD),1)
93 VENDORTAG =
94 endif
95 ifeq ($(BUILD),debug)
96 ifeq ($(DEBUG_FLAG),default)
97 WXDEBUGFLAG = d
98 endif
99 endif
100 ifeq ($(DEBUG_FLAG),1)
101 WXDEBUGFLAG = d
102 endif
103 ifeq ($(UNICODE),1)
104 WXUNICODEFLAG = u
105 endif
106 ifeq ($(WXUNIV),1)
107 WXUNIVNAME = univ
108 endif
109 ifeq ($(SHARED),1)
110 WXDLLFLAG = dll
111 endif
112 ifeq ($(SHARED),0)
113 LIBTYPE_SUFFIX = lib
114 endif
115 ifeq ($(SHARED),1)
116 LIBTYPE_SUFFIX = dll
117 endif
118 ifeq ($(MONOLITHIC),0)
119 EXTRALIBS_FOR_BASE =
120 endif
121 ifeq ($(MONOLITHIC),1)
122 EXTRALIBS_FOR_BASE =
123 endif
124 ifeq ($(SHARED),1)
125 __deprecateddll___depname = \
126 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
127 endif
128 ifeq ($(WXUNIV),1)
129 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
130 endif
131 ifeq ($(BUILD),debug)
132 ifeq ($(DEBUG_FLAG),default)
133 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
134 endif
135 endif
136 ifeq ($(DEBUG_FLAG),1)
137 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
138 endif
139 ifeq ($(USE_EXCEPTIONS),0)
140 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
141 endif
142 ifeq ($(USE_RTTI),0)
143 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
144 endif
145 ifeq ($(USE_THREADS),0)
146 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
147 endif
148 ifeq ($(UNICODE),1)
149 __UNICODE_DEFINE_p_1 = --define _UNICODE
150 endif
151 ifeq ($(MSLU),1)
152 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
153 endif
154 ifeq ($(USE_GDIPLUS),1)
155 __GFXCTX_DEFINE_p_1 = --define wxUSE_GRAPHICS_CONTEXT=1
156 endif
157 ifeq ($(MONOLITHIC),1)
158 __WXLIB_MONO_p = \
159 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
160 endif
161 ifeq ($(USE_GUI),1)
162 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
163 endif
164 ifeq ($(USE_GUI),1)
165 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
166 endif
167 ifeq ($(USE_GUI),1)
168 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
169 endif
170 ifeq ($(MSLU),1)
171 __UNICOWS_LIB_p = -lunicows
172 endif
173 ifeq ($(USE_GDIPLUS),1)
174 __GDIPLUS_LIB_p = -lgdiplus
175 endif
176 ifeq ($(MONOLITHIC),0)
177 __WXLIB_CORE_p = \
178 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
179 endif
180 ifeq ($(MONOLITHIC),0)
181 __WXLIB_BASE_p = \
182 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
183 endif
184 ifeq ($(SHARED),0)
185 __deprecatedlib___depname = \
186 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
187 endif
188 ifeq ($(BUILD),debug)
189 ifeq ($(DEBUG_INFO),default)
190 __DEBUGINFO = -g
191 endif
192 endif
193 ifeq ($(BUILD),release)
194 ifeq ($(DEBUG_INFO),default)
195 __DEBUGINFO =
196 endif
197 endif
198 ifeq ($(DEBUG_INFO),0)
199 __DEBUGINFO =
200 endif
201 ifeq ($(DEBUG_INFO),1)
202 __DEBUGINFO = -g
203 endif
204 ifeq ($(BUILD),debug)
205 __OPTIMIZEFLAG = -O0
206 endif
207 ifeq ($(BUILD),release)
208 __OPTIMIZEFLAG = -O2
209 endif
210 ifeq ($(USE_THREADS),0)
211 __THREADSFLAG =
212 endif
213 ifeq ($(USE_THREADS),1)
214 __THREADSFLAG = -mthreads
215 endif
216 ifeq ($(USE_RTTI),0)
217 __RTTIFLAG = -fno-rtti
218 endif
219 ifeq ($(USE_RTTI),1)
220 __RTTIFLAG =
221 endif
222 ifeq ($(USE_EXCEPTIONS),0)
223 __EXCEPTIONSFLAG = -fno-exceptions
224 endif
225 ifeq ($(USE_EXCEPTIONS),1)
226 __EXCEPTIONSFLAG =
227 endif
228 ifeq ($(WXUNIV),1)
229 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
230 endif
231 ifeq ($(BUILD),debug)
232 ifeq ($(DEBUG_FLAG),default)
233 __DEBUG_DEFINE_p = -D__WXDEBUG__
234 endif
235 endif
236 ifeq ($(DEBUG_FLAG),1)
237 __DEBUG_DEFINE_p = -D__WXDEBUG__
238 endif
239 ifeq ($(USE_EXCEPTIONS),0)
240 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
241 endif
242 ifeq ($(USE_RTTI),0)
243 __RTTI_DEFINE_p = -DwxNO_RTTI
244 endif
245 ifeq ($(USE_THREADS),0)
246 __THREAD_DEFINE_p = -DwxNO_THREADS
247 endif
248 ifeq ($(UNICODE),1)
249 __UNICODE_DEFINE_p = -D_UNICODE
250 endif
251 ifeq ($(MSLU),1)
252 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
253 endif
254 ifeq ($(USE_GDIPLUS),1)
255 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
256 endif
257
258
259 all: $(OBJS)
260 $(OBJS):
261 -if not exist $(OBJS) mkdir $(OBJS)
262
263 ### Targets: ###
264
265 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
266
267 clean:
268 -if exist $(OBJS)\*.o del $(OBJS)\*.o
269 -if exist $(OBJS)\*.d del $(OBJS)\*.d
270 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
271 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
272 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
273
274 ifeq ($(SHARED),1)
275 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version_rc.o
276 $(CXX) -shared -fPIC -o $@ $(DEPRECATEDDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
277 endif
278
279 ifeq ($(SHARED),0)
280 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
281 if exist $@ del $@
282 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
283 ranlib $@
284 endif
285
286 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/common/dummy.cpp
287 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
288
289 $(OBJS)\deprecateddll_version_rc.o: ../../src/deprecated/../../../src/msw/version.rc
290 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ../../src/deprecated/../../../include --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG)
291
292 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
293 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
294
295 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
296 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
297
298 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
299 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
300
301 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
302 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
303
304 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
305 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
306
307 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
308 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
309
310 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
311 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
312
313 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
314 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $(CPPDEPS) $<
315
316 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/common/dummy.cpp
317 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
318
319 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
320 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
321
322 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
323 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
324
325 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
326 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
327
328 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
329 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
330
331 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
332 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
333
334 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
335 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
336
337 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
338 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
339
340 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
341 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $(CPPDEPS) $<
342
343 .PHONY: all clean
344
345
346 # Dependencies tracking:
347 -include $(OBJS)/*.d