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 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 DEPRECATEDDLL_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) \
26 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
27 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
28 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
29 DEPRECATEDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
30 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
31 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
32 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
33 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
34 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
35 -I..\..\src\deprecated $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
36 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
37 DEPRECATEDDLL_OBJECTS = \
38 $(OBJS)\deprecateddll_dummy.o \
39 $(OBJS)\deprecateddll_version_rc.o \
40 $(OBJS)\deprecateddll_prop.o \
41 $(OBJS)\deprecateddll_propform.o \
42 $(OBJS)\deprecateddll_proplist.o \
43 $(OBJS)\deprecateddll_resource.o \
44 $(OBJS)\deprecateddll_tbarsmpl.o \
45 $(OBJS)\deprecateddll_treelay.o \
46 $(OBJS)\deprecateddll_wxexpr.o \
47 $(OBJS)\deprecateddll_dosyacc.o
48 DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
49 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
50 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
51 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
52 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
53 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
55 DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
56 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
57 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
58 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
59 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -W -Wall \
60 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(__RTTIFLAG) \
61 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
62 DEPRECATEDLIB_OBJECTS = \
63 $(OBJS)\deprecatedlib_dummy.o \
64 $(OBJS)\deprecatedlib_prop.o \
65 $(OBJS)\deprecatedlib_propform.o \
66 $(OBJS)\deprecatedlib_proplist.o \
67 $(OBJS)\deprecatedlib_resource.o \
68 $(OBJS)\deprecatedlib_tbarsmpl.o \
69 $(OBJS)\deprecatedlib_treelay.o \
70 $(OBJS)\deprecatedlib_wxexpr.o \
71 $(OBJS)\deprecatedlib_dosyacc.o
73 ### Conditionally set variables: ###
75 ifeq ($(GCC_VERSION),2.95)
76 GCCFLAGS = -fvtable-thunks
84 ifeq ($(OFFICIAL_BUILD),0)
85 VENDORTAG = _$(VENDOR)
87 ifeq ($(OFFICIAL_BUILD),1)
91 ifeq ($(DEBUG_FLAG),default)
95 ifeq ($(DEBUG_FLAG),1)
113 ifeq ($(MONOLITHIC),0)
116 ifeq ($(MONOLITHIC),1)
120 __deprecateddll___depname = \
121 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
124 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
126 ifeq ($(BUILD),debug)
127 ifeq ($(DEBUG_FLAG),default)
128 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
131 ifeq ($(DEBUG_FLAG),1)
132 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
134 ifeq ($(USE_EXCEPTIONS),0)
135 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
138 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
140 ifeq ($(USE_THREADS),0)
141 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
144 __UNICODE_DEFINE_p_1 = --define _UNICODE
146 ifeq ($(MONOLITHIC),1)
148 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
151 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
154 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
157 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
160 __UNICOWS_LIB_p = -lunicows
162 ifeq ($(MONOLITHIC),0)
164 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
166 ifeq ($(MONOLITHIC),0)
168 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
171 __deprecatedlib___depname = \
172 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
174 ifeq ($(BUILD),debug)
175 ifeq ($(DEBUG_INFO),default)
179 ifeq ($(BUILD),release)
180 ifeq ($(DEBUG_INFO),default)
184 ifeq ($(DEBUG_INFO),0)
187 ifeq ($(DEBUG_INFO),1)
190 ifeq ($(BUILD),debug)
193 ifeq ($(BUILD),release)
196 ifeq ($(USE_THREADS),0)
199 ifeq ($(USE_THREADS),1)
200 __THREADSFLAG = -mthreads
203 __RTTIFLAG = -fno-rtti
208 ifeq ($(USE_EXCEPTIONS),0)
209 __EXCEPTIONSFLAG = -fno-exceptions
211 ifeq ($(USE_EXCEPTIONS),1)
215 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
217 ifeq ($(BUILD),debug)
218 ifeq ($(DEBUG_FLAG),default)
219 __DEBUG_DEFINE_p = -D__WXDEBUG__
222 ifeq ($(DEBUG_FLAG),1)
223 __DEBUG_DEFINE_p = -D__WXDEBUG__
225 ifeq ($(USE_EXCEPTIONS),0)
226 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
229 __RTTI_DEFINE_p = -DwxNO_RTTI
231 ifeq ($(USE_THREADS),0)
232 __THREAD_DEFINE_p = -DwxNO_THREADS
235 __UNICODE_DEFINE_p = -D_UNICODE
241 -if not exist $(OBJS) mkdir $(OBJS)
245 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
248 -if exist $(OBJS)\*.o del $(OBJS)\*.o
249 -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
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
251 -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
254 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version_rc.o
255 $(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)
259 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
261 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
265 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
266 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
268 $(OBJS)\deprecateddll_version_rc.o: ../../src/deprecated/src/msw/version.rc
269 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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG)
271 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
272 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
274 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
275 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
277 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
278 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
280 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
281 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
283 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
284 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
286 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
287 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
289 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
290 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
292 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
293 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
295 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
296 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
298 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
299 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
301 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
302 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
304 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
305 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
307 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
308 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
310 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
311 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
313 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
314 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
316 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
317 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
319 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
320 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<