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