]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.bcc
Added wx.lib.hyperlink from Andrea Gavana. It is a control like
[wxWidgets.git] / utils / tex2rtf / src / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 = 26
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28 SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 TEX2RTF_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
34 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 -DNO_GUI $(CPPFLAGS) \
35 $(CXXFLAGS)
36 TEX2RTF_OBJECTS = \
37 $(OBJS)\tex2rtf_tex2rtf.obj \
38 $(OBJS)\tex2rtf_tex2any.obj \
39 $(OBJS)\tex2rtf_texutils.obj \
40 $(OBJS)\tex2rtf_rtfutils.obj \
41 $(OBJS)\tex2rtf_xlputils.obj \
42 $(OBJS)\tex2rtf_htmlutil.obj \
43 $(OBJS)\tex2rtf_readshg.obj \
44 $(OBJS)\tex2rtf_table.obj
45 TEX2RTF_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
46 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
47 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
48 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
49 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH $(CPPFLAGS) \
50 $(CXXFLAGS)
51 TEX2RTF_GUI_OBJECTS = \
52 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
53 $(OBJS)\tex2rtf_gui_tex2any.obj \
54 $(OBJS)\tex2rtf_gui_texutils.obj \
55 $(OBJS)\tex2rtf_gui_rtfutils.obj \
56 $(OBJS)\tex2rtf_gui_xlputils.obj \
57 $(OBJS)\tex2rtf_gui_htmlutil.obj \
58 $(OBJS)\tex2rtf_gui_readshg.obj \
59 $(OBJS)\tex2rtf_gui_table.obj
60
61 ### Conditionally set variables: ###
62
63 !if "$(USE_GUI)" == "0"
64 PORTNAME = base
65 !endif
66 !if "$(USE_GUI)" == "1"
67 PORTNAME = msw
68 !endif
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70 WXDEBUGFLAG = d
71 !endif
72 !if "$(DEBUG_FLAG)" == "1"
73 WXDEBUGFLAG = d
74 !endif
75 !if "$(UNICODE)" == "1"
76 WXUNICODEFLAG = u
77 !endif
78 !if "$(WXUNIV)" == "1"
79 WXUNIVNAME = univ
80 !endif
81 !if "$(SHARED)" == "1"
82 WXDLLFLAG = dll
83 !endif
84 !if "$(SHARED)" == "0"
85 LIBTYPE_SUFFIX = lib
86 !endif
87 !if "$(SHARED)" == "1"
88 LIBTYPE_SUFFIX = dll
89 !endif
90 !if "$(MONOLITHIC)" == "0"
91 EXTRALIBS_FOR_BASE =
92 !endif
93 !if "$(MONOLITHIC)" == "1"
94 EXTRALIBS_FOR_BASE =
95 !endif
96 !if "$(USE_GUI)" == "1"
97 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
98 !endif
99 !if "$(WXUNIV)" == "1"
100 __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
101 !endif
102 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
103 __DEBUG_DEFINE_p_3 = -d__WXDEBUG__
104 !endif
105 !if "$(DEBUG_FLAG)" == "1"
106 __DEBUG_DEFINE_p_3 = -d__WXDEBUG__
107 !endif
108 !if "$(USE_EXCEPTIONS)" == "0"
109 __EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS
110 !endif
111 !if "$(USE_RTTI)" == "0"
112 __RTTI_DEFINE_p_3 = -dwxNO_RTTI
113 !endif
114 !if "$(USE_THREADS)" == "0"
115 __THREAD_DEFINE_p_3 = -dwxNO_THREADS
116 !endif
117 !if "$(UNICODE)" == "1"
118 __UNICODE_DEFINE_p_3 = -d_UNICODE
119 !endif
120 !if "$(SHARED)" == "1"
121 __DLLFLAG_p_3 = -dWXUSINGDLL
122 !endif
123 !if "$(MONOLITHIC)" == "0"
124 __WXLIB_HTML_p = \
125 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
126 !endif
127 !if "$(MONOLITHIC)" == "0"
128 __WXLIB_CORE_p = \
129 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
130 !endif
131 !if "$(BUILD)" == "debug"
132 __OPTIMIZEFLAG = -Od
133 !endif
134 !if "$(BUILD)" == "release"
135 __OPTIMIZEFLAG = -O2
136 !endif
137 !if "$(USE_THREADS)" == "0"
138 __THREADSFLAG =
139 !endif
140 !if "$(USE_THREADS)" == "1"
141 __THREADSFLAG = mt
142 !endif
143 !if "$(USE_THREADS)" == "0"
144 __THREADSFLAG_0 =
145 !endif
146 !if "$(USE_THREADS)" == "1"
147 __THREADSFLAG_0 = -tWM
148 !endif
149 !if "$(RUNTIME_LIBS)" == "dynamic"
150 __RUNTIME_LIBS = -tWR
151 !endif
152 !if "$(RUNTIME_LIBS)" == "static"
153 __RUNTIME_LIBS =
154 !endif
155 !if "$(RUNTIME_LIBS)" == "dynamic"
156 __RUNTIME_LIBS_0 = i
157 !endif
158 !if "$(RUNTIME_LIBS)" == "static"
159 __RUNTIME_LIBS_0 =
160 !endif
161 !if "$(WXUNIV)" == "1"
162 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
163 !endif
164 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
165 __DEBUG_DEFINE_p = -D__WXDEBUG__
166 !endif
167 !if "$(DEBUG_FLAG)" == "1"
168 __DEBUG_DEFINE_p = -D__WXDEBUG__
169 !endif
170 !if "$(USE_EXCEPTIONS)" == "0"
171 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
172 !endif
173 !if "$(USE_RTTI)" == "0"
174 __RTTI_DEFINE_p = -DwxNO_RTTI
175 !endif
176 !if "$(USE_THREADS)" == "0"
177 __THREAD_DEFINE_p = -DwxNO_THREADS
178 !endif
179 !if "$(UNICODE)" == "1"
180 __UNICODE_DEFINE_p = -D_UNICODE
181 !endif
182 !if "$(SHARED)" == "1"
183 __DLLFLAG_p = -DWXUSINGDLL
184 !endif
185 !if "$(MONOLITHIC)" == "0"
186 __WXLIB_BASE_p = \
187 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
188 !endif
189 !if "$(MONOLITHIC)" == "1"
190 __WXLIB_MONO_p = \
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
192 !endif
193 !if "$(USE_GUI)" == "1"
194 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
195 !endif
196 !if "$(USE_GUI)" == "1"
197 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
198 !endif
199 !if "$(USE_GUI)" == "1"
200 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
201 !endif
202 !if "$(MSLU)" == "1"
203 __UNICOWS_LIB_p = unicows.lib
204 !endif
205 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
206 __DEBUGINFO = -v
207 !endif
208 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
209 __DEBUGINFO = -v-
210 !endif
211 !if "$(DEBUG_INFO)" == "0"
212 __DEBUGINFO = -v-
213 !endif
214 !if "$(DEBUG_INFO)" == "1"
215 __DEBUGINFO = -v
216 !endif
217
218
219 all: $(OBJS)
220 $(OBJS):
221 -if not exist $(OBJS) mkdir $(OBJS)
222
223 ### Targets: ###
224
225 all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
226
227 clean:
228 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
229 -if exist $(OBJS)\*.res del $(OBJS)\*.res
230 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
231 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
232 -if exist $(OBJS)\tex2rtf.tds del $(OBJS)\tex2rtf.tds
233 -if exist $(OBJS)\tex2rtf.ilc del $(OBJS)\tex2rtf.ilc
234 -if exist $(OBJS)\tex2rtf.ild del $(OBJS)\tex2rtf.ild
235 -if exist $(OBJS)\tex2rtf.ilf del $(OBJS)\tex2rtf.ilf
236 -if exist $(OBJS)\tex2rtf.ils del $(OBJS)\tex2rtf.ils
237 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
238 -if exist $(OBJS)\tex2rtf_gui.tds del $(OBJS)\tex2rtf_gui.tds
239 -if exist $(OBJS)\tex2rtf_gui.ilc del $(OBJS)\tex2rtf_gui.ilc
240 -if exist $(OBJS)\tex2rtf_gui.ild del $(OBJS)\tex2rtf_gui.ild
241 -if exist $(OBJS)\tex2rtf_gui.ilf del $(OBJS)\tex2rtf_gui.ilf
242 -if exist $(OBJS)\tex2rtf_gui.ils del $(OBJS)\tex2rtf_gui.ils
243
244 $(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
245 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
246 c0x32.obj $(TEX2RTF_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__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 import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,
247 |
248
249 !if "$(USE_GUI)" == "1"
250 $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
251 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
252 c0w32.obj $(TEX2RTF_GUI_OBJECTS),$@,, $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\tex2rtf_gui_sample.res
253 |
254 !endif
255
256 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
257 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
258
259 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
260 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
261
262 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
263 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
264
265 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
266 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
267
268 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
269 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
270
271 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
272 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
273
274 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
275 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
276
277 $(OBJS)\tex2rtf_table.obj: .\table.cpp
278 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
279
280 $(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
281 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_3) -i.\..\..\..\samples $**
282
283 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
284 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
285
286 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
287 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
288
289 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
290 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
291
292 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
293 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
294
295 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
296 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
297
298 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
299 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
300
301 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
302 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
303
304 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
305 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
306