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 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
40 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
41 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
42 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \
44 -I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
47 $(OBJS)\gizmoslib_dummy.o \
48 $(OBJS)\gizmoslib_dynamicsash.o \
49 $(OBJS)\gizmoslib_editlbox.o \
50 $(OBJS)\gizmoslib_ledctrl.o \
51 $(OBJS)\gizmoslib_multicell.o \
52 $(OBJS)\gizmoslib_splittree.o \
53 $(OBJS)\gizmoslib_statpict.o
55 ### Conditionally set variables: ###
57 ifeq ($(GCC_VERSION),2.95)
58 GCCFLAGS = -fvtable-thunks
66 ifeq ($(OFFICIAL_BUILD),0)
67 VENDORTAG = _$(VENDOR)
69 ifeq ($(OFFICIAL_BUILD),1)
73 ifeq ($(DEBUG_FLAG),default)
77 ifeq ($(DEBUG_FLAG),1)
95 ifeq ($(MONOLITHIC),0)
98 ifeq ($(MONOLITHIC),1)
102 __gizmosdll___depname = \
103 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
106 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
108 ifeq ($(BUILD),debug)
109 ifeq ($(DEBUG_FLAG),default)
110 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
113 ifeq ($(DEBUG_FLAG),1)
114 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
116 ifeq ($(USE_EXCEPTIONS),0)
117 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
120 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
122 ifeq ($(USE_THREADS),0)
123 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
126 __UNICODE_DEFINE_p_1 = --define _UNICODE
128 ifeq ($(MONOLITHIC),1)
130 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
133 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
136 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
139 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
142 __UNICOWS_LIB_p = -lunicows
144 ifeq ($(MONOLITHIC),0)
146 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
148 ifeq ($(MONOLITHIC),0)
150 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
153 __gizmoslib___depname = \
154 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
156 ifeq ($(BUILD),debug)
157 ifeq ($(DEBUG_INFO),default)
161 ifeq ($(BUILD),release)
162 ifeq ($(DEBUG_INFO),default)
166 ifeq ($(DEBUG_INFO),0)
169 ifeq ($(DEBUG_INFO),1)
172 ifeq ($(BUILD),debug)
175 ifeq ($(BUILD),release)
178 ifeq ($(USE_THREADS),0)
181 ifeq ($(USE_THREADS),1)
182 __THREADSFLAG = -mthreads
185 __RTTIFLAG = -fno-rtti
190 ifeq ($(USE_EXCEPTIONS),0)
191 __EXCEPTIONSFLAG = -fno-exceptions
193 ifeq ($(USE_EXCEPTIONS),1)
197 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
199 ifeq ($(BUILD),debug)
200 ifeq ($(DEBUG_FLAG),default)
201 __DEBUG_DEFINE_p = -D__WXDEBUG__
204 ifeq ($(DEBUG_FLAG),1)
205 __DEBUG_DEFINE_p = -D__WXDEBUG__
207 ifeq ($(USE_EXCEPTIONS),0)
208 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
211 __RTTI_DEFINE_p = -DwxNO_RTTI
213 ifeq ($(USE_THREADS),0)
214 __THREAD_DEFINE_p = -DwxNO_THREADS
217 __UNICODE_DEFINE_p = -D_UNICODE
223 -if not exist $(OBJS) mkdir $(OBJS)
227 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
230 -if exist $(OBJS)\*.o del $(OBJS)\*.o
231 -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
232 -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
233 -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
236 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version_rc.o
237 $(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)
241 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS)
243 ar rcu $@ $(GIZMOSLIB_OBJECTS)
247 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
248 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
250 $(OBJS)\gizmosdll_version_rc.o: ../../src/gizmos/../../../src/msw/version.rc
251 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)
253 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
254 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
256 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
257 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
259 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
260 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
262 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
263 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
265 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
266 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
268 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
269 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
271 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
272 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
274 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
275 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
277 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
278 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
280 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
281 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
283 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
284 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
286 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
287 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
289 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
290 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<