]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.bcc
Regenerated makefiles for 3rd-party lib change
[wxWidgets.git] / utils / tex2rtf / src / makefile.bcc
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 # =========================================================================
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 WX_RELEASE_NODOT = 25
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 SETUPHDIR = \
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)
33 TEX2RTF_OBJECTS = \
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
55
56 ### Conditionally set variables: ###
57
58 !if "$(USE_GUI)" == "0"
59 PORTNAME = base
60 !endif
61 !if "$(USE_GUI)" == "1"
62 PORTNAME = msw
63 !endif
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 WXDEBUGFLAG = d
66 !endif
67 !if "$(DEBUG_FLAG)" == "1"
68 WXDEBUGFLAG = d
69 !endif
70 !if "$(UNICODE)" == "1"
71 WXUNICODEFLAG = u
72 !endif
73 !if "$(WXUNIV)" == "1"
74 WXUNIVNAME = univ
75 !endif
76 !if "$(SHARED)" == "1"
77 WXDLLFLAG = dll
78 !endif
79 !if "$(USE_GUI)" == "1"
80 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
81 !endif
82 !if "$(WXUNIV)" == "1"
83 __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
84 !endif
85 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
86 __DEBUG_DEFINE_p_3 = -d__WXDEBUG__
87 !endif
88 !if "$(DEBUG_FLAG)" == "1"
89 __DEBUG_DEFINE_p_3 = -d__WXDEBUG__
90 !endif
91 !if "$(UNICODE)" == "1"
92 __UNICODE_DEFINE_p_3 = -d_UNICODE
93 !endif
94 !if "$(SHARED)" == "1"
95 __DLLFLAG_p_3 = -dWXUSINGDLL
96 !endif
97 !if "$(MONOLITHIC)" == "0"
98 __WXLIB_HTML_p = \
99 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
100 !endif
101 !if "$(MONOLITHIC)" == "0"
102 __WXLIB_CORE_p = \
103 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
104 !endif
105 !if "$(BUILD)" == "debug"
106 __OPTIMIZEFLAG = -Od
107 !endif
108 !if "$(BUILD)" == "release"
109 __OPTIMIZEFLAG = -O2
110 !endif
111 !if "$(RUNTIME_LIBS)" == "dynamic"
112 __RUNTIME_LIBS = -tWR
113 !endif
114 !if "$(RUNTIME_LIBS)" == "static"
115 __RUNTIME_LIBS =
116 !endif
117 !if "$(RUNTIME_LIBS)" == "dynamic"
118 __RUNTIME_LIBS_0 = i
119 !endif
120 !if "$(RUNTIME_LIBS)" == "static"
121 __RUNTIME_LIBS_0 =
122 !endif
123 !if "$(WXUNIV)" == "1"
124 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
125 !endif
126 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
127 __DEBUG_DEFINE_p = -D__WXDEBUG__
128 !endif
129 !if "$(DEBUG_FLAG)" == "1"
130 __DEBUG_DEFINE_p = -D__WXDEBUG__
131 !endif
132 !if "$(UNICODE)" == "1"
133 __UNICODE_DEFINE_p = -D_UNICODE
134 !endif
135 !if "$(SHARED)" == "0"
136 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
137 !endif
138 !if "$(SHARED)" == "1"
139 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
140 !endif
141 !if "$(SHARED)" == "1"
142 __DLLFLAG_p = -DWXUSINGDLL
143 !endif
144 !if "$(MONOLITHIC)" == "0"
145 __WXLIB_BASE_p = \
146 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
147 !endif
148 !if "$(MONOLITHIC)" == "1"
149 __WXLIB_MONO_p = \
150 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
151 !endif
152 !if "$(USE_GUI)" == "1"
153 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
154 !endif
155 !if "$(USE_GUI)" == "1"
156 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
157 !endif
158 !if "$(USE_GUI)" == "1"
159 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
160 !endif
161 !if "$(MSLU)" == "1"
162 __UNICOWS_LIB_p = unicows.lib
163 !endif
164 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
165 __DEBUGINFO = -v
166 !endif
167 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
168 __DEBUGINFO = -v-
169 !endif
170 !if "$(DEBUG_INFO)" == "0"
171 __DEBUGINFO = -v-
172 !endif
173 !if "$(DEBUG_INFO)" == "1"
174 __DEBUGINFO = -v
175 !endif
176
177
178 all: $(OBJS)
179 $(OBJS):
180 -if not exist $(OBJS) mkdir $(OBJS)
181
182 ### Targets: ###
183
184 all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
185
186 clean:
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
201
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).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,,
205 |
206
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).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
211 |
212 !endif
213
214 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
215 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
216
217 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
218 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
219
220 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
221 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
222
223 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
224 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
225
226 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
227 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
228
229 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
230 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
231
232 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
233 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
234
235 $(OBJS)\tex2rtf_table.obj: .\table.cpp
236 $(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
237
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 $**
240
241 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
242 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
243
244 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
245 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
246
247 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
248 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
249
250 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
251 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
252
253 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
254 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
255
256 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
257 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
258
259 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
260 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
261
262 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
263 $(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**