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.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 SVGDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include \
24 /I$(SETUPHDIR) /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG \
25 $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch"
27 $(OBJS)\svgdll_dummy.obj \
28 $(OBJS)\svgdll_dcsvg.obj
29 SVGLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
31 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \
32 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include \
34 /I$(SETUPHDIR) /I..\..\src\svg\..\..\include $(CXXFLAGS) /GR /GX \
35 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch"
37 $(OBJS)\svglib_dummy.obj \
38 $(OBJS)\svglib_dcsvg.obj
40 ### Conditionally set variables: ###
42 !if "$(SHARED)" == "0"
43 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_lib$(CFG)
45 !if "$(SHARED)" == "1"
46 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_dll$(CFG)
48 !if "$(USE_GUI)" == "0"
51 !if "$(USE_GUI)" == "1"
54 !if "$(OFFICIAL_BUILD)" == "0"
55 VENDORTAG = _$(VENDOR)
57 !if "$(OFFICIAL_BUILD)" == "1"
60 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63 !if "$(DEBUG_FLAG)" == "1"
66 !if "$(SHARED)" == "1"
69 !if "$(UNICODE)" == "1"
72 !if "$(WXUNIV)" == "1"
75 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
78 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
81 !if "$(DEBUG_INFO)" == "0"
84 !if "$(DEBUG_INFO)" == "1"
87 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88 __DEBUGINFO_1 = /DEBUG
90 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
93 !if "$(DEBUG_INFO)" == "0"
96 !if "$(DEBUG_INFO)" == "1"
97 __DEBUGINFO_1 = /DEBUG
99 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
102 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
105 !if "$(DEBUG_INFO)" == "0"
108 !if "$(DEBUG_INFO)" == "1"
111 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
114 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
115 __DEBUGRUNTIME_12 = d
117 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
118 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
120 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
123 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
126 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
127 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
129 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
130 __DEBUG_DEFINE_p = /D__WXDEBUG__
132 !if "$(DEBUG_FLAG)" == "1"
133 __DEBUG_DEFINE_p = /D__WXDEBUG__
135 !if "$(USE_GUI)" == "1"
136 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
138 !if "$(USE_GUI)" == "1"
139 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
141 !if "$(USE_GUI)" == "1"
142 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144 !if "$(BUILD)" == "debug"
147 !if "$(BUILD)" == "release"
150 !if "$(RUNTIME_LIBS)" == "dynamic"
153 !if "$(RUNTIME_LIBS)" == "static"
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
160 __UNICOWS_LIB_p = unicows.lib
162 !if "$(MONOLITHIC)" == "0"
163 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
165 !if "$(MONOLITHIC)" == "0"
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
169 !if "$(MONOLITHIC)" == "1"
171 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
176 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
177 ____DEBUGINFO = /D_DEBUG
179 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
182 !if "$(DEBUG_INFO)" == "0"
185 !if "$(DEBUG_INFO)" == "1"
186 ____DEBUGINFO = /D_DEBUG
188 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
189 ____DEBUGRUNTIME_11_p =
191 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
192 ____DEBUGRUNTIME_11_p = /D_DEBUG
194 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
195 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
197 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
198 ____DEBUGRUNTIME_2_p =
200 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
201 ____DEBUGRUNTIME_2_p = /D_DEBUG
203 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
204 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
206 !if "$(SHARED)" == "1"
207 __svgdll___depname = \
208 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
210 !if "$(SHARED)" == "0"
211 __svglib___depname = \
212 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
218 -if not exist $(OBJS) mkdir $(OBJS)
222 all: $(__svgdll___depname) $(__svglib___depname)
224 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
225 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
227 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
228 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
230 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
231 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
233 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
234 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
237 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
238 -if exist $(OBJS)\*.res del $(OBJS)\*.res
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
241 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
243 !if "$(SHARED)" == "1"
244 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS)
245 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
246 $(SVGDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
250 !if "$(SHARED)" == "0"
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
253 lib /NOLOGO /OUT:$@ @<<