]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/src/makefile.bcc
remove @ingroup; use @category instead
[wxWidgets.git] / utils / tex2rtf / src / makefile.bcc
CommitLineData
f98da3fb
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (http://www.bakefile.org)
f98da3fb
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
9a29912f 6
9bfe7ad9
VS
7.autodepend
8
f98da3fb 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
f98da3fb 13BCCDIR = $(MAKEDIR)\..
9a29912f
JS
14!endif
15
f98da3fb 16!include ../../../build/msw/config.bcc
9a29912f 17
f98da3fb
VS
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
9a29912f 21
f98da3fb
VS
22### Variables: ###
23
ae4ccf12 24WX_RELEASE_NODOT = 29
7379e476 25COMPILER_PREFIX = bcc
f98da3fb 26OBJS = \
7379e476
VZ
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28LIBDIRNAME = .\..\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
75a0a7b7
VS
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
b17c1746 31TEX2RTF_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -I. $(__DLLFLAG_p) \
36 -DwxUSE_GUI=0 -DNO_GUI $(CPPFLAGS) $(CXXFLAGS)
b17c1746
DE
37TEX2RTF_OBJECTS = \
38 $(OBJS)\tex2rtf_tex2rtf.obj \
39 $(OBJS)\tex2rtf_tex2any.obj \
40 $(OBJS)\tex2rtf_texutils.obj \
41 $(OBJS)\tex2rtf_rtfutils.obj \
42 $(OBJS)\tex2rtf_xlputils.obj \
43 $(OBJS)\tex2rtf_htmlutil.obj \
44 $(OBJS)\tex2rtf_readshg.obj \
45 $(OBJS)\tex2rtf_table.obj
46TEX2RTF_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
47 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
48 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 49 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
50 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -I. $(__DLLFLAG_p) \
51 -I.\..\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
f98da3fb
VS
52TEX2RTF_GUI_OBJECTS = \
53 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
54 $(OBJS)\tex2rtf_gui_tex2any.obj \
55 $(OBJS)\tex2rtf_gui_texutils.obj \
56 $(OBJS)\tex2rtf_gui_rtfutils.obj \
57 $(OBJS)\tex2rtf_gui_xlputils.obj \
58 $(OBJS)\tex2rtf_gui_htmlutil.obj \
59 $(OBJS)\tex2rtf_gui_readshg.obj \
60 $(OBJS)\tex2rtf_gui_table.obj
f98da3fb
VS
61
62### Conditionally set variables: ###
63
64!if "$(USE_GUI)" == "0"
65PORTNAME = base
66!endif
67!if "$(USE_GUI)" == "1"
68PORTNAME = msw
69!endif
70!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
71WXDEBUGFLAG = d
72!endif
73!if "$(DEBUG_FLAG)" == "1"
74WXDEBUGFLAG = d
75!endif
f98da3fb
VS
76!if "$(UNICODE)" == "1"
77WXUNICODEFLAG = u
78!endif
79!if "$(WXUNIV)" == "1"
80WXUNIVNAME = univ
81!endif
b17c1746
DE
82!if "$(SHARED)" == "1"
83WXDLLFLAG = dll
f98da3fb 84!endif
162a956b
JS
85!if "$(SHARED)" == "0"
86LIBTYPE_SUFFIX = lib
87!endif
88!if "$(SHARED)" == "1"
89LIBTYPE_SUFFIX = dll
90!endif
dd65d8c8
RN
91!if "$(MONOLITHIC)" == "0"
92EXTRALIBS_FOR_BASE =
93!endif
94!if "$(MONOLITHIC)" == "1"
95EXTRALIBS_FOR_BASE =
96!endif
b17c1746
DE
97!if "$(USE_GUI)" == "1"
98__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
f98da3fb 99!endif
b17c1746
DE
100!if "$(WXUNIV)" == "1"
101__WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
f98da3fb
VS
102!endif
103!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
104__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
105!endif
106!if "$(DEBUG_FLAG)" == "1"
107__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
108!endif
8c9f8f91
JS
109!if "$(USE_EXCEPTIONS)" == "0"
110__EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS
111!endif
112!if "$(USE_RTTI)" == "0"
113__RTTI_DEFINE_p_3 = -dwxNO_RTTI
114!endif
115!if "$(USE_THREADS)" == "0"
116__THREAD_DEFINE_p_3 = -dwxNO_THREADS
117!endif
7379e476
VZ
118!if "$(UNICODE)" == "0"
119__UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0
120!endif
b17c1746
DE
121!if "$(UNICODE)" == "1"
122__UNICODE_DEFINE_p_3 = -d_UNICODE
f98da3fb 123!endif
2113bc77
MW
124!if "$(MSLU)" == "1"
125__MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1
126!endif
3abcf424
RD
127!if "$(USE_GDIPLUS)" == "1"
128__GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1
129!endif
f98da3fb
VS
130!if "$(SHARED)" == "1"
131__DLLFLAG_p_3 = -dWXUSINGDLL
132!endif
b17c1746 133!if "$(MONOLITHIC)" == "0"
5259a417 134__WXLIB_HTML_p = \
c33fae85 135 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
5259a417
RL
136!endif
137!if "$(MONOLITHIC)" == "0"
b17c1746 138__WXLIB_CORE_p = \
c33fae85 139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
f98da3fb 140!endif
3b2cb431
JS
141!if "$(USE_GUI)" == "1"
142__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
143!endif
144!if "$(USE_GUI)" == "1"
145__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
146!endif
147!if "$(USE_GUI)" == "1"
148__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
149!endif
f98da3fb
VS
150!if "$(BUILD)" == "debug"
151__OPTIMIZEFLAG = -Od
152!endif
153!if "$(BUILD)" == "release"
154__OPTIMIZEFLAG = -O2
155!endif
8c9f8f91
JS
156!if "$(USE_THREADS)" == "0"
157__THREADSFLAG =
158!endif
159!if "$(USE_THREADS)" == "1"
160__THREADSFLAG = mt
161!endif
162!if "$(USE_THREADS)" == "0"
163__THREADSFLAG_0 =
164!endif
165!if "$(USE_THREADS)" == "1"
166__THREADSFLAG_0 = -tWM
167!endif
f98da3fb 168!if "$(RUNTIME_LIBS)" == "dynamic"
b17c1746 169__RUNTIME_LIBS = -tWR
f98da3fb
VS
170!endif
171!if "$(RUNTIME_LIBS)" == "static"
172__RUNTIME_LIBS =
173!endif
174!if "$(RUNTIME_LIBS)" == "dynamic"
b17c1746 175__RUNTIME_LIBS_0 = i
f98da3fb
VS
176!endif
177!if "$(RUNTIME_LIBS)" == "static"
178__RUNTIME_LIBS_0 =
179!endif
b17c1746
DE
180!if "$(WXUNIV)" == "1"
181__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
182!endif
183!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
184__DEBUG_DEFINE_p = -D__WXDEBUG__
185!endif
186!if "$(DEBUG_FLAG)" == "1"
187__DEBUG_DEFINE_p = -D__WXDEBUG__
f98da3fb 188!endif
8c9f8f91
JS
189!if "$(USE_EXCEPTIONS)" == "0"
190__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
191!endif
192!if "$(USE_RTTI)" == "0"
193__RTTI_DEFINE_p = -DwxNO_RTTI
194!endif
195!if "$(USE_THREADS)" == "0"
196__THREAD_DEFINE_p = -DwxNO_THREADS
197!endif
7379e476
VZ
198!if "$(UNICODE)" == "0"
199__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
200!endif
f98da3fb 201!if "$(UNICODE)" == "1"
b17c1746 202__UNICODE_DEFINE_p = -D_UNICODE
f98da3fb 203!endif
2113bc77
MW
204!if "$(MSLU)" == "1"
205__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
206!endif
3abcf424
RD
207!if "$(USE_GDIPLUS)" == "1"
208__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
209!endif
b17c1746
DE
210!if "$(SHARED)" == "1"
211__DLLFLAG_p = -DWXUSINGDLL
f98da3fb
VS
212!endif
213!if "$(MONOLITHIC)" == "0"
c33fae85
RN
214__WXLIB_BASE_p = \
215 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f98da3fb
VS
216!endif
217!if "$(MONOLITHIC)" == "1"
218__WXLIB_MONO_p = \
c33fae85 219 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f98da3fb 220!endif
b17c1746
DE
221!if "$(MSLU)" == "1"
222__UNICOWS_LIB_p = unicows.lib
223!endif
3abcf424
RD
224!if "$(USE_GDIPLUS)" == "1"
225__GDIPLUS_LIB_p = gdiplus.lib
226!endif
b17c1746
DE
227!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
228__DEBUGINFO = -v
229!endif
230!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
231__DEBUGINFO = -v-
232!endif
233!if "$(DEBUG_INFO)" == "0"
234__DEBUGINFO = -v-
235!endif
236!if "$(DEBUG_INFO)" == "1"
237__DEBUGINFO = -v
8be1c2c5 238!endif
f98da3fb
VS
239
240
241all: $(OBJS)
242$(OBJS):
243 -if not exist $(OBJS) mkdir $(OBJS)
244
245### Targets: ###
246
8be1c2c5 247all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
f98da3fb 248
f98da3fb
VS
249clean:
250 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
251 -if exist $(OBJS)\*.res del $(OBJS)\*.res
162a956b 252 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
f98da3fb 253 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
ec08d395
JS
254 -if exist $(OBJS)\tex2rtf.tds del $(OBJS)\tex2rtf.tds
255 -if exist $(OBJS)\tex2rtf.ilc del $(OBJS)\tex2rtf.ilc
256 -if exist $(OBJS)\tex2rtf.ild del $(OBJS)\tex2rtf.ild
257 -if exist $(OBJS)\tex2rtf.ilf del $(OBJS)\tex2rtf.ilf
258 -if exist $(OBJS)\tex2rtf.ils del $(OBJS)\tex2rtf.ils
f98da3fb 259 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
ec08d395
JS
260 -if exist $(OBJS)\tex2rtf_gui.tds del $(OBJS)\tex2rtf_gui.tds
261 -if exist $(OBJS)\tex2rtf_gui.ilc del $(OBJS)\tex2rtf_gui.ilc
262 -if exist $(OBJS)\tex2rtf_gui.ild del $(OBJS)\tex2rtf_gui.ild
263 -if exist $(OBJS)\tex2rtf_gui.ilf del $(OBJS)\tex2rtf_gui.ilf
264 -if exist $(OBJS)\tex2rtf_gui.ils del $(OBJS)\tex2rtf_gui.ils
f98da3fb
VS
265
266$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
9bfe7ad9 267 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
7379e476 268 c0x32.obj $(TEX2RTF_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,
f98da3fb 269|
9a29912f 270
8be1c2c5 271!if "$(USE_GUI)" == "1"
f98da3fb 272$(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
9bfe7ad9 273 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
7379e476 274 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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\tex2rtf_gui_sample.res
f98da3fb 275|
8be1c2c5 276!endif
b17c1746
DE
277
278$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
6e0fbb3d 279 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\tex2rtf.cpp
b17c1746
DE
280
281$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
6e0fbb3d 282 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\tex2any.cpp
b17c1746
DE
283
284$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
6e0fbb3d 285 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\texutils.cpp
b17c1746
DE
286
287$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
6e0fbb3d 288 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\rtfutils.cpp
b17c1746
DE
289
290$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
6e0fbb3d 291 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\xlputils.cpp
b17c1746
DE
292
293$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
6e0fbb3d 294 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\htmlutil.cpp
b17c1746
DE
295
296$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
6e0fbb3d 297 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\readshg.cpp
b17c1746
DE
298
299$(OBJS)\tex2rtf_table.obj: .\table.cpp
6e0fbb3d 300 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) .\table.cpp
b17c1746
DE
301
302$(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
6e0fbb3d 303 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) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) -i$(SETUPHDIR) -i.\..\..\..\include -i. $(__DLLFLAG_p_3) -i.\..\..\..\samples -dNOPCH .\..\..\..\samples\sample.rc
b17c1746
DE
304
305$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
6e0fbb3d 306 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\tex2rtf.cpp
b17c1746
DE
307
308$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
6e0fbb3d 309 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\tex2any.cpp
b17c1746
DE
310
311$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
6e0fbb3d 312 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\texutils.cpp
b17c1746
DE
313
314$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
6e0fbb3d 315 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\rtfutils.cpp
b17c1746
DE
316
317$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
6e0fbb3d 318 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\xlputils.cpp
b17c1746
DE
319
320$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
6e0fbb3d 321 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\htmlutil.cpp
b17c1746
DE
322
323$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
6e0fbb3d 324 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\readshg.cpp
b17c1746
DE
325
326$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
6e0fbb3d 327 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) .\table.cpp
162a956b 328