1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 GIZMOSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
22 -Wall -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
23 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
25 $(OBJS)\gizmosdll_dummy.o \
26 $(OBJS)\gizmosdll_dynamicsash.o \
27 $(OBJS)\gizmosdll_editlbox.o \
28 $(OBJS)\gizmosdll_ledctrl.o \
29 $(OBJS)\gizmosdll_multicell.o \
30 $(OBJS)\gizmosdll_splittree.o \
31 $(OBJS)\gizmosdll_statpict.o
32 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
33 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
34 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
35 -Wall -I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) \
36 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
38 $(OBJS)\gizmoslib_dummy.o \
39 $(OBJS)\gizmoslib_dynamicsash.o \
40 $(OBJS)\gizmoslib_editlbox.o \
41 $(OBJS)\gizmoslib_ledctrl.o \
42 $(OBJS)\gizmoslib_multicell.o \
43 $(OBJS)\gizmoslib_splittree.o \
44 $(OBJS)\gizmoslib_statpict.o
46 ### Conditionally set variables: ###
48 ifeq ($(GCC_VERSION),2.95)
49 GCCFLAGS = -fvtable-thunks
57 ifeq ($(OFFICIAL_BUILD),0)
58 VENDORTAG = _$(VENDOR)
60 ifeq ($(OFFICIAL_BUILD),1)
64 ifeq ($(DEBUG_FLAG),default)
68 ifeq ($(DEBUG_FLAG),1)
81 __gizmosdll___depname = \
82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
84 ifeq ($(MONOLITHIC),1)
86 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
89 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
92 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
95 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
98 __UNICOWS_LIB_p = -lunicows
100 ifeq ($(MONOLITHIC),0)
101 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
103 ifeq ($(MONOLITHIC),0)
105 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
108 __gizmoslib___depname = \
109 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
111 ifeq ($(BUILD),debug)
112 ifeq ($(DEBUG_INFO),default)
116 ifeq ($(BUILD),release)
117 ifeq ($(DEBUG_INFO),default)
121 ifeq ($(DEBUG_INFO),0)
124 ifeq ($(DEBUG_INFO),1)
127 ifeq ($(BUILD),debug)
130 ifeq ($(BUILD),release)
133 ifeq ($(USE_EXCEPTIONS),0)
134 __EXCEPTIONSFLAG = -fno-rtti
136 ifeq ($(USE_EXCEPTIONS),1)
139 ifeq ($(USE_EXCEPTIONS),0)
140 __EXCEPTIONSFLAG_0 = -fno-exceptions
142 ifeq ($(USE_EXCEPTIONS),1)
146 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
148 ifeq ($(BUILD),debug)
149 ifeq ($(DEBUG_FLAG),default)
150 __DEBUG_DEFINE_p = -D__WXDEBUG__
153 ifeq ($(DEBUG_FLAG),1)
154 __DEBUG_DEFINE_p = -D__WXDEBUG__
157 __UNICODE_DEFINE_p = -D_UNICODE
160 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_lib$(CFG)
163 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_dll$(CFG)
169 -if not exist $(OBJS) mkdir $(OBJS)
173 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
176 -if exist $(OBJS)\*.o del $(OBJS)\*.o
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
178 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
179 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
182 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
183 $(CXX) -shared -o $@ $(GIZMOSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p)
187 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a: $(GIZMOSLIB_OBJECTS)
189 ar rcu $@ $(GIZMOSLIB_OBJECTS)
193 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
194 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
196 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
197 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
199 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
200 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
202 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
203 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
205 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
206 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
208 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
209 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
211 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
212 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
214 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
215 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
217 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
218 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
220 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
221 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
223 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
224 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
226 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
227 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
229 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
230 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
232 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
233 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<