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_tbarsmpl.o \
33 $(OBJS)\deprecateddll_treelay.o \
34 $(OBJS)\deprecateddll_wxexpr.o \
35 $(OBJS)\deprecateddll_dosyacc.o
36 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
37 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
38 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
39 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
41 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
42 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
43 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
45 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CXXFLAGS)
46 DEPRECATEDLIB_OBJECTS = \
47 $(OBJS)\deprecatedlib_dummy.o \
48 $(OBJS)\deprecatedlib_prop.o \
49 $(OBJS)\deprecatedlib_propform.o \
50 $(OBJS)\deprecatedlib_proplist.o \
51 $(OBJS)\deprecatedlib_resource.o \
52 $(OBJS)\deprecatedlib_tbarsmpl.o \
53 $(OBJS)\deprecatedlib_treelay.o \
54 $(OBJS)\deprecatedlib_wxexpr.o \
55 $(OBJS)\deprecatedlib_dosyacc.o
57 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
59 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
61 ### Conditionally set variables: ###
63 ifeq ($(GCC_VERSION),2.95)
64 GCCFLAGS = -fvtable-thunks
67 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_lib$(CFG)
70 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_dll$(CFG)
78 ifeq ($(OFFICIAL_BUILD),0)
79 VENDORTAG = _$(VENDOR)
81 ifeq ($(OFFICIAL_BUILD),1)
85 ifeq ($(DEBUG_FLAG),default)
89 ifeq ($(DEBUG_FLAG),1)
101 ifeq ($(BUILD),debug)
102 ifeq ($(DEBUG_INFO),default)
106 ifeq ($(BUILD),release)
107 ifeq ($(DEBUG_INFO),default)
111 ifeq ($(DEBUG_INFO),0)
114 ifeq ($(DEBUG_INFO),1)
117 ifeq ($(BUILD),debug)
118 ifeq ($(DEBUG_FLAG),default)
119 __DEBUG_DEFINE_p = -D__WXDEBUG__
122 ifeq ($(DEBUG_FLAG),1)
123 __DEBUG_DEFINE_p = -D__WXDEBUG__
126 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
129 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
132 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
134 ifeq ($(BUILD),debug)
137 ifeq ($(BUILD),release)
141 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
144 __UNICOWS_LIB_p = -lunicows
146 ifeq ($(MONOLITHIC),0)
147 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
149 ifeq ($(MONOLITHIC),0)
151 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
153 ifeq ($(MONOLITHIC),1)
155 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
158 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
161 __deprecateddll___depname = \
162 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
165 __deprecatedlib___depname = \
166 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
172 -if not exist $(OBJS) mkdir $(OBJS)
176 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
178 $(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated\dosyacc.c
179 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
181 $(OBJS)\deprecateddll_dummy.o: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
182 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
184 $(OBJS)\deprecateddll_prop.o: ../../src/deprecated\prop.cpp
185 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
187 $(OBJS)\deprecateddll_propform.o: ../../src/deprecated\propform.cpp
188 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
190 $(OBJS)\deprecateddll_proplist.o: ../../src/deprecated\proplist.cpp
191 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
193 $(OBJS)\deprecateddll_resource.o: ../../src/deprecated\resource.cpp
194 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
196 $(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated\tbarsmpl.cpp
197 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
199 $(OBJS)\deprecateddll_treelay.o: ../../src/deprecated\treelay.cpp
200 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
202 $(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated\wxexpr.cpp
203 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
205 $(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated\dosyacc.c
206 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<
208 $(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
209 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
211 $(OBJS)\deprecatedlib_prop.o: ../../src/deprecated\prop.cpp
212 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
214 $(OBJS)\deprecatedlib_propform.o: ../../src/deprecated\propform.cpp
215 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
217 $(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated\proplist.cpp
218 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
220 $(OBJS)\deprecatedlib_resource.o: ../../src/deprecated\resource.cpp
221 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
223 $(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated\tbarsmpl.cpp
224 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
226 $(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated\treelay.cpp
227 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
229 $(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated\wxexpr.cpp
230 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
233 -if exist $(OBJS)\*.o del $(OBJS)\*.o
234 -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
235 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
236 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
239 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
240 $(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)
244 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
246 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)