1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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)4
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) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W \
25 -Wall -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy \
27 $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\gizmosdll_dummy.o \
30 $(OBJS)\gizmosdll_dynamicsash.o \
31 $(OBJS)\gizmosdll_editlbox.o \
32 $(OBJS)\gizmosdll_ledctrl.o \
33 $(OBJS)\gizmosdll_multicell.o \
34 $(OBJS)\gizmosdll_splittree.o \
35 $(OBJS)\gizmosdll_statpict.o
36 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
37 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
38 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W \
39 -Wall -I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) \
40 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
42 $(OBJS)\gizmoslib_dummy.o \
43 $(OBJS)\gizmoslib_dynamicsash.o \
44 $(OBJS)\gizmoslib_editlbox.o \
45 $(OBJS)\gizmoslib_ledctrl.o \
46 $(OBJS)\gizmoslib_multicell.o \
47 $(OBJS)\gizmoslib_splittree.o \
48 $(OBJS)\gizmoslib_statpict.o
50 ### Conditionally set variables: ###
52 ifeq ($(GCC_VERSION),2.95)
53 GCCFLAGS = -fvtable-thunks
61 ifeq ($(OFFICIAL_BUILD),0)
62 VENDORTAG = _$(VENDOR)
64 ifeq ($(OFFICIAL_BUILD),1)
68 ifeq ($(DEBUG_FLAG),default)
72 ifeq ($(DEBUG_FLAG),1)
90 ifeq ($(MONOLITHIC),0)
93 ifeq ($(MONOLITHIC),1)
97 __gizmosdll___depname = \
98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
100 ifeq ($(MONOLITHIC),1)
102 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
105 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
108 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
111 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
114 __UNICOWS_LIB_p = -lunicows
116 ifeq ($(MONOLITHIC),0)
118 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
120 ifeq ($(MONOLITHIC),0)
122 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
125 __gizmoslib___depname = \
126 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
128 ifeq ($(BUILD),debug)
129 ifeq ($(DEBUG_INFO),default)
133 ifeq ($(BUILD),release)
134 ifeq ($(DEBUG_INFO),default)
138 ifeq ($(DEBUG_INFO),0)
141 ifeq ($(DEBUG_INFO),1)
144 ifeq ($(BUILD),debug)
147 ifeq ($(BUILD),release)
150 ifeq ($(USE_EXCEPTIONS),0)
151 __EXCEPTIONSFLAG = -fno-rtti
153 ifeq ($(USE_EXCEPTIONS),1)
156 ifeq ($(USE_EXCEPTIONS),0)
157 __EXCEPTIONSFLAG_0 = -fno-exceptions
159 ifeq ($(USE_EXCEPTIONS),1)
163 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
165 ifeq ($(BUILD),debug)
166 ifeq ($(DEBUG_FLAG),default)
167 __DEBUG_DEFINE_p = -D__WXDEBUG__
170 ifeq ($(DEBUG_FLAG),1)
171 __DEBUG_DEFINE_p = -D__WXDEBUG__
174 __UNICODE_DEFINE_p = -D_UNICODE
180 -if not exist $(OBJS) mkdir $(OBJS)
184 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
187 -if exist $(OBJS)\*.o del $(OBJS)\*.o
188 -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
189 -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
190 -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
193 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
194 $(CXX) -shared -fPIC -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) -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)
198 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS)
200 ar rcu $@ $(GIZMOSLIB_OBJECTS)
204 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
205 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
207 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
208 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
210 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
211 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
213 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
214 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
216 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
217 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
219 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
220 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
222 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
223 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
225 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
226 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
228 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
229 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
231 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
232 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
234 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
235 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
237 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
238 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
240 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
241 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
243 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
244 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<