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