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