]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/src/makefile.bcc
regenerated makefiles
[wxWidgets.git] / utils / tex2rtf / src / makefile.bcc
CommitLineData
f98da3fb
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# =========================================================================
9a29912f 6
f98da3fb
VS
7!ifndef BCCDIR
8BCCDIR = $(MAKEDIR)\..
9a29912f
JS
9!endif
10
f98da3fb 11!include ../../../build/msw/config.bcc
9a29912f 12
f98da3fb
VS
13# -------------------------------------------------------------------------
14# Do not modify the rest of this file!
15# -------------------------------------------------------------------------
9a29912f 16
f98da3fb
VS
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
f98da3fb
VS
23OBJS = \
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
25SETUPHDIR = \
26 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
f98da3fb
VS
27TEX2RTF_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
28 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
29 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
30 -DNO_GUI $(CXXFLAGS)
f98da3fb
VS
31TEX2RTF_GUI_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
33 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
34 -I.\..\..\..\samples $(CXXFLAGS)
f98da3fb
VS
35TEX2RTF_GUI_OBJECTS = \
36 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
37 $(OBJS)\tex2rtf_gui_tex2any.obj \
38 $(OBJS)\tex2rtf_gui_texutils.obj \
39 $(OBJS)\tex2rtf_gui_rtfutils.obj \
40 $(OBJS)\tex2rtf_gui_xlputils.obj \
41 $(OBJS)\tex2rtf_gui_htmlutil.obj \
42 $(OBJS)\tex2rtf_gui_readshg.obj \
43 $(OBJS)\tex2rtf_gui_table.obj
44TEX2RTF_OBJECTS = \
45 $(OBJS)\tex2rtf_tex2rtf.obj \
46 $(OBJS)\tex2rtf_tex2any.obj \
47 $(OBJS)\tex2rtf_texutils.obj \
48 $(OBJS)\tex2rtf_rtfutils.obj \
49 $(OBJS)\tex2rtf_xlputils.obj \
50 $(OBJS)\tex2rtf_htmlutil.obj \
51 $(OBJS)\tex2rtf_readshg.obj \
52 $(OBJS)\tex2rtf_table.obj
53
54### Conditionally set variables: ###
55
75a0a7b7
VS
56!if "$(SHARED)" == "0"
57LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
58!endif
59!if "$(SHARED)" == "1"
60LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
61!endif
f98da3fb
VS
62!if "$(USE_GUI)" == "0"
63PORTNAME = base
64!endif
65!if "$(USE_GUI)" == "1"
66PORTNAME = msw
67!endif
68!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
69WXDEBUGFLAG = d
70!endif
71!if "$(DEBUG_FLAG)" == "1"
72WXDEBUGFLAG = d
73!endif
74!if "$(SHARED)" == "1"
75WXDLLFLAG = dll
76!endif
77!if "$(UNICODE)" == "1"
78WXUNICODEFLAG = u
79!endif
80!if "$(WXUNIV)" == "1"
81WXUNIVNAME = univ
82!endif
83!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
84__DEBUGINFO = -v
85!endif
86!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
87__DEBUGINFO = -v-
88!endif
89!if "$(DEBUG_INFO)" == "0"
90__DEBUGINFO = -v-
91!endif
92!if "$(DEBUG_INFO)" == "1"
93__DEBUGINFO = -v
94!endif
95!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
96__DEBUG_DEFINE_p = -D__WXDEBUG__
97!endif
98!if "$(DEBUG_FLAG)" == "1"
99__DEBUG_DEFINE_p = -D__WXDEBUG__
100!endif
101!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
102__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
103!endif
104!if "$(DEBUG_FLAG)" == "1"
105__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
106!endif
107!if "$(SHARED)" == "1"
108__DLLFLAG_p = -DWXUSINGDLL
109!endif
110!if "$(SHARED)" == "1"
111__DLLFLAG_p_3 = -dWXUSINGDLL
112!endif
113!if "$(USE_GUI)" == "1"
114__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
115!endif
116!if "$(USE_GUI)" == "1"
117__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
118!endif
119!if "$(USE_GUI)" == "1"
120__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
121!endif
122!if "$(BUILD)" == "debug"
123__OPTIMIZEFLAG = -Od
124!endif
125!if "$(BUILD)" == "release"
126__OPTIMIZEFLAG = -O2
127!endif
128!if "$(RUNTIME_LIBS)" == "dynamic"
129__RUNTIME_LIBS = -tWR
130!endif
131!if "$(RUNTIME_LIBS)" == "static"
132__RUNTIME_LIBS =
133!endif
134!if "$(RUNTIME_LIBS)" == "dynamic"
135__RUNTIME_LIBS_0 = i
136!endif
137!if "$(RUNTIME_LIBS)" == "static"
138__RUNTIME_LIBS_0 =
139!endif
140!if "$(UNICODE)" == "1"
141__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
142!endif
143!if "$(UNICODE)" == "1"
144__UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=1
145!endif
146!if "$(MSLU)" == "1"
147__UNICOWS_LIB_p = unicows.lib
148!endif
149!if "$(MONOLITHIC)" == "0"
150__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
151!endif
152!if "$(MONOLITHIC)" == "0"
153__WXLIB_CORE_p = \
154 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
155!endif
156!if "$(MONOLITHIC)" == "0"
157__WXLIB_HTML_p = \
158 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
159!endif
160!if "$(MONOLITHIC)" == "1"
161__WXLIB_MONO_p = \
162 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
163!endif
164!if "$(WXUNIV)" == "1"
165__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
166!endif
167!if "$(WXUNIV)" == "1"
168__WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
169!endif
170
171
172all: $(OBJS)
173$(OBJS):
174 -if not exist $(OBJS) mkdir $(OBJS)
175
176### Targets: ###
177
178all: $(OBJS)\tex2rtf.exe $(OBJS)\tex2rtf_gui.exe
179
180$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
181 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
182
183$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
184 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
185
186$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
187 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
188
189$(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
75a0a7b7 190 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_3) -i.\..\..\..\samples $**
f98da3fb
VS
191
192$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
193 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
194
195$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
196 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
197
198$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
199 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
200
201$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
202 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
203
204$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
205 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
206
207$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
208 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
209
210$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
211 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
212
213$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
214 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
215
216$(OBJS)\tex2rtf_table.obj: .\table.cpp
217 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
218
219$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
220 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
221
222$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
223 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
224
225$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
226 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
227
228$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
229 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
230
231clean:
232 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
233 -if exist $(OBJS)\*.res del $(OBJS)\*.res
234 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
235 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
236
237$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
238 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
239 c0x32.obj $(TEX2RTF_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_0).lib,,
240|
9a29912f 241
f98da3fb
VS
242$(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
243 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
244 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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\tex2rtf_gui_sample.res
245|