1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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)5
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 GIZMOSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
23 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \
27 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
28 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
31 $(OBJS)\gizmosdll_dummy.o \
32 $(OBJS)\gizmosdll_version_rc.o \
33 $(OBJS)\gizmosdll_dynamicsash.o \
34 $(OBJS)\gizmosdll_editlbox.o \
35 $(OBJS)\gizmosdll_ledctrl.o \
36 $(OBJS)\gizmosdll_multicell.o \
37 $(OBJS)\gizmosdll_splittree.o \
38 $(OBJS)\gizmosdll_statpict.o \
39 $(OBJS)\gizmosdll_xh_statpict.o
40 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
41 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
43 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \
45 -I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
46 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
48 $(OBJS)\gizmoslib_dummy.o \
49 $(OBJS)\gizmoslib_dynamicsash.o \
50 $(OBJS)\gizmoslib_editlbox.o \
51 $(OBJS)\gizmoslib_ledctrl.o \
52 $(OBJS)\gizmoslib_multicell.o \
53 $(OBJS)\gizmoslib_splittree.o \
54 $(OBJS)\gizmoslib_statpict.o \
55 $(OBJS)\gizmoslib_xh_statpict.o
57 ### Conditionally set variables: ###
59 ifeq ($(GCC_VERSION),2.95)
60 GCCFLAGS = -fvtable-thunks
68 ifeq ($(OFFICIAL_BUILD),0)
69 VENDORTAG = _$(VENDOR)
71 ifeq ($(OFFICIAL_BUILD),1)
75 ifeq ($(DEBUG_FLAG),default)
79 ifeq ($(DEBUG_FLAG),1)
97 ifeq ($(MONOLITHIC),0)
100 ifeq ($(MONOLITHIC),1)
104 __gizmosdll___depname = \
105 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
108 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
110 ifeq ($(BUILD),debug)
111 ifeq ($(DEBUG_FLAG),default)
112 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
115 ifeq ($(DEBUG_FLAG),1)
116 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
118 ifeq ($(USE_EXCEPTIONS),0)
119 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
122 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
124 ifeq ($(USE_THREADS),0)
125 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
128 __UNICODE_DEFINE_p_1 = --define _UNICODE
130 ifeq ($(MONOLITHIC),1)
132 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
135 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
138 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
141 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
144 __UNICOWS_LIB_p = -lunicows
146 ifeq ($(MONOLITHIC),0)
148 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
150 ifeq ($(MONOLITHIC),0)
152 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
155 __gizmoslib___depname = \
156 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
158 ifeq ($(BUILD),debug)
159 ifeq ($(DEBUG_INFO),default)
163 ifeq ($(BUILD),release)
164 ifeq ($(DEBUG_INFO),default)
168 ifeq ($(DEBUG_INFO),0)
171 ifeq ($(DEBUG_INFO),1)
174 ifeq ($(BUILD),debug)
177 ifeq ($(BUILD),release)
180 ifeq ($(USE_THREADS),0)
183 ifeq ($(USE_THREADS),1)
184 __THREADSFLAG = -mthreads
187 __RTTIFLAG = -fno-rtti
192 ifeq ($(USE_EXCEPTIONS),0)
193 __EXCEPTIONSFLAG = -fno-exceptions
195 ifeq ($(USE_EXCEPTIONS),1)
199 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
201 ifeq ($(BUILD),debug)
202 ifeq ($(DEBUG_FLAG),default)
203 __DEBUG_DEFINE_p = -D__WXDEBUG__
206 ifeq ($(DEBUG_FLAG),1)
207 __DEBUG_DEFINE_p = -D__WXDEBUG__
209 ifeq ($(USE_EXCEPTIONS),0)
210 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
213 __RTTI_DEFINE_p = -DwxNO_RTTI
215 ifeq ($(USE_THREADS),0)
216 __THREAD_DEFINE_p = -DwxNO_THREADS
219 __UNICODE_DEFINE_p = -D_UNICODE
225 -if not exist $(OBJS) mkdir $(OBJS)
229 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
232 -if exist $(OBJS)\*.o del $(OBJS)\*.o
233 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
234 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
235 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
238 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version_rc.o
239 $(CXX) -shared -fPIC -o $@ $(GIZMOSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.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_BASE_p) $(__WXLIB_CORE_p)
243 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS)
245 ar rcu $@ $(GIZMOSLIB_OBJECTS)
249 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
250 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
252 $(OBJS)\gizmosdll_version_rc.o: ../../src/gizmos/../../../src/msw/version.rc
253 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ../../src/gizmos/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG)
255 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
256 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
258 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
259 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
261 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
262 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
264 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
265 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
267 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
268 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
270 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
271 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
273 $(OBJS)\gizmosdll_xh_statpict.o: ../../src/gizmos/xh_statpict.cpp
274 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
276 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
277 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
279 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
280 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
282 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
283 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
285 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
286 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
288 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
289 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
291 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
292 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
294 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
295 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
297 $(OBJS)\gizmoslib_xh_statpict.o: ../../src/gizmos/xh_statpict.cpp
298 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<