]> git.saurik.com Git - wxWidgets.git/blame - samples/treelist/makefile.gcc
Fix missing and broken interface items for Phoenix
[wxWidgets.git] / samples / treelist / makefile.gcc
CommitLineData
524cb040
VZ
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.9 (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 -MP
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)
23TREELIST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
28 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -W -Wall -I. $(__DLLFLAG_p) \
29 -I.\..\..\samples -DNOPCH $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \
30 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
31TREELIST_OBJECTS = \
32 $(OBJS)\treelist_sample_rc.o \
33 $(OBJS)\treelist_treelist.o
34
35### Conditionally set variables: ###
36
37ifeq ($(GCC_VERSION),2.95)
38GCCFLAGS = -fvtable-thunks
39endif
40ifeq ($(USE_GUI),0)
41PORTNAME = base
42endif
43ifeq ($(USE_GUI),1)
44PORTNAME = msw
45endif
46ifeq ($(BUILD),debug)
47WXDEBUGFLAG = d
48endif
49ifeq ($(UNICODE),1)
50WXUNICODEFLAG = u
51endif
52ifeq ($(WXUNIV),1)
53WXUNIVNAME = univ
54endif
55ifeq ($(SHARED),1)
56WXDLLFLAG = dll
57endif
58ifeq ($(SHARED),0)
59LIBTYPE_SUFFIX = lib
60endif
61ifeq ($(SHARED),1)
62LIBTYPE_SUFFIX = dll
63endif
64ifeq ($(MONOLITHIC),0)
65EXTRALIBS_FOR_BASE =
66endif
67ifeq ($(MONOLITHIC),1)
68EXTRALIBS_FOR_BASE =
69endif
70ifeq ($(BUILD),debug)
71__OPTIMIZEFLAG_2 = -O0
72endif
73ifeq ($(BUILD),release)
74__OPTIMIZEFLAG_2 = -O2
75endif
76ifeq ($(USE_RTTI),0)
77__RTTIFLAG_5 = -fno-rtti
78endif
79ifeq ($(USE_RTTI),1)
80__RTTIFLAG_5 =
81endif
82ifeq ($(USE_EXCEPTIONS),0)
83__EXCEPTIONSFLAG_6 = -fno-exceptions
84endif
85ifeq ($(USE_EXCEPTIONS),1)
86__EXCEPTIONSFLAG_6 =
87endif
88ifeq ($(WXUNIV),1)
89__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
90endif
91ifeq ($(WXUNIV),1)
92__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
93endif
94ifeq ($(DEBUG_FLAG),0)
95__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
96endif
97ifeq ($(DEBUG_FLAG),0)
98__DEBUG_DEFINE_p_1 = --define wxDEBUG_LEVEL=0
99endif
100ifeq ($(BUILD),release)
101__NDEBUG_DEFINE_p = -DNDEBUG
102endif
103ifeq ($(BUILD),release)
104__NDEBUG_DEFINE_p_1 = --define NDEBUG
105endif
106ifeq ($(USE_EXCEPTIONS),0)
107__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
108endif
109ifeq ($(USE_EXCEPTIONS),0)
110__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
111endif
112ifeq ($(USE_RTTI),0)
113__RTTI_DEFINE_p = -DwxNO_RTTI
114endif
115ifeq ($(USE_RTTI),0)
116__RTTI_DEFINE_p_1 = --define wxNO_RTTI
117endif
118ifeq ($(USE_THREADS),0)
119__THREAD_DEFINE_p = -DwxNO_THREADS
120endif
121ifeq ($(USE_THREADS),0)
122__THREAD_DEFINE_p_1 = --define wxNO_THREADS
123endif
124ifeq ($(UNICODE),0)
125__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
126endif
127ifeq ($(UNICODE),1)
128__UNICODE_DEFINE_p = -D_UNICODE
129endif
130ifeq ($(UNICODE),0)
131__UNICODE_DEFINE_p_1 = --define wxUSE_UNICODE=0
132endif
133ifeq ($(UNICODE),1)
134__UNICODE_DEFINE_p_1 = --define _UNICODE
135endif
136ifeq ($(MSLU),1)
137__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
138endif
139ifeq ($(MSLU),1)
140__MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
141endif
142ifeq ($(USE_CAIRO),1)
143____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo
144endif
145ifeq ($(USE_CAIRO),1)
146__CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo
147endif
148ifeq ($(SHARED),1)
149__DLLFLAG_p = -DWXUSINGDLL
150endif
151ifeq ($(SHARED),1)
152__DLLFLAG_p_1 = --define WXUSINGDLL
153endif
154ifeq ($(MONOLITHIC),0)
155__WXLIB_ADV_p = \
156 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv
157endif
158ifeq ($(MONOLITHIC),0)
159__WXLIB_CORE_p = \
160 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
161endif
162ifeq ($(MONOLITHIC),0)
163__WXLIB_BASE_p = \
164 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
165endif
166ifeq ($(MONOLITHIC),1)
167__WXLIB_MONO_p = \
168 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
169endif
170ifeq ($(USE_GUI),1)
171__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
172endif
173ifeq ($(USE_GUI),1)
174__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
175endif
176ifeq ($(USE_GUI),1)
177__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
178endif
179ifeq ($(MSLU),1)
180__UNICOWS_LIB_p = -lunicows
181endif
182ifeq ($(USE_CAIRO),1)
183__CAIRO_LIB_p = -lcairo
184endif
185ifeq ($(USE_CAIRO),1)
186____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib
187endif
188ifeq ($(BUILD),debug)
189ifeq ($(DEBUG_INFO),default)
190__DEBUGINFO = -g
191endif
192endif
193ifeq ($(BUILD),release)
194ifeq ($(DEBUG_INFO),default)
195__DEBUGINFO =
196endif
197endif
198ifeq ($(DEBUG_INFO),0)
199__DEBUGINFO =
200endif
201ifeq ($(DEBUG_INFO),1)
202__DEBUGINFO = -g
203endif
204ifeq ($(USE_THREADS),0)
205__THREADSFLAG =
206endif
207ifeq ($(USE_THREADS),1)
208__THREADSFLAG = -mthreads
209endif
210
211
212all: $(OBJS)
213$(OBJS):
214 -if not exist $(OBJS) mkdir $(OBJS)
215
216### Targets: ###
217
218all: $(OBJS)\treelist.exe
219
220clean:
221 -if exist $(OBJS)\*.o del $(OBJS)\*.o
222 -if exist $(OBJS)\*.d del $(OBJS)\*.d
223 -if exist $(OBJS)\treelist.exe del $(OBJS)\treelist.exe
224
225$(OBJS)\treelist.exe: $(TREELIST_OBJECTS) $(OBJS)\treelist_sample_rc.o
226 $(CXX) -o $@ $(TREELIST_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) $(__WXLIB_ADV_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) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet
227
228$(OBJS)\treelist_sample_rc.o: ./../../samples/sample.rc
229 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples --define NOPCH
230
231$(OBJS)\treelist_treelist.o: ./treelist.cpp
232 $(CXX) -c -o $@ $(TREELIST_CXXFLAGS) $(CPPDEPS) $<
233
234.PHONY: all clean
235
236
237SHELL := $(COMSPEC)
238
239# Dependencies tracking:
240-include $(OBJS)/*.d