1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 # -------------------------------------------------------------------------
15 GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
16 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
17 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
18 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
21 $(OBJS)\gizmosdll_dummy.o \
22 $(OBJS)\gizmosdll_dynamicsash.o \
23 $(OBJS)\gizmosdll_editlbox.o \
24 $(OBJS)\gizmosdll_ledctrl.o \
25 $(OBJS)\gizmosdll_multicell.o \
26 $(OBJS)\gizmosdll_splittree.o \
27 $(OBJS)\gizmosdll_statpict.o
28 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
29 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
31 -I..\..\src\gizmos\..\..\include $(CXXFLAGS)
33 $(OBJS)\gizmoslib_dummy.o \
34 $(OBJS)\gizmoslib_dynamicsash.o \
35 $(OBJS)\gizmoslib_editlbox.o \
36 $(OBJS)\gizmoslib_ledctrl.o \
37 $(OBJS)\gizmoslib_multicell.o \
38 $(OBJS)\gizmoslib_splittree.o \
39 $(OBJS)\gizmoslib_statpict.o
41 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
43 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
45 ### Conditionally set variables: ###
47 ifeq ($(GCC_VERSION),2.95)
48 GCCFLAGS = -fvtable-thunks
51 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_lib$(CFG)
54 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_dll$(CFG)
62 ifeq ($(OFFICIAL_BUILD),0)
63 VENDORTAG = _$(VENDOR)
65 ifeq ($(OFFICIAL_BUILD),1)
69 ifeq ($(DEBUG_FLAG),default)
73 ifeq ($(DEBUG_FLAG),1)
86 ifeq ($(DEBUG_INFO),default)
90 ifeq ($(BUILD),release)
91 ifeq ($(DEBUG_INFO),default)
95 ifeq ($(DEBUG_INFO),0)
98 ifeq ($(DEBUG_INFO),1)
101 ifeq ($(BUILD),debug)
102 ifeq ($(DEBUG_FLAG),default)
103 __DEBUG_DEFINE_p = -D__WXDEBUG__
106 ifeq ($(DEBUG_FLAG),1)
107 __DEBUG_DEFINE_p = -D__WXDEBUG__
110 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
113 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
116 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
118 ifeq ($(BUILD),debug)
121 ifeq ($(BUILD),release)
125 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
128 __UNICOWS_LIB_p = -lunicows
130 ifeq ($(MONOLITHIC),0)
131 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
133 ifeq ($(MONOLITHIC),0)
135 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
137 ifeq ($(MONOLITHIC),1)
139 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
142 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
145 __gizmosdll___depname = \
146 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
149 __gizmoslib___depname = \
150 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
156 -if not exist $(OBJS) mkdir $(OBJS)
160 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
162 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
163 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
165 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
166 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
168 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
169 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
171 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
172 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
174 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
175 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
177 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
178 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
180 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
181 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
183 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
184 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
186 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
187 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
189 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
190 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
192 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
193 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
195 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
196 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
198 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
199 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
201 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
202 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
205 -if exist $(OBJS)\*.o del $(OBJS)\*.o
206 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
207 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
208 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
211 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
212 $(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$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p)
216 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a: $(GIZMOSLIB_OBJECTS)
218 ar rcu $@ $(GIZMOSLIB_OBJECTS)