]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/tex2rtf/src/makefile.gcc
remove @ingroup; use @category instead
[wxWidgets.git] / utils / tex2rtf / src / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.3 (http://www.bakefile.org)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15CPPDEPS = -MT$@ -MF$@.d -MD
16WX_RELEASE_NODOT = 29
17COMPILER_PREFIX = gcc
18OBJS = \
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20LIBDIRNAME = .\..\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
27 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \
28 $(__DLLFLAG_p) -DwxUSE_GUI=0 -DNO_GUI $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
30TEX2RTF_OBJECTS = \
31 $(OBJS)\tex2rtf_tex2rtf.o \
32 $(OBJS)\tex2rtf_tex2any.o \
33 $(OBJS)\tex2rtf_texutils.o \
34 $(OBJS)\tex2rtf_rtfutils.o \
35 $(OBJS)\tex2rtf_xlputils.o \
36 $(OBJS)\tex2rtf_htmlutil.o \
37 $(OBJS)\tex2rtf_readshg.o \
38 $(OBJS)\tex2rtf_table.o
39TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
40 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
41 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
42 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
43 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \
44 $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH $(__RTTIFLAG) \
45 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
46TEX2RTF_GUI_OBJECTS = \
47 $(OBJS)\tex2rtf_gui_sample_rc.o \
48 $(OBJS)\tex2rtf_gui_tex2rtf.o \
49 $(OBJS)\tex2rtf_gui_tex2any.o \
50 $(OBJS)\tex2rtf_gui_texutils.o \
51 $(OBJS)\tex2rtf_gui_rtfutils.o \
52 $(OBJS)\tex2rtf_gui_xlputils.o \
53 $(OBJS)\tex2rtf_gui_htmlutil.o \
54 $(OBJS)\tex2rtf_gui_readshg.o \
55 $(OBJS)\tex2rtf_gui_table.o
56
57### Conditionally set variables: ###
58
59ifeq ($(GCC_VERSION),2.95)
60GCCFLAGS = -fvtable-thunks
61endif
62ifeq ($(USE_GUI),0)
63PORTNAME = base
64endif
65ifeq ($(USE_GUI),1)
66PORTNAME = msw
67endif
68ifeq ($(BUILD),debug)
69ifeq ($(DEBUG_FLAG),default)
70WXDEBUGFLAG = d
71endif
72endif
73ifeq ($(DEBUG_FLAG),1)
74WXDEBUGFLAG = d
75endif
76ifeq ($(UNICODE),1)
77WXUNICODEFLAG = u
78endif
79ifeq ($(WXUNIV),1)
80WXUNIVNAME = univ
81endif
82ifeq ($(SHARED),1)
83WXDLLFLAG = dll
84endif
85ifeq ($(SHARED),0)
86LIBTYPE_SUFFIX = lib
87endif
88ifeq ($(SHARED),1)
89LIBTYPE_SUFFIX = dll
90endif
91ifeq ($(MONOLITHIC),0)
92EXTRALIBS_FOR_BASE =
93endif
94ifeq ($(MONOLITHIC),1)
95EXTRALIBS_FOR_BASE =
96endif
97ifeq ($(USE_GUI),1)
98__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
99endif
100ifeq ($(WXUNIV),1)
101__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
102endif
103ifeq ($(BUILD),debug)
104ifeq ($(DEBUG_FLAG),default)
105__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
106endif
107endif
108ifeq ($(DEBUG_FLAG),1)
109__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
110endif
111ifeq ($(USE_EXCEPTIONS),0)
112__EXCEPTIONS_DEFINE_p_3 = --define wxNO_EXCEPTIONS
113endif
114ifeq ($(USE_RTTI),0)
115__RTTI_DEFINE_p_3 = --define wxNO_RTTI
116endif
117ifeq ($(USE_THREADS),0)
118__THREAD_DEFINE_p_3 = --define wxNO_THREADS
119endif
120ifeq ($(UNICODE),0)
121__UNICODE_DEFINE_p_3 = --define wxUSE_UNICODE=0
122endif
123ifeq ($(UNICODE),1)
124__UNICODE_DEFINE_p_3 = --define _UNICODE
125endif
126ifeq ($(MSLU),1)
127__MSLU_DEFINE_p_3 = --define wxUSE_UNICODE_MSLU=1
128endif
129ifeq ($(USE_GDIPLUS),1)
130__GFXCTX_DEFINE_p_3 = --define wxUSE_GRAPHICS_CONTEXT=1
131endif
132ifeq ($(SHARED),1)
133__DLLFLAG_p_3 = --define WXUSINGDLL
134endif
135ifeq ($(MONOLITHIC),0)
136__WXLIB_HTML_p = \
137 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html
138endif
139ifeq ($(MONOLITHIC),0)
140__WXLIB_CORE_p = \
141 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
142endif
143ifeq ($(USE_GUI),1)
144__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
145endif
146ifeq ($(USE_GUI),1)
147__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
148endif
149ifeq ($(USE_GUI),1)
150__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
151endif
152ifeq ($(BUILD),debug)
153__OPTIMIZEFLAG = -O0
154endif
155ifeq ($(BUILD),release)
156__OPTIMIZEFLAG = -O2
157endif
158ifeq ($(USE_RTTI),0)
159__RTTIFLAG = -fno-rtti
160endif
161ifeq ($(USE_RTTI),1)
162__RTTIFLAG =
163endif
164ifeq ($(USE_EXCEPTIONS),0)
165__EXCEPTIONSFLAG = -fno-exceptions
166endif
167ifeq ($(USE_EXCEPTIONS),1)
168__EXCEPTIONSFLAG =
169endif
170ifeq ($(WXUNIV),1)
171__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
172endif
173ifeq ($(BUILD),debug)
174ifeq ($(DEBUG_FLAG),default)
175__DEBUG_DEFINE_p = -D__WXDEBUG__
176endif
177endif
178ifeq ($(DEBUG_FLAG),1)
179__DEBUG_DEFINE_p = -D__WXDEBUG__
180endif
181ifeq ($(USE_EXCEPTIONS),0)
182__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
183endif
184ifeq ($(USE_RTTI),0)
185__RTTI_DEFINE_p = -DwxNO_RTTI
186endif
187ifeq ($(USE_THREADS),0)
188__THREAD_DEFINE_p = -DwxNO_THREADS
189endif
190ifeq ($(UNICODE),0)
191__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
192endif
193ifeq ($(UNICODE),1)
194__UNICODE_DEFINE_p = -D_UNICODE
195endif
196ifeq ($(MSLU),1)
197__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
198endif
199ifeq ($(USE_GDIPLUS),1)
200__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
201endif
202ifeq ($(SHARED),1)
203__DLLFLAG_p = -DWXUSINGDLL
204endif
205ifeq ($(MONOLITHIC),0)
206__WXLIB_BASE_p = \
207 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
208endif
209ifeq ($(MONOLITHIC),1)
210__WXLIB_MONO_p = \
211 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
212endif
213ifeq ($(MSLU),1)
214__UNICOWS_LIB_p = -lunicows
215endif
216ifeq ($(USE_GDIPLUS),1)
217__GDIPLUS_LIB_p = -lgdiplus
218endif
219ifeq ($(BUILD),debug)
220ifeq ($(DEBUG_INFO),default)
221__DEBUGINFO = -g
222endif
223endif
224ifeq ($(BUILD),release)
225ifeq ($(DEBUG_INFO),default)
226__DEBUGINFO =
227endif
228endif
229ifeq ($(DEBUG_INFO),0)
230__DEBUGINFO =
231endif
232ifeq ($(DEBUG_INFO),1)
233__DEBUGINFO = -g
234endif
235ifeq ($(USE_THREADS),0)
236__THREADSFLAG =
237endif
238ifeq ($(USE_THREADS),1)
239__THREADSFLAG = -mthreads
240endif
241
242
243all: $(OBJS)
244$(OBJS):
245 -if not exist $(OBJS) mkdir $(OBJS)
246
247### Targets: ###
248
249all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
250
251clean:
252 -if exist $(OBJS)\*.o del $(OBJS)\*.o
253 -if exist $(OBJS)\*.d del $(OBJS)\*.d
254 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
255 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
256
257$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
258 $(CXX) -o $@ $(TEX2RTF_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
259
260ifeq ($(USE_GUI),1)
261$(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample_rc.o
262 $(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
263endif
264
265$(OBJS)\tex2rtf_tex2rtf.o: ./tex2rtf.cpp
266 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
267
268$(OBJS)\tex2rtf_tex2any.o: ./tex2any.cpp
269 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
270
271$(OBJS)\tex2rtf_texutils.o: ./texutils.cpp
272 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
273
274$(OBJS)\tex2rtf_rtfutils.o: ./rtfutils.cpp
275 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
276
277$(OBJS)\tex2rtf_xlputils.o: ./xlputils.cpp
278 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
279
280$(OBJS)\tex2rtf_htmlutil.o: ./htmlutil.cpp
281 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
282
283$(OBJS)\tex2rtf_readshg.o: ./readshg.cpp
284 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
285
286$(OBJS)\tex2rtf_table.o: ./table.cpp
287 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $(CPPDEPS) $<
288
289$(OBJS)\tex2rtf_gui_sample_rc.o: ./../../../samples/sample.rc
290 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_3) --include-dir ./../../../samples --define NOPCH
291
292$(OBJS)\tex2rtf_gui_tex2rtf.o: ./tex2rtf.cpp
293 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
294
295$(OBJS)\tex2rtf_gui_tex2any.o: ./tex2any.cpp
296 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
297
298$(OBJS)\tex2rtf_gui_texutils.o: ./texutils.cpp
299 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
300
301$(OBJS)\tex2rtf_gui_rtfutils.o: ./rtfutils.cpp
302 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
303
304$(OBJS)\tex2rtf_gui_xlputils.o: ./xlputils.cpp
305 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
306
307$(OBJS)\tex2rtf_gui_htmlutil.o: ./htmlutil.cpp
308 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
309
310$(OBJS)\tex2rtf_gui_readshg.o: ./readshg.cpp
311 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
312
313$(OBJS)\tex2rtf_gui_table.o: ./table.cpp
314 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(CPPDEPS) $<
315
316.PHONY: all clean
317
318
319SHELL := $(COMSPEC)
320
321# Dependencies tracking:
322-include $(OBJS)/*.d