]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/svg/makefile.bcc
fixed weird error
[wxWidgets.git] / contrib / build / svg / makefile.bcc
CommitLineData
0ca4ab85
VS
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# =========================================================================
6
7!ifndef BCCDIR
8BCCDIR = $(MAKEDIR)\..
9!endif
10
11!include ../../../build/config.bcc
12
13# -------------------------------------------------------------------------
14# Do not modify the rest of this file!
15# -------------------------------------------------------------------------
16
17!if "$(BCCDIR)" == "\.."
18!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19!endif
20
21### Variables: ###
22
23LIBDIRNAME = \
24 ..\..\src\svg\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27SVGDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
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
35SVGDLL_OBJECTS = \
36 $(OBJS)\svgdll_dummy.obj \
37 $(OBJS)\svgdll_dcsvg.obj
38SVGLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
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
45SVGLIB_OBJECTS = \
46 $(OBJS)\svglib_dummy.obj \
47 $(OBJS)\svglib_dcsvg.obj
48
49### Conditionally set variables: ###
50
51!if "$(USE_GUI)" == "0"
52PORTNAME = base
53!endif
54!if "$(USE_GUI)" == "1"
55PORTNAME = msw
56!endif
57!if "$(OFFICIAL_BUILD)" == "0"
58VENDORTAG = _$(VENDOR)
59!endif
60!if "$(OFFICIAL_BUILD)" == "1"
61VENDORTAG =
62!endif
63!if "$(BUILD)" == "debug"
64WXDEBUGFLAG = d
65!endif
66!if "$(SHARED)" == "1"
67WXDLLFLAG = dll
68!endif
69!if "$(UNICODE)" == "1"
70WXUNICODEFLAG = u
71!endif
72!if "$(WXUNIV)" == "1"
73WXUNIVNAME = univ
74!endif
75!if "$(BUILD)" == "debug"
76__DEBUGFLAG = -v
77!endif
78!if "$(BUILD)" == "release"
79__DEBUGFLAG = -v-
80!endif
81!if "$(BUILD)" == "debug"
82__DEBUG_DEFINE_p = -D__WXDEBUG__
83!endif
84!if "$(USE_GUI)" == "1"
85__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
86!endif
87!if "$(USE_GUI)" == "1"
88__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
89!endif
90!if "$(USE_GUI)" == "1"
91__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
92!endif
93!if "$(BUILD)" == "debug"
94__OPTIMIZEFLAG = -Od
95!endif
96!if "$(BUILD)" == "release"
97__OPTIMIZEFLAG = -O2
98!endif
99!if "$(RUNTIME_LIBS)" == "dynamic"
100__RUNTIME_LIBS = -tWR
101!endif
102!if "$(RUNTIME_LIBS)" == "static"
103__RUNTIME_LIBS =
104!endif
105!if "$(RUNTIME_LIBS)" == "dynamic"
106__RUNTIME_LIBS_7 = i
107!endif
108!if "$(RUNTIME_LIBS)" == "static"
109__RUNTIME_LIBS_7 =
110!endif
111!if "$(UNICODE)" == "1"
112__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
113!endif
114!if "$(MONOLITHIC)" == "0"
115__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
116!endif
117!if "$(MONOLITHIC)" == "0"
118__WXLIB_CORE_p = \
119 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
120!endif
121!if "$(MONOLITHIC)" == "1"
122__WXLIB_MONO_p = \
123 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
124!endif
125!if "$(WXUNIV)" == "1"
126__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
127!endif
128!if "$(SHARED)" == "1"
129__svgdll___depname = \
130 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll
131!endif
132!if "$(SHARED)" == "0"
133__svglib___depname = \
134 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
135!endif
136
137
138all: $(OBJS)
139$(OBJS):
140 -if not exist $(OBJS) mkdir $(OBJS)
141
142### Targets: ###
143
144all: $(__svgdll___depname) $(__svglib___depname)
145
146$(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
147 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) $**
148
149$(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
150 $(CXX) -q -c -P -o$@ $(SVGDLL_CXXFLAGS) -H $**
151
152$(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
153 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) $**
154
155$(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
156 $(CXX) -q -c -P -o$@ $(SVGLIB_CXXFLAGS) -H $**
157
158clean:
159 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
160 -if exist $(OBJS)\*.res del $(OBJS)\*.res
161 -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
162 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
163 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
164
165!if "$(SHARED)" == "1"
166$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_bcc$(VENDORTAG).dll: $(SVGDLL_OBJECTS) $(OBJS)\svgdll_dummy.obj
167 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGFLAG) -L$(LIBDIRNAME) @&&|
168 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) cw32mt$(__RUNTIME_LIBS_7).lib,,
169|
170 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg $@
171!endif
172
173!if "$(SHARED)" == "0"
174$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(SVGLIB_OBJECTS) $(OBJS)\svglib_dummy.obj
175 if exist $@ del $@
176 tlib /a /p2048 $@ @&&|
177 $(SVGLIB_OBJECTS)
178|
179!endif