]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/tex2rtf/src/makefile.wat
Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
[wxWidgets.git] / utils / tex2rtf / src / makefile.wat
... / ...
CommitLineData
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!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
58__tex2rtf_gui___depname =
59!ifeq USE_GUI 1
60__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
61!endif
62__WXLIB_HTML_p =
63!ifeq MONOLITHIC 0
64__WXLIB_HTML_p = &
65 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
66!endif
67__WXLIB_CORE_p =
68!ifeq MONOLITHIC 0
69__WXLIB_CORE_p = &
70 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
71!endif
72__DEBUGINFO =
73!ifeq BUILD debug
74!ifeq DEBUG_INFO default
75__DEBUGINFO = -d2
76!endif
77!endif
78!ifeq BUILD release
79!ifeq DEBUG_INFO default
80__DEBUGINFO = -d0
81!endif
82!endif
83!ifeq DEBUG_INFO 0
84__DEBUGINFO = -d0
85!endif
86!ifeq DEBUG_INFO 1
87__DEBUGINFO = -d2
88!endif
89__DEBUGINFO_1 =
90!ifeq BUILD debug
91!ifeq DEBUG_INFO default
92__DEBUGINFO_1 = debug all
93!endif
94!endif
95!ifeq BUILD release
96!ifeq DEBUG_INFO default
97__DEBUGINFO_1 =
98!endif
99!endif
100!ifeq DEBUG_INFO 0
101__DEBUGINFO_1 =
102!endif
103!ifeq DEBUG_INFO 1
104__DEBUGINFO_1 = debug all
105!endif
106__OPTIMIZEFLAG =
107!ifeq BUILD debug
108__OPTIMIZEFLAG = -od
109!endif
110!ifeq BUILD release
111__OPTIMIZEFLAG = -ot -ox
112!endif
113__RUNTIME_LIBS =
114!ifeq RUNTIME_LIBS dynamic
115__RUNTIME_LIBS = -br
116!endif
117!ifeq RUNTIME_LIBS static
118__RUNTIME_LIBS =
119!endif
120__EXCEPTIONSFLAG =
121!ifeq USE_EXCEPTIONS 0
122__EXCEPTIONSFLAG =
123!endif
124!ifeq USE_EXCEPTIONS 1
125__EXCEPTIONSFLAG = -xs
126!endif
127LIBDIRNAME =
128!ifeq SHARED 0
129LIBDIRNAME = .\..\..\..\lib\wat_lib$(CFG)
130!endif
131!ifeq SHARED 1
132LIBDIRNAME = .\..\..\..\lib\wat_dll$(CFG)
133!endif
134__WXLIB_BASE_p =
135!ifeq MONOLITHIC 0
136__WXLIB_BASE_p = &
137 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
138!endif
139__WXLIB_MONO_p =
140!ifeq MONOLITHIC 1
141__WXLIB_MONO_p = &
142 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
143!endif
144__LIB_TIFF_p =
145!ifeq USE_GUI 1
146__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
147!endif
148__LIB_JPEG_p =
149!ifeq USE_GUI 1
150__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
151!endif
152__LIB_PNG_p =
153!ifeq USE_GUI 1
154__LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
155!endif
156__WXUNIV_DEFINE_p =
157!ifeq WXUNIV 1
158__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
159!endif
160__DEBUG_DEFINE_p =
161!ifeq BUILD debug
162!ifeq DEBUG_FLAG default
163__DEBUG_DEFINE_p = -d__WXDEBUG__
164!endif
165!endif
166!ifeq DEBUG_FLAG 1
167__DEBUG_DEFINE_p = -d__WXDEBUG__
168!endif
169__UNICODE_DEFINE_p =
170!ifeq UNICODE 1
171__UNICODE_DEFINE_p = -d_UNICODE
172!endif
173__DLLFLAG_p =
174!ifeq SHARED 1
175__DLLFLAG_p = -dWXUSINGDLL
176!endif
177
178### Variables: ###
179
180WX_RELEASE_NODOT = 25
181OBJS = &
182 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
183SETUPHDIR = &
184 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
185TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
186 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
187 -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -dNO_GUI &
188 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
189TEX2RTF_OBJECTS = &
190 $(OBJS)\tex2rtf_tex2rtf.obj &
191 $(OBJS)\tex2rtf_tex2any.obj &
192 $(OBJS)\tex2rtf_texutils.obj &
193 $(OBJS)\tex2rtf_rtfutils.obj &
194 $(OBJS)\tex2rtf_xlputils.obj &
195 $(OBJS)\tex2rtf_htmlutil.obj &
196 $(OBJS)\tex2rtf_readshg.obj &
197 $(OBJS)\tex2rtf_table.obj
198TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
199 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
200 -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) &
201 -i=.\..\..\..\samples -dNOPCH $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
202TEX2RTF_GUI_OBJECTS = &
203 $(OBJS)\tex2rtf_gui_tex2rtf.obj &
204 $(OBJS)\tex2rtf_gui_tex2any.obj &
205 $(OBJS)\tex2rtf_gui_texutils.obj &
206 $(OBJS)\tex2rtf_gui_rtfutils.obj &
207 $(OBJS)\tex2rtf_gui_xlputils.obj &
208 $(OBJS)\tex2rtf_gui_htmlutil.obj &
209 $(OBJS)\tex2rtf_gui_readshg.obj &
210 $(OBJS)\tex2rtf_gui_table.obj
211
212
213all : $(OBJS)
214$(OBJS) :
215 -if not exist $(OBJS) mkdir $(OBJS)
216
217### Targets: ###
218
219all : .SYMBOLIC $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
220
221clean : .SYMBOLIC
222 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
223 -if exist $(OBJS)\*.res del $(OBJS)\*.res
224 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
225 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
226 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
227 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
228
229$(OBJS)\tex2rtf.exe : $(TEX2RTF_OBJECTS)
230 @%create $(OBJS)\tex2rtf.lbc
231 @%append $(OBJS)\tex2rtf.lbc option quiet
232 @%append $(OBJS)\tex2rtf.lbc name $^@
233 @%append $(OBJS)\tex2rtf.lbc option caseexact
234 @%append $(OBJS)\tex2rtf.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_'
235 @for %i in ($(TEX2RTF_OBJECTS)) do @%append $(OBJS)\tex2rtf.lbc file %i
236 @for %i in ( $(__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 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
237 @%append $(OBJS)\tex2rtf.lbc
238 wlink @$(OBJS)\tex2rtf.lbc
239
240!ifeq USE_GUI 1
241$(OBJS)\tex2rtf_gui.exe : $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
242 @%create $(OBJS)\tex2rtf_gui.lbc
243 @%append $(OBJS)\tex2rtf_gui.lbc option quiet
244 @%append $(OBJS)\tex2rtf_gui.lbc name $^@
245 @%append $(OBJS)\tex2rtf_gui.lbc option caseexact
246 @%append $(OBJS)\tex2rtf_gui.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
247 @for %i in ($(TEX2RTF_GUI_OBJECTS)) do @%append $(OBJS)\tex2rtf_gui.lbc file %i
248 @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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib 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
249 @%append $(OBJS)\tex2rtf_gui.lbc option resource=$(OBJS)\tex2rtf_gui_sample.res
250 wlink @$(OBJS)\tex2rtf_gui.lbc
251!endif
252
253$(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
254 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
255
256$(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
257 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
258
259$(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
260 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
261
262$(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
263 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
264
265$(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
266 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
267
268$(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
269 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
270
271$(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
272 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
273
274$(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
275 $(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
276
277$(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
278 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
279
280$(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
281 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
282
283$(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
284 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
285
286$(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
287 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
288
289$(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
290 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
291
292$(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
293 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
294
295$(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
296 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
297
298$(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
299 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
300
301$(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
302 $(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<