]> git.saurik.com Git - wxWidgets.git/blame - utils/screenshotgen/src/makefile.gcc
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / utils / screenshotgen / src / makefile.gcc
CommitLineData
f82b7036
KO
1# =========================================================================\r
2# This makefile was generated by\r
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)\r
f82b7036
KO
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7include ../../../build/msw/config.gcc\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13### Variables: ###\r
14\r
15CPPDEPS = -MT$@ -MF$@.d -MD -MP\r
16WX_RELEASE_NODOT = 29\r
17COMPILER_PREFIX = gcc\r
18OBJS = \\r
14b682f7
VZ
19 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20LIBDIRNAME = \
21 .\..\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
f82b7036
KO
22SETUPHDIR = \\r
23 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
24SCREENSHOTGEN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \\r
22a3b6e4 25 $(GCCFLAGS) -DHAVE_W32API_H -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
00fb97de
KO
26 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
27 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 28 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include \\r
f82b7036
KO
29 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -W -Wall -I. $(__DLLFLAG_p) \\r
30 -I.\..\..\..\samples -DNOPCH $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \\r
22a3b6e4 31 -Wno-ctor-dtor-privacy $(CXXFLAGS_GTK_WINDOWS_GCC) $(CPPFLAGS) $(CXXFLAGS)
f82b7036
KO
32SCREENSHOTGEN_OBJECTS = \\r
33 $(OBJS)\screenshotgen_screenshot_app.o \\r
34 $(OBJS)\screenshotgen_screenshot_main.o \\r
35 $(OBJS)\screenshotgen_guiframe.o \\r
36 $(OBJS)\screenshotgen_customcombo.o \\r
37 $(OBJS)\screenshotgen_autocapture.o \\r
38 $(OBJS)\screenshotgen_screenshotgen_rc.o\r
39\r
40### Conditionally set variables: ###\r
41\r
22a3b6e4
VZ
42ifeq ($(TOOLKIT),GTK)
43WIN32_TOOLKIT_LOWERCASE = gtk
44endif
45ifeq ($(TOOLKIT),MSW)
46WIN32_TOOLKIT_LOWERCASE = msw
47endif
f82b7036
KO
48ifeq ($(GCC_VERSION),2.95)\r
49GCCFLAGS = -fvtable-thunks\r
50endif\r
51ifeq ($(USE_GUI),0)\r
52PORTNAME = base\r
53endif\r
54ifeq ($(USE_GUI),1)\r
22a3b6e4
VZ
55PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
56endif
57ifeq ($(TOOLKIT),MAC)
58WXBASEPORT = _carbon
59endif
14b682f7
VZ
60ifeq ($(OFFICIAL_BUILD),1)
61COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
22a3b6e4 62endif\r
f82b7036
KO
63ifeq ($(BUILD),debug)\r
64WXDEBUGFLAG = d\r
65endif\r
66ifeq ($(UNICODE),1)\r
67WXUNICODEFLAG = u\r
68endif\r
69ifeq ($(WXUNIV),1)\r
70WXUNIVNAME = univ\r
71endif\r
72ifeq ($(SHARED),1)\r
73WXDLLFLAG = dll\r
74endif\r
75ifeq ($(SHARED),0)\r
76LIBTYPE_SUFFIX = lib\r
77endif\r
78ifeq ($(SHARED),1)\r
79LIBTYPE_SUFFIX = dll\r
80endif\r
81ifeq ($(MONOLITHIC),0)\r
82EXTRALIBS_FOR_BASE = \r
83endif\r
84ifeq ($(MONOLITHIC),1)\r
51ec29ea 85EXTRALIBS_FOR_BASE = \r
f82b7036 86endif\r
22a3b6e4
VZ
87ifeq ($(TOOLKIT),GTK)
88CXXFLAGS_GTK_WINDOWS_GCC = -mms-bitfields
89endif
90ifeq ($(TOOLKIT),GTK)
91ifeq ($(TOOLKIT_VERSION),2)
92LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
93 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
94 glib-2.0.lib
95endif
96endif
f82b7036
KO
97ifeq ($(BUILD),debug)\r
98__OPTIMIZEFLAG_2 = -O0\r
99endif\r
100ifeq ($(BUILD),release)\r
101__OPTIMIZEFLAG_2 = -O2\r
102endif\r
103ifeq ($(USE_RTTI),0)\r
104__RTTIFLAG_5 = -fno-rtti\r
105endif\r
106ifeq ($(USE_RTTI),1)\r
107__RTTIFLAG_5 = \r
108endif\r
109ifeq ($(USE_EXCEPTIONS),0)\r
110__EXCEPTIONSFLAG_6 = -fno-exceptions\r
111endif\r
112ifeq ($(USE_EXCEPTIONS),1)\r
113__EXCEPTIONSFLAG_6 = \r
114endif\r
115ifeq ($(WXUNIV),1)\r
116__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
117endif\r
118ifeq ($(WXUNIV),1)\r
119__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__\r
120endif\r
121ifeq ($(DEBUG_FLAG),0)\r
122__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
123endif\r
124ifeq ($(DEBUG_FLAG),0)\r
125__DEBUG_DEFINE_p_1 = --define wxDEBUG_LEVEL=0\r
126endif\r
00fb97de
KO
127ifeq ($(BUILD),release)\r
128__NDEBUG_DEFINE_p = -DNDEBUG\r
129endif\r
130ifeq ($(BUILD),release)\r
131__NDEBUG_DEFINE_p_1 = --define NDEBUG\r
132endif\r
f82b7036
KO
133ifeq ($(USE_EXCEPTIONS),0)\r
134__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
135endif\r
136ifeq ($(USE_EXCEPTIONS),0)\r
137__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS\r
138endif\r
139ifeq ($(USE_RTTI),0)\r
140__RTTI_DEFINE_p = -DwxNO_RTTI\r
141endif\r
142ifeq ($(USE_RTTI),0)\r
143__RTTI_DEFINE_p_1 = --define wxNO_RTTI\r
144endif\r
145ifeq ($(USE_THREADS),0)\r
146__THREAD_DEFINE_p = -DwxNO_THREADS\r
147endif\r
148ifeq ($(USE_THREADS),0)\r
149__THREAD_DEFINE_p_1 = --define wxNO_THREADS\r
150endif\r
151ifeq ($(UNICODE),0)\r
152__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
153endif\r
154ifeq ($(UNICODE),1)\r
155__UNICODE_DEFINE_p = -D_UNICODE\r
156endif\r
157ifeq ($(UNICODE),0)\r
158__UNICODE_DEFINE_p_1 = --define wxUSE_UNICODE=0\r
159endif\r
160ifeq ($(UNICODE),1)\r
161__UNICODE_DEFINE_p_1 = --define _UNICODE\r
162endif\r
163ifeq ($(MSLU),1)\r
164__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
165endif\r
166ifeq ($(MSLU),1)\r
167__MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1\r
168endif\r
f82b7036
KO
169ifeq ($(USE_CAIRO),1)\r
170____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo\r
171endif\r
172ifeq ($(USE_CAIRO),1)\r
173__CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo\r
174endif\r
175ifeq ($(SHARED),1)\r
176__DLLFLAG_p = -DWXUSINGDLL\r
177endif\r
178ifeq ($(SHARED),1)\r
179__DLLFLAG_p_1 = --define WXUSINGDLL\r
180endif\r
181ifeq ($(MONOLITHIC),0)\r
182__WXLIB_AUI_p = \\r
183 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_aui\r
184endif\r
185ifeq ($(MONOLITHIC),0)\r
f82b7036
KO
186__WXLIB_RICHTEXT_p = \\r
187 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext\r
188endif\r
189ifeq ($(MONOLITHIC),0)\r
190__WXLIB_HTML_p = \\r
191 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html\r
192endif\r
193ifeq ($(MONOLITHIC),0)\r
f36ddde1
VZ
194__WXLIB_ADV_p = \\r
195 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv\r
196endif\r
197ifeq ($(MONOLITHIC),0)\r
f82b7036 198__WXLIB_XML_p = \\r
22a3b6e4 199 -lwxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
f82b7036
KO
200endif\r
201ifeq ($(MONOLITHIC),0)\r
202__WXLIB_CORE_p = \\r
203 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core\r
204endif\r
205ifeq ($(MONOLITHIC),0)\r
206__WXLIB_BASE_p = \\r
22a3b6e4 207 -lwxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
f82b7036
KO
208endif\r
209ifeq ($(MONOLITHIC),1)\r
210__WXLIB_MONO_p = \\r
211 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
212endif\r
213ifeq ($(USE_GUI),1)\r
214__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)\r
215endif\r
216ifeq ($(USE_GUI),1)\r
217__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)\r
218endif\r
219ifeq ($(USE_GUI),1)\r
220__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r
221endif\r
222ifeq ($(MSLU),1)\r
223__UNICOWS_LIB_p = -lunicows\r
224endif\r
f82b7036
KO
225ifeq ($(USE_CAIRO),1)\r
226__CAIRO_LIB_p = -lcairo\r
227endif\r
228ifeq ($(USE_CAIRO),1)\r
229____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib\r
230endif\r
231ifeq ($(BUILD),debug)\r
232ifeq ($(DEBUG_INFO),default)\r
233__DEBUGINFO = -g\r
234endif\r
235endif\r
236ifeq ($(BUILD),release)\r
237ifeq ($(DEBUG_INFO),default)\r
238__DEBUGINFO = \r
239endif\r
240endif\r
241ifeq ($(DEBUG_INFO),0)\r
242__DEBUGINFO = \r
243endif\r
244ifeq ($(DEBUG_INFO),1)\r
245__DEBUGINFO = -g\r
246endif\r
247ifeq ($(USE_THREADS),0)\r
248__THREADSFLAG = \r
249endif\r
250ifeq ($(USE_THREADS),1)\r
251__THREADSFLAG = -mthreads\r
252endif\r
253\r
254\r
255all: $(OBJS)\r
256$(OBJS):\r
257 -if not exist $(OBJS) mkdir $(OBJS)\r
258\r
259### Targets: ###\r
260\r
261all: $(OBJS)\screenshotgen.exe bitmaps xml\r
262\r
263clean: \r
264 -if exist $(OBJS)\*.o del $(OBJS)\*.o\r
265 -if exist $(OBJS)\*.d del $(OBJS)\*.d\r
266 -if exist $(OBJS)\screenshotgen.exe del $(OBJS)\screenshotgen.exe\r
267\r
268$(OBJS)\screenshotgen.exe: $(SCREENSHOTGEN_OBJECTS) $(OBJS)\screenshotgen_screenshotgen_rc.o\r
22a3b6e4 269 $(CXX) -o $@ $(SCREENSHOTGEN_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) $(__WXLIB_AUI_p) $(__WXLIB_RICHTEXT_p) $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) -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
f82b7036
KO
270\r
271bitmaps: \r
272 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps\r
273 for %%f in (wxwin32x32.png bell.png sound.png dropbuth.png dropbutn.png dropbutp.png throbber.gif) do if not exist $(OBJS)\bitmaps\%%f copy .\bitmaps\%%f $(OBJS)\bitmaps\r
274\r
275xml: \r
276 if not exist $(OBJS) mkdir $(OBJS)\r
277 for %%f in (richtext.xml) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)\r
278\r
279$(OBJS)\screenshotgen_screenshot_app.o: ./screenshot_app.cpp\r
280 $(CXX) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(CPPDEPS) $<\r
281\r
282$(OBJS)\screenshotgen_screenshot_main.o: ./screenshot_main.cpp\r
283 $(CXX) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(CPPDEPS) $<\r
284\r
285$(OBJS)\screenshotgen_guiframe.o: ./guiframe.cpp\r
286 $(CXX) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(CPPDEPS) $<\r
287\r
288$(OBJS)\screenshotgen_customcombo.o: ./customcombo.cpp\r
289 $(CXX) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(CPPDEPS) $<\r
290\r
291$(OBJS)\screenshotgen_autocapture.o: ./autocapture.cpp\r
292 $(CXX) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(CPPDEPS) $<\r
293\r
294$(OBJS)\screenshotgen_screenshotgen_rc.o: ./screenshotgen.rc\r
22a3b6e4 295 windres --use-temp-file -i$< -o$@ --define __WX$(TOOLKIT)__ $(__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
f82b7036
KO
296\r
297.PHONY: all clean bitmaps xml\r
298\r
299\r
300SHELL := $(COMSPEC)\r
301\r
302# Dependencies tracking:\r
303-include $(OBJS)/*.d\r