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$(LIBDIRNAME) \
18 -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg \
19 -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib \
20 -I..\..\src\gizmos\..\..\..\src\regex \
21 -I..\..\src\gizmos\..\..\..\src\expat\lib \
22 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
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 = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
33 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
34 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(LIBDIRNAME) \
35 -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg \
36 -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib \
37 -I..\..\src\gizmos\..\..\..\src\regex \
38 -I..\..\src\gizmos\..\..\..\src\expat\lib \
39 -I..\..\src\gizmos\..\..\include $(CXXFLAGS)
41 $(OBJS)\gizmoslib_dummy.o \
42 $(OBJS)\gizmoslib_dynamicsash.o \
43 $(OBJS)\gizmoslib_editlbox.o \
44 $(OBJS)\gizmoslib_ledctrl.o \
45 $(OBJS)\gizmoslib_multicell.o \
46 $(OBJS)\gizmoslib_splittree.o \
47 $(OBJS)\gizmoslib_statpict.o
49 ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
51 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
53 ### Conditionally set variables: ###
55 ifeq ($(GCC_VERSION),2.95)
56 GCCFLAGS = -fvtable-thunks
64 ifeq ($(OFFICIAL_BUILD),0)
65 VENDORTAG = _$(VENDOR)
67 ifeq ($(OFFICIAL_BUILD),1)
71 ifeq ($(DEBUG_FLAG),default)
75 ifeq ($(DEBUG_FLAG),1)
88 ifeq ($(DEBUG_INFO),default)
92 ifeq ($(BUILD),release)
93 ifeq ($(DEBUG_INFO),default)
97 ifeq ($(DEBUG_INFO),0)
100 ifeq ($(DEBUG_INFO),1)
103 ifeq ($(BUILD),debug)
104 ifeq ($(DEBUG_FLAG),default)
105 __DEBUG_DEFINE_p = -D__WXDEBUG__
108 ifeq ($(DEBUG_FLAG),1)
109 __DEBUG_DEFINE_p = -D__WXDEBUG__
112 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
115 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
118 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
120 ifeq ($(BUILD),debug)
123 ifeq ($(BUILD),release)
127 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
129 ifeq ($(MONOLITHIC),0)
130 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
132 ifeq ($(MONOLITHIC),0)
134 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
136 ifeq ($(MONOLITHIC),1)
138 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
141 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
144 __gizmosdll___depname = \
145 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
148 __gizmoslib___depname = \
149 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
152 MAKEARGS = BUILD=$(BUILD) CFG=$(CFG) CPPFLAGS=$(CPPFLAGS) CXX=$(CXX) CXXFLAGS=$(CXXFLAGS) DEBUG_FLAG=$(DEBUG_FLAG) DEBUG_INFO=$(DEBUG_INFO) GCC_VERSION=$(GCC_VERSION) LDFLAGS=$(LDFLAGS) MONOLITHIC=$(MONOLITHIC) OFFICIAL_BUILD=$(OFFICIAL_BUILD) SHARED=$(SHARED) UNICODE=$(UNICODE) USE_GUI=$(USE_GUI) VENDOR=$(VENDOR) WXUNIV=$(WXUNIV)
157 -if not exist $(OBJS) mkdir $(OBJS)
161 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
163 $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
164 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
166 $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos\dynamicsash.cpp
167 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
169 $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos\editlbox.cpp
170 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
172 $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos\ledctrl.cpp
173 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
175 $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos\multicell.cpp
176 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
178 $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos\splittree.cpp
179 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
181 $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos\statpict.cpp
182 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
184 $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
185 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
187 $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos\dynamicsash.cpp
188 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
190 $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos\editlbox.cpp
191 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
193 $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos\ledctrl.cpp
194 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
196 $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos\multicell.cpp
197 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
199 $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos\splittree.cpp
200 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
202 $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos\statpict.cpp
203 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
206 -if exist $(OBJS)\*.o del $(OBJS)\*.o
207 -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
208 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
209 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
212 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
213 $(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) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_BASE_p) $(__WXLIB_CORE_p)
217 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a: $(GIZMOSLIB_OBJECTS)
219 ar rcu $@ $(GIZMOSLIB_OBJECTS)