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