1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)2
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 GIZMOSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
24 -Wall -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
27 $(OBJS)\gizmosdll_dummy.o \
28 $(OBJS)\gizmosdll_dynamicsash.o \
29 $(OBJS)\gizmosdll_editlbox.o \
30 $(OBJS)\gizmosdll_ledctrl.o \
31 $(OBJS)\gizmosdll_multicell.o \
32 $(OBJS)\gizmosdll_splittree.o \
33 $(OBJS)\gizmosdll_statpict.o
34 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
35 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
37 -Wall -I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) \
38 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
40 $(OBJS)\gizmoslib_dummy.o \
41 $(OBJS)\gizmoslib_dynamicsash.o \
42 $(OBJS)\gizmoslib_editlbox.o \
43 $(OBJS)\gizmoslib_ledctrl.o \
44 $(OBJS)\gizmoslib_multicell.o \
45 $(OBJS)\gizmoslib_splittree.o \
46 $(OBJS)\gizmoslib_statpict.o
48 ### Conditionally set variables: ###
50 ifeq ($(GCC_VERSION),2.95)
51 GCCFLAGS = -fvtable-thunks
59 ifeq ($(OFFICIAL_BUILD),0)
60 VENDORTAG = _$(VENDOR)
62 ifeq ($(OFFICIAL_BUILD),1)
66 ifeq ($(DEBUG_FLAG),default)
70 ifeq ($(DEBUG_FLAG),1)
83 __gizmosdll___depname = \
84 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
86 ifeq ($(MONOLITHIC),1)
88 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
91 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
94 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
97 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
100 __UNICOWS_LIB_p = -lunicows
102 ifeq ($(MONOLITHIC),0)
104 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
106 ifeq ($(MONOLITHIC),0)
108 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
111 __gizmoslib___depname = \
112 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
114 ifeq ($(BUILD),debug)
115 ifeq ($(DEBUG_INFO),default)
119 ifeq ($(BUILD),release)
120 ifeq ($(DEBUG_INFO),default)
124 ifeq ($(DEBUG_INFO),0)
127 ifeq ($(DEBUG_INFO),1)
130 ifeq ($(BUILD),debug)
133 ifeq ($(BUILD),release)
136 ifeq ($(USE_EXCEPTIONS),0)
137 __EXCEPTIONSFLAG = -fno-rtti
139 ifeq ($(USE_EXCEPTIONS),1)
142 ifeq ($(USE_EXCEPTIONS),0)
143 __EXCEPTIONSFLAG_0 = -fno-exceptions
145 ifeq ($(USE_EXCEPTIONS),1)
149 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
151 ifeq ($(BUILD),debug)
152 ifeq ($(DEBUG_FLAG),default)
153 __DEBUG_DEFINE_p = -D__WXDEBUG__
156 ifeq ($(DEBUG_FLAG),1)
157 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 __UNICODE_DEFINE_p = -D_UNICODE
163 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_lib$(CFG)
166 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_dll$(CFG)
172 -if not exist $(OBJS) mkdir $(OBJS)
176 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
179 -if exist $(OBJS)\*.o del $(OBJS)\*.o
180 -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
181 -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
182 -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
185 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
186 $(CXX) -shared -o $@ $(GIZMOSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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)$(WX_RELEASE_NODOT) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) -lwxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p)
190 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS)
192 ar rcu $@ $(GIZMOSLIB_OBJECTS)
196 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
197 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
199 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
200 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
202 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
203 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
205 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
206 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
208 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
209 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
211 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
212 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
214 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
215 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
217 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
218 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
220 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
221 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
223 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
224 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
226 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
227 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
229 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
230 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
232 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
233 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
235 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
236 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<