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 # =========================================================================
11 !include ../../../build/msw/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
24 ..\..\src\svg\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 SVGDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
28 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) -I..\..\src\svg\..\..\..\include -I$(LIBDIRNAME) \
30 -I..\..\src\svg\..\..\..\src\tiff -I..\..\src\svg\..\..\..\src\jpeg \
31 -I..\..\src\svg\..\..\..\src\png -I..\..\src\svg\..\..\..\src\zlib \
32 -I..\..\src\svg\..\..\..\src\regex -I..\..\src\svg\..\..\..\src\expat\lib \
33 -I..\..\src\svg\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_SVG $(CXXFLAGS) -Hu \
34 -H=$(OBJS)\wxprec_svgdll.csm
36 $(OBJS)\svgdll_dummy.obj \
37 $(OBJS)\svgdll_dcsvg.obj
38 SVGLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
40 $(__UNICODE_DEFINE_p) -I..\..\src\svg\..\..\..\include -I$(LIBDIRNAME) \
41 -I..\..\src\svg\..\..\..\src\tiff -I..\..\src\svg\..\..\..\src\jpeg \
42 -I..\..\src\svg\..\..\..\src\png -I..\..\src\svg\..\..\..\src\zlib \
43 -I..\..\src\svg\..\..\..\src\regex -I..\..\src\svg\..\..\..\src\expat\lib \
44 -I..\..\src\svg\..\..\include $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_svglib.csm
46 $(OBJS)\svglib_dummy.obj \
47 $(OBJS)\svglib_dcsvg.obj
49 ### Conditionally set variables: ###
51 !if "$(USE_GUI)" == "0"
54 !if "$(USE_GUI)" == "1"
57 !if "$(OFFICIAL_BUILD)" == "0"
58 VENDORTAG = _$(VENDOR)
60 !if "$(OFFICIAL_BUILD)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66 !if "$(DEBUG_FLAG)" == "1"
69 !if "$(SHARED)" == "1"
72 !if "$(UNICODE)" == "1"
75 !if "$(WXUNIV)" == "1"
78 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
81 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
84 !if "$(DEBUG_INFO)" == "0"
87 !if "$(DEBUG_INFO)" == "1"
90 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
91 __DEBUG_DEFINE_p = -D__WXDEBUG__
93 !if "$(DEBUG_FLAG)" == "1"
94 __DEBUG_DEFINE_p = -D__WXDEBUG__
96 !if "$(USE_GUI)" == "1"
97 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
99 !if "$(USE_GUI)" == "1"
100 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
102 !if "$(USE_GUI)" == "1"
103 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
105 !if "$(BUILD)" == "debug"
108 !if "$(BUILD)" == "release"
111 !if "$(RUNTIME_LIBS)" == "dynamic"
112 __RUNTIME_LIBS = -tWR
114 !if "$(RUNTIME_LIBS)" == "static"
117 !if "$(RUNTIME_LIBS)" == "dynamic"
120 !if "$(RUNTIME_LIBS)" == "static"
123 !if "$(UNICODE)" == "1"
124 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
126 !if "$(MONOLITHIC)" == "0"
127 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
129 !if "$(MONOLITHIC)" == "0"
131 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
133 !if "$(MONOLITHIC)" == "1"
135 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
137 !if "$(WXUNIV)" == "1"
138 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
140 !if "$(SHARED)" == "1"
141 __svgdll___depname = \
142 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll
144 !if "$(SHARED)" == "0"
145 __svglib___depname = \
146 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
149 MAKEARGS = -DBUILD=$(BUILD) -DCFG=$(CFG) -DCPPFLAGS=$(CPPFLAGS) -DCXX=$(CXX) -DCXXFLAGS=$(CXXFLAGS) -DDEBUG_FLAG=$(DEBUG_FLAG) -DDEBUG_INFO=$(DEBUG_INFO) -DLDFLAGS=$(LDFLAGS) -DMONOLITHIC=$(MONOLITHIC) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DSHARED=$(SHARED) -DUNICODE=$(UNICODE) -DUSE_GUI=$(USE_GUI) -DVENDOR=$(VENDOR) -DWXUNIV=$(WXUNIV)
154 -if not exist $(OBJS) mkdir $(OBJS)
158 all: $(__svgdll___depname) $(__svglib___depname)
160 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
161 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) $**
163 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
164 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) -H $**
166 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
167 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) $**
169 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
170 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) -H $**
173 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
174 -if exist $(OBJS)\*.res del $(OBJS)\*.res
175 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
179 !if "$(SHARED)" == "1"
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll: $(SVGDLL_OBJECTS) $(OBJS)\svgdll_dummy.obj
181 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
182 c0d32.obj $(SVGDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
184 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg $@
187 !if "$(SHARED)" == "0"
188 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(SVGLIB_OBJECTS) $(OBJS)\svglib_dummy.obj
190 tlib /a /p2048 $@ @&&|