]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/svg/makefile.bcc
Regenerated makefiles
[wxWidgets.git] / contrib / build / svg / makefile.bcc
CommitLineData
0ca4ab85
VS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
0ca4ab85
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
0ca4ab85 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
0ca4ab85
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
15
fd9f42b6 16!include ../../../build/msw/config.bcc
0ca4ab85
VS
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
0ca4ab85
VS
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
b14abf14 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
0ca4ab85
VS
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 28LIBDIRNAME = ..\..\src\svg\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
75a0a7b7
VS
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
31SVGDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\svg\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\svg\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_SVG -Hu \
35 -H=$(OBJS)\wxprec_svgdll.csm $(CPPFLAGS) $(CXXFLAGS)
0ca4ab85
VS
36SVGDLL_OBJECTS = \
37 $(OBJS)\svgdll_dummy.obj \
38 $(OBJS)\svgdll_dcsvg.obj
9bfe7ad9
VS
39SVGLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
40 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
41 $(__UNICODE_DEFINE_p) -I..\..\src\svg\..\..\..\include -I$(SETUPHDIR) \
42 -I..\..\src\svg\..\..\include -Hu -H=$(OBJS)\wxprec_svglib.csm $(CPPFLAGS) \
43 $(CXXFLAGS)
0ca4ab85
VS
44SVGLIB_OBJECTS = \
45 $(OBJS)\svglib_dummy.obj \
46 $(OBJS)\svglib_dcsvg.obj
47
48### Conditionally set variables: ###
49
50!if "$(USE_GUI)" == "0"
51PORTNAME = base
52!endif
53!if "$(USE_GUI)" == "1"
54PORTNAME = msw
55!endif
56!if "$(OFFICIAL_BUILD)" == "0"
57VENDORTAG = _$(VENDOR)
58!endif
59!if "$(OFFICIAL_BUILD)" == "1"
60VENDORTAG =
61!endif
3f55f5b8
VS
62!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63WXDEBUGFLAG = d
64!endif
65!if "$(DEBUG_FLAG)" == "1"
0ca4ab85
VS
66WXDEBUGFLAG = d
67!endif
0ca4ab85
VS
68!if "$(UNICODE)" == "1"
69WXUNICODEFLAG = u
70!endif
71!if "$(WXUNIV)" == "1"
72WXUNIVNAME = univ
73!endif
b17c1746
DE
74!if "$(SHARED)" == "1"
75WXDLLFLAG = dll
0ca4ab85 76!endif
b14abf14
JS
77!if "$(SHARED)" == "0"
78LIBTYPE_SUFFIX = lib
79!endif
80!if "$(SHARED)" == "1"
81LIBTYPE_SUFFIX = dll
82!endif
dd65d8c8
RN
83!if "$(MONOLITHIC)" == "0"
84EXTRALIBS_FOR_BASE =
85!endif
86!if "$(MONOLITHIC)" == "1"
87EXTRALIBS_FOR_BASE =
88!endif
b17c1746
DE
89!if "$(SHARED)" == "1"
90__svgdll___depname = \
c33fae85 91 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).dll
0ca4ab85 92!endif
b17c1746 93!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 94__RUNTIME_LIBS_8 = i
3f55f5b8 95!endif
b17c1746 96!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 97__RUNTIME_LIBS_8 =
3f55f5b8 98!endif
b17c1746
DE
99!if "$(MONOLITHIC)" == "1"
100__WXLIB_MONO_p = \
c33fae85 101 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
3f55f5b8 102!endif
b17c1746 103!if "$(USE_GUI)" == "1"
9c2d002b 104__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
0ca4ab85
VS
105!endif
106!if "$(USE_GUI)" == "1"
9c2d002b 107__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
0ca4ab85
VS
108!endif
109!if "$(USE_GUI)" == "1"
9c2d002b 110__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
0ca4ab85 111!endif
b17c1746
DE
112!if "$(MSLU)" == "1"
113__UNICOWS_LIB_p = unicows.lib
114!endif
115!if "$(MONOLITHIC)" == "0"
116__WXLIB_CORE_p = \
c33fae85 117 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
118!endif
119!if "$(MONOLITHIC)" == "0"
c33fae85
RN
120__WXLIB_BASE_p = \
121 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
122!endif
123!if "$(SHARED)" == "0"
124__svglib___depname = \
c33fae85 125 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
b17c1746
DE
126!endif
127!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128__DEBUGINFO = -v
129!endif
130!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
131__DEBUGINFO = -v-
132!endif
133!if "$(DEBUG_INFO)" == "0"
134__DEBUGINFO = -v-
135!endif
136!if "$(DEBUG_INFO)" == "1"
137__DEBUGINFO = -v
0ca4ab85
VS
138!endif
139!if "$(BUILD)" == "debug"
140__OPTIMIZEFLAG = -Od
141!endif
142!if "$(BUILD)" == "release"
143__OPTIMIZEFLAG = -O2
144!endif
145!if "$(RUNTIME_LIBS)" == "dynamic"
146__RUNTIME_LIBS = -tWR
147!endif
148!if "$(RUNTIME_LIBS)" == "static"
149__RUNTIME_LIBS =
150!endif
b17c1746
DE
151!if "$(WXUNIV)" == "1"
152__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
0ca4ab85 153!endif
b17c1746
DE
154!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
155__DEBUG_DEFINE_p = -D__WXDEBUG__
156!endif
157!if "$(DEBUG_FLAG)" == "1"
158__DEBUG_DEFINE_p = -D__WXDEBUG__
0ca4ab85
VS
159!endif
160!if "$(UNICODE)" == "1"
ec08d395 161__UNICODE_DEFINE_p = -D_UNICODE
0ca4ab85 162!endif
0ca4ab85
VS
163
164
165all: $(OBJS)
166$(OBJS):
167 -if not exist $(OBJS) mkdir $(OBJS)
168
169### Targets: ###
170
171all: $(__svgdll___depname) $(__svglib___depname)
172
0ca4ab85
VS
173clean:
174 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
175 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 176 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
c33fae85
RN
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).dll
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).tds
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ilc
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ild
181 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ilf
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).ils
183 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
184 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
0ca4ab85
VS
185
186!if "$(SHARED)" == "1"
c33fae85 187$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_bcc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS)
9bfe7ad9 188 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 189 c0d32.obj $(SVGDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
0ca4ab85 190|
c33fae85 191 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg $@
0ca4ab85
VS
192!endif
193
194!if "$(SHARED)" == "0"
c33fae85 195$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
0ca4ab85 196 if exist $@ del $@
9bfe7ad9 197 tlib /a /p4096 $@ @&&|
0ca4ab85
VS
198 $(SVGLIB_OBJECTS)
199|
200!endif
b17c1746
DE
201
202$(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
203 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) -H $**
204
205$(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
206 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) $**
207
208$(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
209 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) -H $**
210
211$(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
212 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) $**
b14abf14 213