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/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 ..\..\src\svg\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 SVGDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) /DWIN32 \
20 $(__DEBUGFLAG_2) $(____DEBUGFLAG) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \
22 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(LIBDIRNAME) \
24 /I..\..\src\svg\..\..\..\src\tiff /I..\..\src\svg\..\..\..\src\jpeg \
25 /I..\..\src\svg\..\..\..\src\png /I..\..\src\svg\..\..\..\src\zlib \
26 /I..\..\src\svg\..\..\..\src\regex /I..\..\src\svg\..\..\..\src\expat\lib \
27 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG $(CXXFLAGS) \
28 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch"
30 $(OBJS)\svgdll_dummy.obj \
31 $(OBJS)\svgdll_dcsvg.obj
32 SVGLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) /DWIN32 \
33 $(__DEBUGFLAG_2) $(____DEBUGFLAG) \
34 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \
35 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(LIBDIRNAME) \
37 /I..\..\src\svg\..\..\..\src\tiff /I..\..\src\svg\..\..\..\src\jpeg \
38 /I..\..\src\svg\..\..\..\src\png /I..\..\src\svg\..\..\..\src\zlib \
39 /I..\..\src\svg\..\..\..\src\regex /I..\..\src\svg\..\..\..\src\expat\lib \
40 /I..\..\src\svg\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \
41 /Fp"$(OBJS)\wxprec_svglib.pch"
43 $(OBJS)\svglib_dummy.obj \
44 $(OBJS)\svglib_dcsvg.obj
46 ### Conditionally set variables: ###
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"
63 !if "$(SHARED)" == "1"
66 !if "$(UNICODE)" == "1"
69 !if "$(WXUNIV)" == "1"
72 !if "$(BUILD)" == "debug"
75 !if "$(BUILD)" == "release"
78 !if "$(BUILD)" == "debug"
79 __DEBUGFLAG_1 = /DEBUG
81 !if "$(BUILD)" == "release"
84 !if "$(BUILD)" == "debug"
87 !if "$(BUILD)" == "release"
90 !if "$(BUILD)" == "debug"
91 __DEBUG_DEFINE_p = /D__WXDEBUG__
93 !if "$(USE_GUI)" == "1"
94 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
96 !if "$(USE_GUI)" == "1"
97 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
99 !if "$(USE_GUI)" == "1"
100 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
102 !if "$(BUILD)" == "debug"
105 !if "$(BUILD)" == "release"
108 !if "$(RUNTIME_LIBS)" == "dynamic"
111 !if "$(RUNTIME_LIBS)" == "static"
114 !if "$(UNICODE)" == "1"
115 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
117 !if "$(MONOLITHIC)" == "0"
118 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
120 !if "$(MONOLITHIC)" == "0"
122 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
124 !if "$(MONOLITHIC)" == "1"
126 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
128 !if "$(WXUNIV)" == "1"
129 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
131 !if "$(BUILD)" == "debug"
132 ____DEBUGFLAG = /D_DEBUG
134 !if "$(BUILD)" == "release"
135 ____DEBUGFLAG = /DNDEBUG
137 !if "$(SHARED)" == "1"
138 __svgdll___depname = \
139 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
141 !if "$(SHARED)" == "0"
142 __svglib___depname = \
143 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
149 -if not exist $(OBJS) mkdir $(OBJS)
153 all: $(__svgdll___depname) $(__svglib___depname)
155 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
156 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
158 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
159 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
161 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
162 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
164 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
165 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
168 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
169 -if exist $(OBJS)\*.res del $(OBJS)\*.res
170 -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
171 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
172 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
174 !if "$(SHARED)" == "1"
175 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(SVGDLL_OBJECTS) $(OBJS)\svgdll_dummy.obj
176 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:$(LIBDIRNAME) @<<
177 $(SVGDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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
181 !if "$(SHARED)" == "0"
182 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(SVGLIB_OBJECTS) $(OBJS)\svglib_dummy.obj
184 lib /NOLOGO /OUT:$@ @<<