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\svg\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 SVGDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
23 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 -I..\..\src\svg\..\..\..\include -I$(SETUPHDIR) -W -Wall \
25 -I..\..\src\svg\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_SVG \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy \
27 $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\svgdll_dummy.o \
30 $(OBJS)\svgdll_dcsvg.o
31 SVGLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
32 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
33 -I..\..\src\svg\..\..\..\include -I$(SETUPHDIR) -W -Wall \
34 -I..\..\src\svg\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
35 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
37 $(OBJS)\svglib_dummy.o \
38 $(OBJS)\svglib_dcsvg.o
40 ### Conditionally set variables: ###
42 ifeq ($(GCC_VERSION),2.95)
43 GCCFLAGS = -fvtable-thunks
51 ifeq ($(OFFICIAL_BUILD),0)
52 VENDORTAG = _$(VENDOR)
54 ifeq ($(OFFICIAL_BUILD),1)
58 ifeq ($(DEBUG_FLAG),default)
62 ifeq ($(DEBUG_FLAG),1)
80 ifeq ($(MONOLITHIC),0)
83 ifeq ($(MONOLITHIC),1)
87 __svgdll___depname = \
88 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_gcc$(VENDORTAG).dll
90 ifeq ($(MONOLITHIC),1)
92 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
95 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
98 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
101 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
104 __UNICOWS_LIB_p = -lunicows
106 ifeq ($(MONOLITHIC),0)
108 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
110 ifeq ($(MONOLITHIC),0)
112 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
115 __svglib___depname = \
116 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a
118 ifeq ($(BUILD),debug)
119 ifeq ($(DEBUG_INFO),default)
123 ifeq ($(BUILD),release)
124 ifeq ($(DEBUG_INFO),default)
128 ifeq ($(DEBUG_INFO),0)
131 ifeq ($(DEBUG_INFO),1)
134 ifeq ($(BUILD),debug)
137 ifeq ($(BUILD),release)
140 ifeq ($(USE_EXCEPTIONS),0)
141 __EXCEPTIONSFLAG = -fno-rtti
143 ifeq ($(USE_EXCEPTIONS),1)
146 ifeq ($(USE_EXCEPTIONS),0)
147 __EXCEPTIONSFLAG_0 = -fno-exceptions
149 ifeq ($(USE_EXCEPTIONS),1)
153 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
155 ifeq ($(BUILD),debug)
156 ifeq ($(DEBUG_FLAG),default)
157 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 ifeq ($(DEBUG_FLAG),1)
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
164 __UNICODE_DEFINE_p = -D_UNICODE
170 -if not exist $(OBJS) mkdir $(OBJS)
174 all: $(__svgdll___depname) $(__svglib___depname)
177 -if exist $(OBJS)\*.o del $(OBJS)\*.o
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_gcc$(VENDORTAG).dll
179 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a
180 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a
183 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_gcc$(VENDORTAG).dll: $(SVGDLL_OBJECTS)
184 $(CXX) -shared -fPIC -o $@ $(SVGDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.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_CORE_p) $(__WXLIB_BASE_p)
188 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a: $(SVGLIB_OBJECTS)
190 ar rcu $@ $(SVGLIB_OBJECTS)
194 $(OBJS)\svgdll_dummy.o: ../../src/svg/../../../src/msw/dummy.cpp
195 $(CXX) -c -o $@ $(SVGDLL_CXXFLAGS) $<
197 $(OBJS)\svgdll_dcsvg.o: ../../src/svg/dcsvg.cpp
198 $(CXX) -c -o $@ $(SVGDLL_CXXFLAGS) $<
200 $(OBJS)\svglib_dummy.o: ../../src/svg/../../../src/msw/dummy.cpp
201 $(CXX) -c -o $@ $(SVGLIB_CXXFLAGS) $<
203 $(OBJS)\svglib_dcsvg.o: ../../src/svg/dcsvg.cpp
204 $(CXX) -c -o $@ $(SVGLIB_CXXFLAGS) $<