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 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 $(OBJS)\gizmosdll_treelistctrl.o
33 GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
34 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
36 -Wall -I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) \
37 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\gizmoslib_dummy.o \
40 $(OBJS)\gizmoslib_dynamicsash.o \
41 $(OBJS)\gizmoslib_editlbox.o \
42 $(OBJS)\gizmoslib_ledctrl.o \
43 $(OBJS)\gizmoslib_multicell.o \
44 $(OBJS)\gizmoslib_splittree.o \
45 $(OBJS)\gizmoslib_statpict.o \
46 $(OBJS)\gizmoslib_treelistctrl.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)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
86 ifeq ($(MONOLITHIC),1)
88 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
91 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
94 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
97 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
100 __UNICOWS_LIB_p = -lunicows
102 ifeq ($(MONOLITHIC),0)
103 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
105 ifeq ($(MONOLITHIC),0)
107 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
110 __gizmoslib___depname = \
111 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
113 ifeq ($(BUILD),debug)
114 ifeq ($(DEBUG_INFO),default)
118 ifeq ($(BUILD),release)
119 ifeq ($(DEBUG_INFO),default)
123 ifeq ($(DEBUG_INFO),0)
126 ifeq ($(DEBUG_INFO),1)
129 ifeq ($(BUILD),debug)
132 ifeq ($(BUILD),release)
135 ifeq ($(USE_EXCEPTIONS),0)
136 __EXCEPTIONSFLAG = -fno-rtti
138 ifeq ($(USE_EXCEPTIONS),1)
141 ifeq ($(USE_EXCEPTIONS),0)
142 __EXCEPTIONSFLAG_0 = -fno-exceptions
144 ifeq ($(USE_EXCEPTIONS),1)
148 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
150 ifeq ($(BUILD),debug)
151 ifeq ($(DEBUG_FLAG),default)
152 __DEBUG_DEFINE_p = -D__WXDEBUG__
155 ifeq ($(DEBUG_FLAG),1)
156 __DEBUG_DEFINE_p = -D__WXDEBUG__
159 __UNICODE_DEFINE_p = -D_UNICODE
162 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_lib$(CFG)
165 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_dll$(CFG)
171 -if not exist $(OBJS) mkdir $(OBJS)
175 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
178 -if exist $(OBJS)\*.o del $(OBJS)\*.o
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
180 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
181 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
184 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
185 $(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)
189 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a: $(GIZMOSLIB_OBJECTS)
191 ar rcu $@ $(GIZMOSLIB_OBJECTS)
195 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
196 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
198 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
199 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
201 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
202 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
204 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
205 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
207 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
208 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
210 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
211 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
213 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
214 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
216 $(OBJS)\gizmosdll_treelistctrl.o: ../../src/gizmos/treelistctrl.cpp
217 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
219 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
220 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
222 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
223 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
225 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
226 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
228 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
229 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
231 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
232 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
234 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
235 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
237 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
238 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
240 $(OBJS)\gizmoslib_treelistctrl.o: ../../src/gizmos/treelistctrl.cpp
241 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<