1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 DEPRECATEDDLL_CFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
16 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
17 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
18 -I$(SETUPHDIR) -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
19 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CFLAGS)
20 DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
21 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
23 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -Wall \
24 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
25 -I..\..\src\deprecated $(CXXFLAGS) $(__EXCEPTIONSFLAG) \
27 DEPRECATEDDLL_OBJECTS = \
28 $(OBJS)\deprecateddll_dummy.o \
29 $(OBJS)\deprecateddll_prop.o \
30 $(OBJS)\deprecateddll_propform.o \
31 $(OBJS)\deprecateddll_proplist.o \
32 $(OBJS)\deprecateddll_resource.o \
33 $(OBJS)\deprecateddll_tbarsmpl.o \
34 $(OBJS)\deprecateddll_treelay.o \
35 $(OBJS)\deprecateddll_wxexpr.o \
36 $(OBJS)\deprecateddll_dosyacc.o
37 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
38 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
39 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
40 -I$(SETUPHDIR) -Wall -I..\..\src\deprecated\..\..\include \
41 -I..\..\src\deprecated $(CFLAGS)
42 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
43 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
44 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
45 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) -Wall \
46 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CXXFLAGS) \
47 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0)
48 DEPRECATEDLIB_OBJECTS = \
49 $(OBJS)\deprecatedlib_dummy.o \
50 $(OBJS)\deprecatedlib_prop.o \
51 $(OBJS)\deprecatedlib_propform.o \
52 $(OBJS)\deprecatedlib_proplist.o \
53 $(OBJS)\deprecatedlib_resource.o \
54 $(OBJS)\deprecatedlib_tbarsmpl.o \
55 $(OBJS)\deprecatedlib_treelay.o \
56 $(OBJS)\deprecatedlib_wxexpr.o \
57 $(OBJS)\deprecatedlib_dosyacc.o
59 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
61 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
63 ### Conditionally set variables: ###
65 ifeq ($(GCC_VERSION),2.95)
66 GCCFLAGS = -fvtable-thunks
69 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_lib$(CFG)
72 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_dll$(CFG)
80 ifeq ($(OFFICIAL_BUILD),0)
81 VENDORTAG = _$(VENDOR)
83 ifeq ($(OFFICIAL_BUILD),1)
87 ifeq ($(DEBUG_FLAG),default)
91 ifeq ($(DEBUG_FLAG),1)
103 ifeq ($(BUILD),debug)
104 ifeq ($(DEBUG_INFO),default)
108 ifeq ($(BUILD),release)
109 ifeq ($(DEBUG_INFO),default)
113 ifeq ($(DEBUG_INFO),0)
116 ifeq ($(DEBUG_INFO),1)
119 ifeq ($(BUILD),debug)
120 ifeq ($(DEBUG_FLAG),default)
121 __DEBUG_DEFINE_p = -D__WXDEBUG__
124 ifeq ($(DEBUG_FLAG),1)
125 __DEBUG_DEFINE_p = -D__WXDEBUG__
127 ifeq ($(USE_EXCEPTIONS),0)
128 __EXCEPTIONSFLAG = -fno-rtti
130 ifeq ($(USE_EXCEPTIONS),1)
133 ifeq ($(USE_EXCEPTIONS),0)
134 __EXCEPTIONSFLAG_0 = -fno-exceptions
136 ifeq ($(USE_EXCEPTIONS),1)
140 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
143 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
146 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
148 ifeq ($(BUILD),debug)
151 ifeq ($(BUILD),release)
155 __UNICODE_DEFINE_p = -D_UNICODE
158 __UNICOWS_LIB_p = -lunicows
160 ifeq ($(MONOLITHIC),0)
161 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
163 ifeq ($(MONOLITHIC),0)
165 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
167 ifeq ($(MONOLITHIC),1)
169 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
172 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
175 __deprecateddll___depname = \
176 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
179 __deprecatedlib___depname = \
180 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
186 -if not exist $(OBJS) mkdir $(OBJS)
190 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
192 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
193 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
195 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
196 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
198 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
199 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
201 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
202 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
204 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
205 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
207 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
208 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
210 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
211 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
213 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
214 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
216 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
217 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
219 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
220 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<
222 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
223 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
225 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
226 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
228 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
229 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
231 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
232 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
234 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
235 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
237 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
238 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
240 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
241 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
243 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
244 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
247 -if exist $(OBJS)\*.o del $(OBJS)\*.o
248 -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
249 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
250 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
253 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
254 $(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$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
258 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
260 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)