1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 DEPRECATEDDLL_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
22 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
24 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
25 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
26 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
27 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
28 DEPRECATEDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
29 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
30 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
31 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
32 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
33 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
34 -I..\..\src\deprecated $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
35 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
36 DEPRECATEDDLL_OBJECTS = \
37 $(OBJS)\deprecateddll_dummy.o \
38 $(OBJS)\deprecateddll_version_rc.o \
39 $(OBJS)\deprecateddll_prop.o \
40 $(OBJS)\deprecateddll_propform.o \
41 $(OBJS)\deprecateddll_proplist.o \
42 $(OBJS)\deprecateddll_resource.o \
43 $(OBJS)\deprecateddll_tbarsmpl.o \
44 $(OBJS)\deprecateddll_treelay.o \
45 $(OBJS)\deprecateddll_wxexpr.o \
46 $(OBJS)\deprecateddll_dosyacc.o
47 DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
48 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
50 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
51 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
52 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
54 DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
55 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
56 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
57 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
58 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
59 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(__RTTIFLAG) \
60 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
61 DEPRECATEDLIB_OBJECTS = \
62 $(OBJS)\deprecatedlib_dummy.o \
63 $(OBJS)\deprecatedlib_prop.o \
64 $(OBJS)\deprecatedlib_propform.o \
65 $(OBJS)\deprecatedlib_proplist.o \
66 $(OBJS)\deprecatedlib_resource.o \
67 $(OBJS)\deprecatedlib_tbarsmpl.o \
68 $(OBJS)\deprecatedlib_treelay.o \
69 $(OBJS)\deprecatedlib_wxexpr.o \
70 $(OBJS)\deprecatedlib_dosyacc.o
72 ### Conditionally set variables: ###
74 ifeq ($(GCC_VERSION),2.95)
75 GCCFLAGS = -fvtable-thunks
83 ifeq ($(OFFICIAL_BUILD),0)
84 VENDORTAG = _$(VENDOR)
86 ifeq ($(OFFICIAL_BUILD),1)
90 ifeq ($(DEBUG_FLAG),default)
94 ifeq ($(DEBUG_FLAG),1)
112 ifeq ($(MONOLITHIC),0)
115 ifeq ($(MONOLITHIC),1)
119 __deprecateddll___depname = \
120 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
123 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
125 ifeq ($(BUILD),debug)
126 ifeq ($(DEBUG_FLAG),default)
127 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
130 ifeq ($(DEBUG_FLAG),1)
131 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
133 ifeq ($(USE_EXCEPTIONS),0)
134 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
137 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
139 ifeq ($(USE_THREADS),0)
140 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
143 __UNICODE_DEFINE_p_1 = --define _UNICODE
145 ifeq ($(MONOLITHIC),1)
147 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
150 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
153 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
156 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
159 __UNICOWS_LIB_p = -lunicows
161 ifeq ($(MONOLITHIC),0)
163 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
165 ifeq ($(MONOLITHIC),0)
167 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
170 __deprecatedlib___depname = \
171 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
173 ifeq ($(BUILD),debug)
174 ifeq ($(DEBUG_INFO),default)
178 ifeq ($(BUILD),release)
179 ifeq ($(DEBUG_INFO),default)
183 ifeq ($(DEBUG_INFO),0)
186 ifeq ($(DEBUG_INFO),1)
189 ifeq ($(BUILD),debug)
192 ifeq ($(BUILD),release)
195 ifeq ($(USE_THREADS),0)
198 ifeq ($(USE_THREADS),1)
199 __THREADSFLAG = -mthreads
202 __RTTIFLAG = -fno-rtti
207 ifeq ($(USE_EXCEPTIONS),0)
208 __EXCEPTIONSFLAG = -fno-exceptions
210 ifeq ($(USE_EXCEPTIONS),1)
214 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
216 ifeq ($(BUILD),debug)
217 ifeq ($(DEBUG_FLAG),default)
218 __DEBUG_DEFINE_p = -D__WXDEBUG__
221 ifeq ($(DEBUG_FLAG),1)
222 __DEBUG_DEFINE_p = -D__WXDEBUG__
224 ifeq ($(USE_EXCEPTIONS),0)
225 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
228 __RTTI_DEFINE_p = -DwxNO_RTTI
230 ifeq ($(USE_THREADS),0)
231 __THREAD_DEFINE_p = -DwxNO_THREADS
234 __UNICODE_DEFINE_p = -D_UNICODE
240 -if not exist $(OBJS) mkdir $(OBJS)
244 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
247 -if exist $(OBJS)\*.o del $(OBJS)\*.o
248 -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
249 -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
250 -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
253 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version_rc.o
254 $(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)
258 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
260 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
264 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
265 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
267 $(OBJS)\deprecateddll_version_rc.o: ../../src/deprecated/../../../src/msw/version.rc
268 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) --include-dir ../../src/deprecated/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG)
270 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
271 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
273 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
274 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
276 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
277 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
279 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
280 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
282 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
283 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
285 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
286 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
288 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
289 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
291 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
292 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
294 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
295 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
297 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
298 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
300 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
301 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
303 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
304 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
306 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
307 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
309 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
310 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
312 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
313 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
315 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
316 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
318 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
319 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<