1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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 # -------------------------------------------------------------------------
15 CPPDEPS = -MT$@ -MF$@.d -MD
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) $(__MSLU_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) $(__MSLU_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) $(__MSLU_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) $(__MSLU_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_RELEASE_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
147 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
149 ifeq ($(MONOLITHIC),1)
151 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
154 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
157 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
160 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
163 __UNICOWS_LIB_p = -lunicows
165 ifeq ($(MONOLITHIC),0)
167 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
169 ifeq ($(MONOLITHIC),0)
171 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
174 __deprecatedlib___depname = \
175 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
177 ifeq ($(BUILD),debug)
178 ifeq ($(DEBUG_INFO),default)
182 ifeq ($(BUILD),release)
183 ifeq ($(DEBUG_INFO),default)
187 ifeq ($(DEBUG_INFO),0)
190 ifeq ($(DEBUG_INFO),1)
193 ifeq ($(BUILD),debug)
196 ifeq ($(BUILD),release)
199 ifeq ($(USE_THREADS),0)
202 ifeq ($(USE_THREADS),1)
203 __THREADSFLAG = -mthreads
206 __RTTIFLAG = -fno-rtti
211 ifeq ($(USE_EXCEPTIONS),0)
212 __EXCEPTIONSFLAG = -fno-exceptions
214 ifeq ($(USE_EXCEPTIONS),1)
218 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
220 ifeq ($(BUILD),debug)
221 ifeq ($(DEBUG_FLAG),default)
222 __DEBUG_DEFINE_p = -D__WXDEBUG__
225 ifeq ($(DEBUG_FLAG),1)
226 __DEBUG_DEFINE_p = -D__WXDEBUG__
228 ifeq ($(USE_EXCEPTIONS),0)
229 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
232 __RTTI_DEFINE_p = -DwxNO_RTTI
234 ifeq ($(USE_THREADS),0)
235 __THREAD_DEFINE_p = -DwxNO_THREADS
238 __UNICODE_DEFINE_p = -D_UNICODE
241 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
247 -if not exist $(OBJS) mkdir $(OBJS)
251 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
254 -if exist $(OBJS)\*.o del $(OBJS)\*.o
255 -if exist $(OBJS)\*.d del $(OBJS)\*.d
256 -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
257 -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
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
261 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version_rc.o
262 $(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)
266 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
268 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
272 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
273 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
275 $(OBJS)\deprecateddll_version_rc.o: ../../src/deprecated/../../../src/msw/version.rc
276 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 ../../src/deprecated/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG)
278 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
279 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
281 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
282 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
284 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
285 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
287 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
288 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
290 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
291 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
293 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
294 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
296 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
297 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $(CPPDEPS) $<
299 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
300 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $(CPPDEPS) $<
302 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
303 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
305 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
306 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
308 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
309 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
311 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
312 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
314 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
315 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
317 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
318 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
320 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
321 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
323 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
324 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $(CPPDEPS) $<
326 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
327 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $(CPPDEPS) $<
332 # Dependencies tracking: