]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/svg/makefile.gcc
Regenerated makefiles
[wxWidgets.git] / contrib / build / svg / makefile.gcc
CommitLineData
0ca4ab85
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
0ca4ab85
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7include ../../../build/msw/config.gcc
0ca4ab85
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
c33fae85 15WX_RELEASE_NODOT = 25
ab921f5f 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
0ca4ab85
VS
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
21SVGDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
22 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
23 -I..\..\src\svg\..\..\..\include -I$(SETUPHDIR) -Wall \
24 -I..\..\src\svg\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_SVG \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
0ca4ab85
VS
26SVGDLL_OBJECTS = \
27 $(OBJS)\svgdll_dummy.o \
28 $(OBJS)\svgdll_dcsvg.o
9bfe7ad9
VS
29SVGLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
30 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
31 -I..\..\src\svg\..\..\..\include -I$(SETUPHDIR) -Wall \
32 -I..\..\src\svg\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
33 $(CPPFLAGS) $(CXXFLAGS)
0ca4ab85
VS
34SVGLIB_OBJECTS = \
35 $(OBJS)\svglib_dummy.o \
36 $(OBJS)\svglib_dcsvg.o
37
38### Conditionally set variables: ###
39
40ifeq ($(GCC_VERSION),2.95)
41GCCFLAGS = -fvtable-thunks
42endif
43ifeq ($(USE_GUI),0)
44PORTNAME = base
45endif
46ifeq ($(USE_GUI),1)
47PORTNAME = msw
48endif
49ifeq ($(OFFICIAL_BUILD),0)
50VENDORTAG = _$(VENDOR)
51endif
52ifeq ($(OFFICIAL_BUILD),1)
53VENDORTAG =
54endif
55ifeq ($(BUILD),debug)
3f55f5b8
VS
56ifeq ($(DEBUG_FLAG),default)
57WXDEBUGFLAG = d
58endif
59endif
60ifeq ($(DEBUG_FLAG),1)
0ca4ab85
VS
61WXDEBUGFLAG = d
62endif
0ca4ab85
VS
63ifeq ($(UNICODE),1)
64WXUNICODEFLAG = u
65endif
66ifeq ($(WXUNIV),1)
67WXUNIVNAME = univ
68endif
b17c1746
DE
69ifeq ($(SHARED),1)
70WXDLLFLAG = dll
71endif
dd65d8c8
RN
72ifeq ($(MONOLITHIC),0)
73EXTRALIBS_FOR_BASE =
74endif
75ifeq ($(MONOLITHIC),1)
76EXTRALIBS_FOR_BASE =
77endif
b17c1746
DE
78ifeq ($(SHARED),1)
79__svgdll___depname = \
c33fae85 80 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_gcc$(VENDORTAG).dll
b17c1746
DE
81endif
82ifeq ($(MONOLITHIC),1)
83__WXLIB_MONO_p = \
c33fae85 84 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
85endif
86ifeq ($(USE_GUI),1)
9c2d002b 87__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
b17c1746
DE
88endif
89ifeq ($(USE_GUI),1)
9c2d002b 90__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
b17c1746
DE
91endif
92ifeq ($(USE_GUI),1)
9c2d002b 93__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
b17c1746
DE
94endif
95ifeq ($(MSLU),1)
96__UNICOWS_LIB_p = -lunicows
97endif
98ifeq ($(MONOLITHIC),0)
99__WXLIB_CORE_p = \
c33fae85 100 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
b17c1746
DE
101endif
102ifeq ($(MONOLITHIC),0)
c33fae85
RN
103__WXLIB_BASE_p = \
104 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
105endif
106ifeq ($(SHARED),0)
107__svglib___depname = \
c33fae85 108 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a
b17c1746 109endif
0ca4ab85 110ifeq ($(BUILD),debug)
3f55f5b8
VS
111ifeq ($(DEBUG_INFO),default)
112__DEBUGINFO = -g
113endif
0ca4ab85
VS
114endif
115ifeq ($(BUILD),release)
3f55f5b8
VS
116ifeq ($(DEBUG_INFO),default)
117__DEBUGINFO =
118endif
119endif
120ifeq ($(DEBUG_INFO),0)
121__DEBUGINFO =
122endif
123ifeq ($(DEBUG_INFO),1)
124__DEBUGINFO = -g
0ca4ab85
VS
125endif
126ifeq ($(BUILD),debug)
b17c1746 127__OPTIMIZEFLAG = -O0
3f55f5b8 128endif
b17c1746
DE
129ifeq ($(BUILD),release)
130__OPTIMIZEFLAG = -O2
0ca4ab85 131endif
a4ad36cd
VS
132ifeq ($(USE_EXCEPTIONS),0)
133__EXCEPTIONSFLAG = -fno-rtti
134endif
135ifeq ($(USE_EXCEPTIONS),1)
136__EXCEPTIONSFLAG =
137endif
138ifeq ($(USE_EXCEPTIONS),0)
139__EXCEPTIONSFLAG_0 = -fno-exceptions
140endif
141ifeq ($(USE_EXCEPTIONS),1)
142__EXCEPTIONSFLAG_0 =
143endif
b17c1746
DE
144ifeq ($(WXUNIV),1)
145__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
0ca4ab85
VS
146endif
147ifeq ($(BUILD),debug)
b17c1746
DE
148ifeq ($(DEBUG_FLAG),default)
149__DEBUG_DEFINE_p = -D__WXDEBUG__
0ca4ab85 150endif
b17c1746
DE
151endif
152ifeq ($(DEBUG_FLAG),1)
153__DEBUG_DEFINE_p = -D__WXDEBUG__
0ca4ab85
VS
154endif
155ifeq ($(UNICODE),1)
ec08d395 156__UNICODE_DEFINE_p = -D_UNICODE
0ca4ab85 157endif
b17c1746
DE
158ifeq ($(SHARED),0)
159LIBDIRNAME = ..\..\src\svg\..\..\..\lib\gcc_lib$(CFG)
0ca4ab85
VS
160endif
161ifeq ($(SHARED),1)
b17c1746 162LIBDIRNAME = ..\..\src\svg\..\..\..\lib\gcc_dll$(CFG)
0ca4ab85
VS
163endif
164
165
166all: $(OBJS)
167$(OBJS):
168 -if not exist $(OBJS) mkdir $(OBJS)
169
170### Targets: ###
171
172all: $(__svgdll___depname) $(__svglib___depname)
173
0ca4ab85
VS
174clean:
175 -if exist $(OBJS)\*.o del $(OBJS)\*.o
c33fae85
RN
176 -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
177 -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
178 -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
0ca4ab85
VS
179
180ifeq ($(SHARED),1)
c33fae85 181$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_gcc$(VENDORTAG).dll: $(SVGDLL_OBJECTS)
dd65d8c8 182 $(CXX) -shared -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)
0ca4ab85
VS
183endif
184
185ifeq ($(SHARED),0)
c33fae85 186$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.a: $(SVGLIB_OBJECTS)
0ca4ab85
VS
187 if exist $@ del $@
188 ar rcu $@ $(SVGLIB_OBJECTS)
189 ranlib $@
190endif
191
b17c1746
DE
192$(OBJS)\svgdll_dummy.o: ../../src/svg/../../../src/msw/dummy.cpp
193 $(CXX) -c -o $@ $(SVGDLL_CXXFLAGS) $<
194
195$(OBJS)\svgdll_dcsvg.o: ../../src/svg/dcsvg.cpp
196 $(CXX) -c -o $@ $(SVGDLL_CXXFLAGS) $<
197
198$(OBJS)\svglib_dummy.o: ../../src/svg/../../../src/msw/dummy.cpp
199 $(CXX) -c -o $@ $(SVGLIB_CXXFLAGS) $<
200
201$(OBJS)\svglib_dcsvg.o: ../../src/svg/dcsvg.cpp
202 $(CXX) -c -o $@ $(SVGLIB_CXXFLAGS) $<
203
0ca4ab85 204.PHONY: all clean