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