]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/render/makefile.gcc
Move m_isShown = false; into base class constructor
[wxWidgets.git] / samples / render / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.3 (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
15OBJS = \
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19RENDER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
20 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
21 -I.\..\..\include -I$(SETUPHDIR) -Wall -I. $(__DLLFLAG_p) -I.\..\..\samples \
22 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
23RENDER_OBJECTS = \
24 $(OBJS)\render_sample_rc.o \
25 $(OBJS)\render_render.o
26RENDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
27 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 -I.\..\..\include -I$(SETUPHDIR) -Wall -DWXUSINGDLL $(__EXCEPTIONSFLAG) \
29 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
30RENDDLL_OBJECTS = \
31 $(OBJS)\renddll_renddll.o
32
33### Conditionally set variables: ###
34
35ifeq ($(GCC_VERSION),2.95)
36GCCFLAGS = -fvtable-thunks
37endif
38ifeq ($(USE_GUI),0)
39PORTNAME = base
40endif
41ifeq ($(USE_GUI),1)
42PORTNAME = msw
43endif
44ifeq ($(BUILD),debug)
45ifeq ($(DEBUG_FLAG),default)
46WXDEBUGFLAG = d
47endif
48endif
49ifeq ($(DEBUG_FLAG),1)
50WXDEBUGFLAG = d
51endif
52ifeq ($(UNICODE),1)
53WXUNICODEFLAG = u
54endif
55ifeq ($(WXUNIV),1)
56WXUNIVNAME = univ
57endif
58ifeq ($(SHARED),1)
59WXDLLFLAG = dll
60endif
61ifeq ($(BUILD),debug)
62ifeq ($(UNICODE),0)
63PLUGINSUFFIX = _d
64endif
65endif
66ifeq ($(BUILD),debug)
67ifeq ($(UNICODE),1)
68PLUGINSUFFIX = _ud
69endif
70endif
71ifeq ($(BUILD),release)
72ifeq ($(UNICODE),0)
73PLUGINSUFFIX =
74endif
75endif
76ifeq ($(BUILD),release)
77ifeq ($(UNICODE),1)
78PLUGINSUFFIX = _u
79endif
80endif
81ifeq ($(WXUNIV),1)
82__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
83endif
84ifeq ($(BUILD),debug)
85ifeq ($(DEBUG_FLAG),default)
86__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
87endif
88endif
89ifeq ($(DEBUG_FLAG),1)
90__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
91endif
92ifeq ($(UNICODE),1)
93__UNICODE_DEFINE_p_1 = --define _UNICODE
94endif
95ifeq ($(SHARED),1)
96__DLLFLAG_p = -DWXUSINGDLL
97endif
98ifeq ($(SHARED),1)
99__DLLFLAG_p_1 = --define WXUSINGDLL
100endif
101ifeq ($(SHARED),1)
102__renddll___depname = \
103 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_gcc.dll
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 ($(MONOLITHIC),0)
144__WXLIB_CORE_p = \
145 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
146endif
147ifeq ($(MONOLITHIC),0)
148__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
149endif
150ifeq ($(MONOLITHIC),1)
151__WXLIB_MONO_p = \
152 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
153endif
154ifeq ($(USE_GUI),1)
155__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
156endif
157ifeq ($(USE_GUI),1)
158__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
159endif
160ifeq ($(USE_GUI),1)
161__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
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)\render.exe $(__renddll___depname)
191
192clean:
193 -if exist $(OBJS)\*.o del $(OBJS)\*.o
194 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
195 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_gcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_gcc.dll
196
197$(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample_rc.o
198 $(CXX) -o $@ $(RENDER_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__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) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
199
200ifeq ($(SHARED),1)
201$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_gcc.dll: $(RENDDLL_OBJECTS)
202 $(CXX) -shared -o $@ $(RENDDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__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) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
203endif
204
205$(OBJS)\render_sample_rc.o: ./../../samples/sample.rc
206 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples
207
208$(OBJS)\render_render.o: ./render.cpp
209 $(CXX) -c -o $@ $(RENDER_CXXFLAGS) $<
210
211$(OBJS)\renddll_renddll.o: ./renddll.cpp
212 $(CXX) -c -o $@ $(RENDDLL_CXXFLAGS) $<
213
214.PHONY: all clean