1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 DEPRECATEDDLL_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
22 -I$(SETUPHDIR) -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
23 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
24 DEPRECATEDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
25 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
27 -I$(SETUPHDIR) -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
28 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(__EXCEPTIONSFLAG) \
29 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
30 DEPRECATEDDLL_OBJECTS = \
31 $(OBJS)\deprecateddll_dummy.o \
32 $(OBJS)\deprecateddll_prop.o \
33 $(OBJS)\deprecateddll_propform.o \
34 $(OBJS)\deprecateddll_proplist.o \
35 $(OBJS)\deprecateddll_resource.o \
36 $(OBJS)\deprecateddll_tbarsmpl.o \
37 $(OBJS)\deprecateddll_treelay.o \
38 $(OBJS)\deprecateddll_wxexpr.o \
39 $(OBJS)\deprecateddll_dosyacc.o
40 DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
41 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
42 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
43 -I$(SETUPHDIR) -Wall -I..\..\src\deprecated\..\..\include \
44 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
45 DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
46 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
47 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
48 -I$(SETUPHDIR) -Wall -I..\..\src\deprecated\..\..\include \
49 -I..\..\src\deprecated $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
50 $(CPPFLAGS) $(CXXFLAGS)
51 DEPRECATEDLIB_OBJECTS = \
52 $(OBJS)\deprecatedlib_dummy.o \
53 $(OBJS)\deprecatedlib_prop.o \
54 $(OBJS)\deprecatedlib_propform.o \
55 $(OBJS)\deprecatedlib_proplist.o \
56 $(OBJS)\deprecatedlib_resource.o \
57 $(OBJS)\deprecatedlib_tbarsmpl.o \
58 $(OBJS)\deprecatedlib_treelay.o \
59 $(OBJS)\deprecatedlib_wxexpr.o \
60 $(OBJS)\deprecatedlib_dosyacc.o
62 ### Conditionally set variables: ###
64 ifeq ($(GCC_VERSION),2.95)
65 GCCFLAGS = -fvtable-thunks
73 ifeq ($(OFFICIAL_BUILD),0)
74 VENDORTAG = _$(VENDOR)
76 ifeq ($(OFFICIAL_BUILD),1)
80 ifeq ($(DEBUG_FLAG),default)
84 ifeq ($(DEBUG_FLAG),1)
97 __deprecateddll___depname = \
98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
100 ifeq ($(MONOLITHIC),1)
102 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
105 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
108 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
111 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
114 __UNICOWS_LIB_p = -lunicows
116 ifeq ($(MONOLITHIC),0)
118 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
120 ifeq ($(MONOLITHIC),0)
121 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
124 __deprecatedlib___depname = \
125 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
127 ifeq ($(BUILD),debug)
128 ifeq ($(DEBUG_INFO),default)
132 ifeq ($(BUILD),release)
133 ifeq ($(DEBUG_INFO),default)
137 ifeq ($(DEBUG_INFO),0)
140 ifeq ($(DEBUG_INFO),1)
143 ifeq ($(BUILD),debug)
146 ifeq ($(BUILD),release)
149 ifeq ($(USE_EXCEPTIONS),0)
150 __EXCEPTIONSFLAG = -fno-rtti
152 ifeq ($(USE_EXCEPTIONS),1)
155 ifeq ($(USE_EXCEPTIONS),0)
156 __EXCEPTIONSFLAG_0 = -fno-exceptions
158 ifeq ($(USE_EXCEPTIONS),1)
162 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
164 ifeq ($(BUILD),debug)
165 ifeq ($(DEBUG_FLAG),default)
166 __DEBUG_DEFINE_p = -D__WXDEBUG__
169 ifeq ($(DEBUG_FLAG),1)
170 __DEBUG_DEFINE_p = -D__WXDEBUG__
173 __UNICODE_DEFINE_p = -D_UNICODE
176 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_lib$(CFG)
179 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_dll$(CFG)
185 -if not exist $(OBJS) mkdir $(OBJS)
189 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
192 -if exist $(OBJS)\*.o del $(OBJS)\*.o
193 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
194 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
195 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
198 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
199 $(CXX) -shared -o $@ $(DEPRECATEDDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
203 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
205 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
209 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
210 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
212 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
213 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
215 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
216 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
218 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
219 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
221 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
222 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
224 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
225 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
227 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
228 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
230 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
231 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
233 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
234 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
236 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
237 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
239 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
240 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
242 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
243 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
245 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
246 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
248 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
249 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
251 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
252 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
254 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
255 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
257 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
258 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
260 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
261 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<