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) -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) \
24 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
25 -I..\..\src\deprecated $(CXXFLAGS)
26 DEPRECATEDDLL_OBJECTS = \
27 $(OBJS)\deprecateddll_dummy.o \
28 $(OBJS)\deprecateddll_prop.o \
29 $(OBJS)\deprecateddll_propform.o \
30 $(OBJS)\deprecateddll_proplist.o \
31 $(OBJS)\deprecateddll_resource.o \
32 $(OBJS)\deprecateddll_treelay.o \
33 $(OBJS)\deprecateddll_wxexpr.o \
34 $(OBJS)\deprecateddll_dosyacc.o
35 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
36 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
37 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
38 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
40 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
41 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
44 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CXXFLAGS)
45 DEPRECATEDLIB_OBJECTS = \
46 $(OBJS)\deprecatedlib_dummy.o \
47 $(OBJS)\deprecatedlib_prop.o \
48 $(OBJS)\deprecatedlib_propform.o \
49 $(OBJS)\deprecatedlib_proplist.o \
50 $(OBJS)\deprecatedlib_resource.o \
51 $(OBJS)\deprecatedlib_treelay.o \
52 $(OBJS)\deprecatedlib_wxexpr.o \
53 $(OBJS)\deprecatedlib_dosyacc.o
55 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
57 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
59 ### Conditionally set variables: ###
61 ifeq ($(GCC_VERSION),2.95)
62 GCCFLAGS = -fvtable-thunks
65 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_lib$(CFG)
68 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_dll$(CFG)
76 ifeq ($(OFFICIAL_BUILD),0)
77 VENDORTAG = _$(VENDOR)
79 ifeq ($(OFFICIAL_BUILD),1)
83 ifeq ($(DEBUG_FLAG),default)
87 ifeq ($(DEBUG_FLAG),1)
100 ifeq ($(DEBUG_INFO),default)
104 ifeq ($(BUILD),release)
105 ifeq ($(DEBUG_INFO),default)
109 ifeq ($(DEBUG_INFO),0)
112 ifeq ($(DEBUG_INFO),1)
115 ifeq ($(BUILD),debug)
116 ifeq ($(DEBUG_FLAG),default)
117 __DEBUG_DEFINE_p = -D__WXDEBUG__
120 ifeq ($(DEBUG_FLAG),1)
121 __DEBUG_DEFINE_p = -D__WXDEBUG__
124 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
127 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
130 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
132 ifeq ($(BUILD),debug)
135 ifeq ($(BUILD),release)
139 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
142 __UNICOWS_LIB_p = -lunicows
144 ifeq ($(MONOLITHIC),0)
145 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
147 ifeq ($(MONOLITHIC),0)
149 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
151 ifeq ($(MONOLITHIC),1)
153 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
156 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
159 __deprecateddll___depname = \
160 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
163 __deprecatedlib___depname = \
164 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
170 -if not exist $(OBJS) mkdir $(OBJS)
174 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
176 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated\dosyacc.c
177 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
179 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
180 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
182 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated\prop.cpp
183 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
185 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated\propform.cpp
186 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
188 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated\proplist.cpp
189 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
191 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated\resource.cpp
192 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
194 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated\treelay.cpp
195 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
197 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated\wxexpr.cpp
198 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
200 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated\dosyacc.c
201 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<
203 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
204 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
206 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated\prop.cpp
207 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
209 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated\propform.cpp
210 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
212 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated\proplist.cpp
213 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
215 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated\resource.cpp
216 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
218 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated\treelay.cpp
219 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
221 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated\wxexpr.cpp
222 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
225 -if exist $(OBJS)\*.o del $(OBJS)\*.o
226 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
227 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
228 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
231 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
232 $(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)
236 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
238 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)