]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/tex2rtf/src/makefile.gcc
Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
[wxWidgets.git] / utils / tex2rtf / src / makefile.gcc
... / ...
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
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16OBJS = \
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18SETUPHDIR = \
19 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
20TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
21 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
22 -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. $(__DLLFLAG_p) -DNO_GUI \
23 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
24TEX2RTF_OBJECTS = \
25 $(OBJS)\tex2rtf_tex2rtf.o \
26 $(OBJS)\tex2rtf_tex2any.o \
27 $(OBJS)\tex2rtf_texutils.o \
28 $(OBJS)\tex2rtf_rtfutils.o \
29 $(OBJS)\tex2rtf_xlputils.o \
30 $(OBJS)\tex2rtf_htmlutil.o \
31 $(OBJS)\tex2rtf_readshg.o \
32 $(OBJS)\tex2rtf_table.o
33TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
34 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
36 $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH $(__EXCEPTIONSFLAG) \
37 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
38TEX2RTF_GUI_OBJECTS = \
39 $(OBJS)\tex2rtf_gui_sample_rc.o \
40 $(OBJS)\tex2rtf_gui_tex2rtf.o \
41 $(OBJS)\tex2rtf_gui_tex2any.o \
42 $(OBJS)\tex2rtf_gui_texutils.o \
43 $(OBJS)\tex2rtf_gui_rtfutils.o \
44 $(OBJS)\tex2rtf_gui_xlputils.o \
45 $(OBJS)\tex2rtf_gui_htmlutil.o \
46 $(OBJS)\tex2rtf_gui_readshg.o \
47 $(OBJS)\tex2rtf_gui_table.o
48
49### Conditionally set variables: ###
50
51ifeq ($(GCC_VERSION),2.95)
52GCCFLAGS = -fvtable-thunks
53endif
54ifeq ($(USE_GUI),0)
55PORTNAME = base
56endif
57ifeq ($(USE_GUI),1)
58PORTNAME = msw
59endif
60ifeq ($(BUILD),debug)
61ifeq ($(DEBUG_FLAG),default)
62WXDEBUGFLAG = d
63endif
64endif
65ifeq ($(DEBUG_FLAG),1)
66WXDEBUGFLAG = d
67endif
68ifeq ($(UNICODE),1)
69WXUNICODEFLAG = u
70endif
71ifeq ($(WXUNIV),1)
72WXUNIVNAME = univ
73endif
74ifeq ($(SHARED),1)
75WXDLLFLAG = dll
76endif
77ifeq ($(USE_GUI),1)
78__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
79endif
80ifeq ($(WXUNIV),1)
81__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
82endif
83ifeq ($(BUILD),debug)
84ifeq ($(DEBUG_FLAG),default)
85__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
86endif
87endif
88ifeq ($(DEBUG_FLAG),1)
89__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
90endif
91ifeq ($(UNICODE),1)
92__UNICODE_DEFINE_p_3 = --define _UNICODE
93endif
94ifeq ($(SHARED),1)
95__DLLFLAG_p_3 = --define WXUSINGDLL
96endif
97ifeq ($(MONOLITHIC),0)
98__WXLIB_HTML_p = \
99 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html
100endif
101ifeq ($(MONOLITHIC),0)
102__WXLIB_CORE_p = \
103 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
104endif
105ifeq ($(BUILD),debug)
106__OPTIMIZEFLAG = -O0
107endif
108ifeq ($(BUILD),release)
109__OPTIMIZEFLAG = -O2
110endif
111ifeq ($(USE_EXCEPTIONS),0)
112__EXCEPTIONSFLAG = -fno-rtti
113endif
114ifeq ($(USE_EXCEPTIONS),1)
115__EXCEPTIONSFLAG =
116endif
117ifeq ($(USE_EXCEPTIONS),0)
118__EXCEPTIONSFLAG_0 = -fno-exceptions
119endif
120ifeq ($(USE_EXCEPTIONS),1)
121__EXCEPTIONSFLAG_0 =
122endif
123ifeq ($(WXUNIV),1)
124__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
125endif
126ifeq ($(BUILD),debug)
127ifeq ($(DEBUG_FLAG),default)
128__DEBUG_DEFINE_p = -D__WXDEBUG__
129endif
130endif
131ifeq ($(DEBUG_FLAG),1)
132__DEBUG_DEFINE_p = -D__WXDEBUG__
133endif
134ifeq ($(UNICODE),1)
135__UNICODE_DEFINE_p = -D_UNICODE
136endif
137ifeq ($(SHARED),0)
138LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
139endif
140ifeq ($(SHARED),1)
141LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
142endif
143ifeq ($(SHARED),1)
144__DLLFLAG_p = -DWXUSINGDLL
145endif
146ifeq ($(MONOLITHIC),0)
147__WXLIB_BASE_p = \
148 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
149endif
150ifeq ($(MONOLITHIC),1)
151__WXLIB_MONO_p = \
152 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
153endif
154ifeq ($(USE_GUI),1)
155__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
156endif
157ifeq ($(USE_GUI),1)
158__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
159endif
160ifeq ($(USE_GUI),1)
161__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
162endif
163ifeq ($(MSLU),1)
164__UNICOWS_LIB_p = -lunicows
165endif
166ifeq ($(BUILD),debug)
167ifeq ($(DEBUG_INFO),default)
168__DEBUGINFO = -g
169endif
170endif
171ifeq ($(BUILD),release)
172ifeq ($(DEBUG_INFO),default)
173__DEBUGINFO =
174endif
175endif
176ifeq ($(DEBUG_INFO),0)
177__DEBUGINFO =
178endif
179ifeq ($(DEBUG_INFO),1)
180__DEBUGINFO = -g
181endif
182
183
184all: $(OBJS)
185$(OBJS):
186 -if not exist $(OBJS) mkdir $(OBJS)
187
188### Targets: ###
189
190all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
191
192clean:
193 -if exist $(OBJS)\*.o del $(OBJS)\*.o
194 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
195 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
196
197$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
198 $(CXX) -o $@ $(TEX2RTF_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) -lwxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
199
200ifeq ($(USE_GUI),1)
201$(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample_rc.o
202 $(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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)$(WX_RELEASE_NODOT) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) -lwxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
203endif
204
205$(OBJS)\tex2rtf_tex2rtf.o: ./tex2rtf.cpp
206 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
207
208$(OBJS)\tex2rtf_tex2any.o: ./tex2any.cpp
209 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
210
211$(OBJS)\tex2rtf_texutils.o: ./texutils.cpp
212 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
213
214$(OBJS)\tex2rtf_rtfutils.o: ./rtfutils.cpp
215 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
216
217$(OBJS)\tex2rtf_xlputils.o: ./xlputils.cpp
218 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
219
220$(OBJS)\tex2rtf_htmlutil.o: ./htmlutil.cpp
221 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
222
223$(OBJS)\tex2rtf_readshg.o: ./readshg.cpp
224 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
225
226$(OBJS)\tex2rtf_table.o: ./table.cpp
227 $(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
228
229$(OBJS)\tex2rtf_gui_sample_rc.o: ./../../../samples/sample.rc
230 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_3) --include-dir ./../../../samples
231
232$(OBJS)\tex2rtf_gui_tex2rtf.o: ./tex2rtf.cpp
233 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
234
235$(OBJS)\tex2rtf_gui_tex2any.o: ./tex2any.cpp
236 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
237
238$(OBJS)\tex2rtf_gui_texutils.o: ./texutils.cpp
239 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
240
241$(OBJS)\tex2rtf_gui_rtfutils.o: ./rtfutils.cpp
242 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
243
244$(OBJS)\tex2rtf_gui_xlputils.o: ./xlputils.cpp
245 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
246
247$(OBJS)\tex2rtf_gui_htmlutil.o: ./htmlutil.cpp
248 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
249
250$(OBJS)\tex2rtf_gui_readshg.o: ./readshg.cpp
251 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
252
253$(OBJS)\tex2rtf_gui_table.o: ./table.cpp
254 $(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
255
256.PHONY: all clean