1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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)4
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) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
25 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
26 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
27 DEPRECATEDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
28 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
30 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
31 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(__EXCEPTIONSFLAG) \
32 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
33 DEPRECATEDDLL_OBJECTS = \
34 $(OBJS)\deprecateddll_dummy.o \
35 $(OBJS)\deprecateddll_prop.o \
36 $(OBJS)\deprecateddll_propform.o \
37 $(OBJS)\deprecateddll_proplist.o \
38 $(OBJS)\deprecateddll_resource.o \
39 $(OBJS)\deprecateddll_tbarsmpl.o \
40 $(OBJS)\deprecateddll_treelay.o \
41 $(OBJS)\deprecateddll_wxexpr.o \
42 $(OBJS)\deprecateddll_dosyacc.o
43 DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
44 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
45 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
46 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include \
47 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
48 DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
49 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
51 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include \
52 -I..\..\src\deprecated $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
53 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
54 DEPRECATEDLIB_OBJECTS = \
55 $(OBJS)\deprecatedlib_dummy.o \
56 $(OBJS)\deprecatedlib_prop.o \
57 $(OBJS)\deprecatedlib_propform.o \
58 $(OBJS)\deprecatedlib_proplist.o \
59 $(OBJS)\deprecatedlib_resource.o \
60 $(OBJS)\deprecatedlib_tbarsmpl.o \
61 $(OBJS)\deprecatedlib_treelay.o \
62 $(OBJS)\deprecatedlib_wxexpr.o \
63 $(OBJS)\deprecatedlib_dosyacc.o
65 ### Conditionally set variables: ###
67 ifeq ($(GCC_VERSION),2.95)
68 GCCFLAGS = -fvtable-thunks
76 ifeq ($(OFFICIAL_BUILD),0)
77 VENDORTAG = _$(VENDOR)
79 ifeq ($(OFFICIAL_BUILD),1)
83 ifeq ($(DEBUG_FLAG),default)
87 ifeq ($(DEBUG_FLAG),1)
105 ifeq ($(MONOLITHIC),0)
108 ifeq ($(MONOLITHIC),1)
112 __deprecateddll___depname = \
113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
115 ifeq ($(MONOLITHIC),1)
117 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
120 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
123 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
126 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
129 __UNICOWS_LIB_p = -lunicows
131 ifeq ($(MONOLITHIC),0)
133 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
135 ifeq ($(MONOLITHIC),0)
137 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
140 __deprecatedlib___depname = \
141 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
143 ifeq ($(BUILD),debug)
144 ifeq ($(DEBUG_INFO),default)
148 ifeq ($(BUILD),release)
149 ifeq ($(DEBUG_INFO),default)
153 ifeq ($(DEBUG_INFO),0)
156 ifeq ($(DEBUG_INFO),1)
159 ifeq ($(BUILD),debug)
162 ifeq ($(BUILD),release)
165 ifeq ($(USE_EXCEPTIONS),0)
166 __EXCEPTIONSFLAG = -fno-rtti
168 ifeq ($(USE_EXCEPTIONS),1)
171 ifeq ($(USE_EXCEPTIONS),0)
172 __EXCEPTIONSFLAG_0 = -fno-exceptions
174 ifeq ($(USE_EXCEPTIONS),1)
178 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
180 ifeq ($(BUILD),debug)
181 ifeq ($(DEBUG_FLAG),default)
182 __DEBUG_DEFINE_p = -D__WXDEBUG__
185 ifeq ($(DEBUG_FLAG),1)
186 __DEBUG_DEFINE_p = -D__WXDEBUG__
189 __UNICODE_DEFINE_p = -D_UNICODE
195 -if not exist $(OBJS) mkdir $(OBJS)
199 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
202 -if exist $(OBJS)\*.o del $(OBJS)\*.o
203 -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
204 -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
205 -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
208 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
209 $(CXX) -shared -fPIC -o $@ $(DEPRECATEDDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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)
213 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
215 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
219 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
220 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
222 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
223 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
225 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
226 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
228 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
229 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
231 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
232 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
234 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
235 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
237 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
238 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
240 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
241 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
243 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
244 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
246 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
247 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
249 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
250 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
252 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
253 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
255 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
256 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
258 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
259 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
261 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
262 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
264 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
265 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
267 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
268 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
270 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
271 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<