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 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
27 SVGDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
28 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
29 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\svg\..\..\..\include \
30 -I$(SETUPHDIR) -I..\..\src\svg\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_SVG \
31 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_svgdll.csm
33 $(OBJS)\svgdll_dummy.obj \
34 $(OBJS)\svgdll_dcsvg.obj
35 SVGLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
36 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
37 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\svg\..\..\..\include \
38 -I$(SETUPHDIR) -I..\..\src\svg\..\..\include $(CXXFLAGS) -Hu \
39 -H=$(OBJS)\wxprec_svglib.csm
41 $(OBJS)\svglib_dummy.obj \
42 $(OBJS)\svglib_dcsvg.obj
44 ### Conditionally set variables: ###
46 !if "$(SHARED)" == "0"
47 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\bcc_lib$(CFG)
49 !if "$(SHARED)" == "1"
50 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\bcc_dll$(CFG)
52 !if "$(USE_GUI)" == "0"
55 !if "$(USE_GUI)" == "1"
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
61 !if "$(OFFICIAL_BUILD)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(SHARED)" == "1"
73 !if "$(UNICODE)" == "1"
76 !if "$(WXUNIV)" == "1"
79 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
82 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
85 !if "$(DEBUG_INFO)" == "0"
88 !if "$(DEBUG_INFO)" == "1"
91 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
92 __DEBUG_DEFINE_p = -D__WXDEBUG__
94 !if "$(DEBUG_FLAG)" == "1"
95 __DEBUG_DEFINE_p = -D__WXDEBUG__
97 !if "$(USE_GUI)" == "1"
98 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
100 !if "$(USE_GUI)" == "1"
101 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
103 !if "$(USE_GUI)" == "1"
104 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
106 !if "$(BUILD)" == "debug"
109 !if "$(BUILD)" == "release"
112 !if "$(RUNTIME_LIBS)" == "dynamic"
113 __RUNTIME_LIBS = -tWR
115 !if "$(RUNTIME_LIBS)" == "static"
118 !if "$(RUNTIME_LIBS)" == "dynamic"
121 !if "$(RUNTIME_LIBS)" == "static"
124 !if "$(UNICODE)" == "1"
125 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
128 __UNICOWS_LIB_p = unicows.lib
130 !if "$(MONOLITHIC)" == "0"
131 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
133 !if "$(MONOLITHIC)" == "0"
135 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
137 !if "$(MONOLITHIC)" == "1"
139 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
141 !if "$(WXUNIV)" == "1"
142 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
144 !if "$(SHARED)" == "1"
145 __svgdll___depname = \
146 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll
148 !if "$(SHARED)" == "0"
149 __svglib___depname = \
150 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
156 -if not exist $(OBJS) mkdir $(OBJS)
160 all: $(__svgdll___depname) $(__svglib___depname)
162 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
163 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) $**
165 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
166 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) -H $**
168 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
169 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) $**
171 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
172 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) -H $**
175 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
176 -if exist $(OBJS)\*.res del $(OBJS)\*.res
177 -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
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
181 !if "$(SHARED)" == "1"
182 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS)
183 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
184 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 $(__UNICOWS_LIB_p) import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
186 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg $@
189 !if "$(SHARED)" == "0"
190 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
192 tlib /a /p2048 $@ @&&|