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