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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
29 TEX2RTF_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
30 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
31 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
32 -DNO_GUI $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\tex2rtf_tex2rtf.obj \
35 $(OBJS)\tex2rtf_tex2any.obj \
36 $(OBJS)\tex2rtf_texutils.obj \
37 $(OBJS)\tex2rtf_rtfutils.obj \
38 $(OBJS)\tex2rtf_xlputils.obj \
39 $(OBJS)\tex2rtf_htmlutil.obj \
40 $(OBJS)\tex2rtf_readshg.obj \
41 $(OBJS)\tex2rtf_table.obj
42 TEX2RTF_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
43 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
44 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
45 -I.\..\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
46 TEX2RTF_GUI_OBJECTS = \
47 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
48 $(OBJS)\tex2rtf_gui_tex2any.obj \
49 $(OBJS)\tex2rtf_gui_texutils.obj \
50 $(OBJS)\tex2rtf_gui_rtfutils.obj \
51 $(OBJS)\tex2rtf_gui_xlputils.obj \
52 $(OBJS)\tex2rtf_gui_htmlutil.obj \
53 $(OBJS)\tex2rtf_gui_readshg.obj \
54 $(OBJS)\tex2rtf_gui_table.obj
56 ### Conditionally set variables: ###
58 !if "$(USE_GUI)" == "0"
61 !if "$(USE_GUI)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(SHARED)" == "1"
79 !if "$(USE_GUI)" == "1"
80 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
82 !if "$(WXUNIV)" == "1"
83 __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
85 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
86 __DEBUG_DEFINE_p_3 = -d__WXDEBUG__
88 !if "$(DEBUG_FLAG)" == "1"
89 __DEBUG_DEFINE_p_3 = -d__WXDEBUG__
91 !if "$(UNICODE)" == "1"
92 __UNICODE_DEFINE_p_3 = -d_UNICODE
94 !if "$(SHARED)" == "1"
95 __DLLFLAG_p_3 = -dWXUSINGDLL
97 !if "$(MONOLITHIC)" == "0"
99 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
101 !if "$(MONOLITHIC)" == "0"
103 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
105 !if "$(BUILD)" == "debug"
108 !if "$(BUILD)" == "release"
111 !if "$(RUNTIME_LIBS)" == "dynamic"
112 __RUNTIME_LIBS = -tWR
114 !if "$(RUNTIME_LIBS)" == "static"
117 !if "$(RUNTIME_LIBS)" == "dynamic"
120 !if "$(RUNTIME_LIBS)" == "static"
123 !if "$(WXUNIV)" == "1"
124 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
126 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
127 __DEBUG_DEFINE_p = -D__WXDEBUG__
129 !if "$(DEBUG_FLAG)" == "1"
130 __DEBUG_DEFINE_p = -D__WXDEBUG__
132 !if "$(UNICODE)" == "1"
133 __UNICODE_DEFINE_p = -D_UNICODE
135 !if "$(SHARED)" == "0"
136 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
138 !if "$(SHARED)" == "1"
139 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
141 !if "$(SHARED)" == "1"
142 __DLLFLAG_p = -DWXUSINGDLL
144 !if "$(MONOLITHIC)" == "0"
146 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
148 !if "$(MONOLITHIC)" == "1"
150 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
152 !if "$(USE_GUI)" == "1"
153 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
155 !if "$(USE_GUI)" == "1"
156 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
158 !if "$(USE_GUI)" == "1"
159 __LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
162 __UNICOWS_LIB_p = unicows.lib
164 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
167 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
170 !if "$(DEBUG_INFO)" == "0"
173 !if "$(DEBUG_INFO)" == "1"
180 -if not exist $(OBJS) mkdir $(OBJS)
184 all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
187 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
188 -if exist $(OBJS)\*.res del $(OBJS)\*.res
189 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
190 -if exist $(OBJS)\tex2rtf.tds del $(OBJS)\tex2rtf.tds
191 -if exist $(OBJS)\tex2rtf.ilc del $(OBJS)\tex2rtf.ilc
192 -if exist $(OBJS)\tex2rtf.ild del $(OBJS)\tex2rtf.ild
193 -if exist $(OBJS)\tex2rtf.ilf del $(OBJS)\tex2rtf.ilf
194 -if exist $(OBJS)\tex2rtf.ils del $(OBJS)\tex2rtf.ils
195 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
196 -if exist $(OBJS)\tex2rtf_gui.tds del $(OBJS)\tex2rtf_gui.tds
197 -if exist $(OBJS)\tex2rtf_gui.ilc del $(OBJS)\tex2rtf_gui.ilc
198 -if exist $(OBJS)\tex2rtf_gui.ild del $(OBJS)\tex2rtf_gui.ild
199 -if exist $(OBJS)\tex2rtf_gui.ilf del $(OBJS)\tex2rtf_gui.ilf
200 -if exist $(OBJS)\tex2rtf_gui.ils del $(OBJS)\tex2rtf_gui.ils
202 $(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
203 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
204 c0x32.obj $(TEX2RTF_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,,
207 !if "$(USE_GUI)" == "1"
208 $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
209 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
210 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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\tex2rtf_gui_sample.res
214 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
215 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
217 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
218 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
220 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
221 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
223 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
224 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
226 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
227 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
229 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
230 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
232 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
233 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
235 $(OBJS)\tex2rtf_table.obj: .\table.cpp
236 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
238 $(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
239 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 $**
241 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
242 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
244 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
245 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
247 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
248 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
250 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
251 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
253 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
254 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
256 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
257 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
259 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
260 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
262 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
263 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**