]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/tex2rtf/src/makefile.wat
remove miniframe stuff from GtkOnSize(), it's handled by wxFrame
[wxWidgets.git] / utils / tex2rtf / src / makefile.wat
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include ../../../build/msw/config.wat
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37WXDEBUGFLAG =
38!ifeq BUILD debug
39!ifeq DEBUG_FLAG default
40WXDEBUGFLAG = d
41!endif
42!endif
43!ifeq DEBUG_FLAG 1
44WXDEBUGFLAG = d
45!endif
46WXUNICODEFLAG =
47!ifeq UNICODE 1
48WXUNICODEFLAG = u
49!endif
50WXUNIVNAME =
51!ifeq WXUNIV 1
52WXUNIVNAME = univ
53!endif
54WXDLLFLAG =
55!ifeq SHARED 1
56WXDLLFLAG = dll
57!endif
58LIBTYPE_SUFFIX =
59!ifeq SHARED 0
60LIBTYPE_SUFFIX = lib
61!endif
62!ifeq SHARED 1
63LIBTYPE_SUFFIX = dll
64!endif
65EXTRALIBS_FOR_BASE =
66!ifeq MONOLITHIC 0
67EXTRALIBS_FOR_BASE =
68!endif
69!ifeq MONOLITHIC 1
70EXTRALIBS_FOR_BASE =
71!endif
72__tex2rtf_gui___depname =
73!ifeq USE_GUI 1
74__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
75!endif
76__WXLIB_HTML_p =
77!ifeq MONOLITHIC 0
78__WXLIB_HTML_p = &
79 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
80!endif
81__WXLIB_CORE_p =
82!ifeq MONOLITHIC 0
83__WXLIB_CORE_p = &
84 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
85!endif
86__LIB_TIFF_p =
87!ifeq USE_GUI 1
88__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
89!endif
90__LIB_JPEG_p =
91!ifeq USE_GUI 1
92__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
93!endif
94__LIB_PNG_p =
95!ifeq USE_GUI 1
96__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
97!endif
98__DEBUGINFO =
99!ifeq BUILD debug
100!ifeq DEBUG_INFO default
101__DEBUGINFO = -d2
102!endif
103!endif
104!ifeq BUILD release
105!ifeq DEBUG_INFO default
106__DEBUGINFO = -d0
107!endif
108!endif
109!ifeq DEBUG_INFO 0
110__DEBUGINFO = -d0
111!endif
112!ifeq DEBUG_INFO 1
113__DEBUGINFO = -d2
114!endif
115__DEBUGINFO_1 =
116!ifeq BUILD debug
117!ifeq DEBUG_INFO default
118__DEBUGINFO_1 = debug all
119!endif
120!endif
121!ifeq BUILD release
122!ifeq DEBUG_INFO default
123__DEBUGINFO_1 =
124!endif
125!endif
126!ifeq DEBUG_INFO 0
127__DEBUGINFO_1 =
128!endif
129!ifeq DEBUG_INFO 1
130__DEBUGINFO_1 = debug all
131!endif
132__OPTIMIZEFLAG =
133!ifeq BUILD debug
134__OPTIMIZEFLAG = -od
135!endif
136!ifeq BUILD release
137__OPTIMIZEFLAG = -ot -ox
138!endif
139__THREADSFLAG =
140!ifeq USE_THREADS 0
141__THREADSFLAG =
142!endif
143!ifeq USE_THREADS 1
144__THREADSFLAG = -bm
145!endif
146__RUNTIME_LIBS =
147!ifeq RUNTIME_LIBS dynamic
148__RUNTIME_LIBS = -br
149!endif
150!ifeq RUNTIME_LIBS static
151__RUNTIME_LIBS =
152!endif
153__RTTIFLAG =
154!ifeq USE_RTTI 0
155__RTTIFLAG =
156!endif
157!ifeq USE_RTTI 1
158__RTTIFLAG = -xr
159!endif
160__EXCEPTIONSFLAG =
161!ifeq USE_EXCEPTIONS 0
162__EXCEPTIONSFLAG =
163!endif
164!ifeq USE_EXCEPTIONS 1
165__EXCEPTIONSFLAG = -xs
166!endif
167__WXLIB_BASE_p =
168!ifeq MONOLITHIC 0
169__WXLIB_BASE_p = &
170 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
171!endif
172__WXLIB_MONO_p =
173!ifeq MONOLITHIC 1
174__WXLIB_MONO_p = &
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
176!endif
177__GDIPLUS_LIB_p =
178!ifeq USE_GDIPLUS 1
179__GDIPLUS_LIB_p = gdiplus.lib
180!endif
181__WXUNIV_DEFINE_p =
182!ifeq WXUNIV 1
183__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
184!endif
185__DEBUG_DEFINE_p =
186!ifeq BUILD debug
187!ifeq DEBUG_FLAG default
188__DEBUG_DEFINE_p = -d__WXDEBUG__
189!endif
190!endif
191!ifeq DEBUG_FLAG 1
192__DEBUG_DEFINE_p = -d__WXDEBUG__
193!endif
194__EXCEPTIONS_DEFINE_p =
195!ifeq USE_EXCEPTIONS 0
196__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
197!endif
198__RTTI_DEFINE_p =
199!ifeq USE_RTTI 0
200__RTTI_DEFINE_p = -dwxNO_RTTI
201!endif
202__THREAD_DEFINE_p =
203!ifeq USE_THREADS 0
204__THREAD_DEFINE_p = -dwxNO_THREADS
205!endif
206__UNICODE_DEFINE_p =
207!ifeq UNICODE 1
208__UNICODE_DEFINE_p = -d_UNICODE
209!endif
210__GFXCTX_DEFINE_p =
211!ifeq USE_GDIPLUS 1
212__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
213!endif
214__DLLFLAG_p =
215!ifeq SHARED 1
216__DLLFLAG_p = -dWXUSINGDLL
217!endif
218
219### Variables: ###
220
221WX_RELEASE_NODOT = 29
222OBJS = &
223 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
224LIBDIRNAME = .\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
225SETUPHDIR = &
226 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
227TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
228 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
229 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
230 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
231 -i=.\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. &
232 $(__DLLFLAG_p) -dwxUSE_GUI=0 -dNO_GUI $(__RTTIFLAG) $(__EXCEPTIONSFLAG) &
233 $(CPPFLAGS) $(CXXFLAGS)
234TEX2RTF_OBJECTS = &
235 $(OBJS)\tex2rtf_tex2rtf.obj &
236 $(OBJS)\tex2rtf_tex2any.obj &
237 $(OBJS)\tex2rtf_texutils.obj &
238 $(OBJS)\tex2rtf_rtfutils.obj &
239 $(OBJS)\tex2rtf_xlputils.obj &
240 $(OBJS)\tex2rtf_htmlutil.obj &
241 $(OBJS)\tex2rtf_readshg.obj &
242 $(OBJS)\tex2rtf_table.obj
243TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
244 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
245 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
246 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
247 -i=.\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. &
248 $(__DLLFLAG_p) -i=.\..\..\..\samples -dNOPCH $(__RTTIFLAG) &
249 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
250TEX2RTF_GUI_OBJECTS = &
251 $(OBJS)\tex2rtf_gui_tex2rtf.obj &
252 $(OBJS)\tex2rtf_gui_tex2any.obj &
253 $(OBJS)\tex2rtf_gui_texutils.obj &
254 $(OBJS)\tex2rtf_gui_rtfutils.obj &
255 $(OBJS)\tex2rtf_gui_xlputils.obj &
256 $(OBJS)\tex2rtf_gui_htmlutil.obj &
257 $(OBJS)\tex2rtf_gui_readshg.obj &
258 $(OBJS)\tex2rtf_gui_table.obj
259
260
261all : $(OBJS)
262$(OBJS) :
263 -if not exist $(OBJS) mkdir $(OBJS)
264
265### Targets: ###
266
267all : .SYMBOLIC $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
268
269clean : .SYMBOLIC
270 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
271 -if exist $(OBJS)\*.res del $(OBJS)\*.res
272 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
273 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
274 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
275 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
276 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
277
278$(OBJS)\tex2rtf.exe : $(TEX2RTF_OBJECTS)
279 @%create $(OBJS)\tex2rtf.lbc
280 @%append $(OBJS)\tex2rtf.lbc option quiet
281 @%append $(OBJS)\tex2rtf.lbc name $^@
282 @%append $(OBJS)\tex2rtf.lbc option caseexact
283 @%append $(OBJS)\tex2rtf.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_'
284 @for %i in ($(TEX2RTF_OBJECTS)) do @%append $(OBJS)\tex2rtf.lbc file %i
285 @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\tex2rtf.lbc library %i
286 @%append $(OBJS)\tex2rtf.lbc
287 @for %i in () do @%append $(OBJS)\tex2rtf.lbc option stack=%i
288 wlink @$(OBJS)\tex2rtf.lbc
289
290!ifeq USE_GUI 1
291$(OBJS)\tex2rtf_gui.exe : $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
292 @%create $(OBJS)\tex2rtf_gui.lbc
293 @%append $(OBJS)\tex2rtf_gui.lbc option quiet
294 @%append $(OBJS)\tex2rtf_gui.lbc name $^@
295 @%append $(OBJS)\tex2rtf_gui.lbc option caseexact
296 @%append $(OBJS)\tex2rtf_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
297 @for %i in ($(TEX2RTF_GUI_OBJECTS)) do @%append $(OBJS)\tex2rtf_gui.lbc file %i
298 @for %i in ( $(__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) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\tex2rtf_gui.lbc library %i
299 @%append $(OBJS)\tex2rtf_gui.lbc option resource=$(OBJS)\tex2rtf_gui_sample.res
300 @for %i in () do @%append $(OBJS)\tex2rtf_gui.lbc option stack=%i
301 wlink @$(OBJS)\tex2rtf_gui.lbc
302!endif
303
304$(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
305 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
306
307$(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
308 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
309
310$(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
311 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
312
313$(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
314 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
315
316$(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
317 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
318
319$(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
320 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
321
322$(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
323 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
324
325$(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
326 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
327
328$(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
329 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\..\include -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
330
331$(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
332 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
333
334$(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
335 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
336
337$(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
338 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
339
340$(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
341 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
342
343$(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
344 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
345
346$(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
347 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
348
349$(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
350 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
351
352$(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
353 $(CXX) -bt=nt -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
354