]> git.saurik.com Git - wxWidgets.git/blame - samples/ipc/makefile.gcc
Enable wxComboBox::SetString() test in the widgets sample.
[wxWidgets.git] / samples / ipc / 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
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
20LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23IPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
25 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 27 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
28 $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall -I. $(__DLLFLAG_p) \\r
29 -I.\..\..\samples -DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \\r
30 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
31IPCCLIENT_OBJECTS = \\r
32 $(OBJS)\ipcclient_sample_rc.o \\r
33 $(OBJS)\ipcclient_client.o\r
34IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
35 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
36 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
37 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 38 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
39 $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall -I. $(__DLLFLAG_p) \\r
40 -I.\..\..\samples -DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \\r
41 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
42IPCSERVER_OBJECTS = \\r
43 $(OBJS)\ipcserver_sample_rc.o \\r
44 $(OBJS)\ipcserver_server.o\r
45BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
46 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
47 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
48 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 49 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
50 $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
51 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \\r
52 $(CXXFLAGS)\r
53BASEIPCCLIENT_OBJECTS = \\r
54 $(OBJS)\baseipcclient_baseclient.o\r
55BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
56 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
57 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
58 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 59 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
60 $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
61 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \\r
62 $(CXXFLAGS)\r
63BASEIPCSERVER_OBJECTS = \\r
64 $(OBJS)\baseipcserver_baseserver.o\r
65\r
66### Conditionally set variables: ###\r
67\r
68ifeq ($(GCC_VERSION),2.95)\r
69GCCFLAGS = -fvtable-thunks\r
70endif\r
71ifeq ($(USE_GUI),0)\r
72PORTNAME = base\r
73endif\r
74ifeq ($(USE_GUI),1)\r
75PORTNAME = msw\r
76endif\r
77ifeq ($(BUILD),debug)\r
78WXDEBUGFLAG = d\r
79endif\r
80ifeq ($(UNICODE),1)\r
81WXUNICODEFLAG = u\r
82endif\r
83ifeq ($(WXUNIV),1)\r
84WXUNIVNAME = univ\r
85endif\r
86ifeq ($(SHARED),1)\r
87WXDLLFLAG = dll\r
88endif\r
89ifeq ($(SHARED),0)\r
90LIBTYPE_SUFFIX = lib\r
91endif\r
92ifeq ($(SHARED),1)\r
93LIBTYPE_SUFFIX = dll\r
94endif\r
95ifeq ($(MONOLITHIC),0)\r
96EXTRALIBS_FOR_BASE = \r
97endif\r
98ifeq ($(MONOLITHIC),1)\r
51ec29ea 99EXTRALIBS_FOR_BASE = \r
f82b7036
KO
100endif\r
101ifeq ($(USE_GUI),1)\r
102__ipcclient___depname = $(OBJS)\ipcclient.exe\r
103endif\r
104ifeq ($(USE_GUI),1)\r
105__ipcserver___depname = $(OBJS)\ipcserver.exe\r
106endif\r
57c74474
VZ
107ifeq ($(MONOLITHIC),1)\r
108__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r
109endif\r
110ifeq ($(MONOLITHIC),1)\r
111__LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)\r
112endif\r
f82b7036
KO
113ifeq ($(WXUNIV),1)\r
114__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__\r
115endif\r
116ifeq ($(DEBUG_FLAG),0)\r
117__DEBUG_DEFINE_p_0 = --define wxDEBUG_LEVEL=0\r
118endif\r
00fb97de
KO
119ifeq ($(BUILD),release)\r
120__NDEBUG_DEFINE_p_0 = --define NDEBUG\r
121endif\r
f82b7036
KO
122ifeq ($(USE_EXCEPTIONS),0)\r
123__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS\r
124endif\r
125ifeq ($(USE_RTTI),0)\r
126__RTTI_DEFINE_p_0 = --define wxNO_RTTI\r
127endif\r
128ifeq ($(USE_THREADS),0)\r
129__THREAD_DEFINE_p_0 = --define wxNO_THREADS\r
130endif\r
131ifeq ($(UNICODE),0)\r
132__UNICODE_DEFINE_p_0 = --define wxUSE_UNICODE=0\r
133endif\r
134ifeq ($(UNICODE),1)\r
135__UNICODE_DEFINE_p_0 = --define _UNICODE\r
136endif\r
137ifeq ($(MSLU),1)\r
138__MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1\r
139endif\r
f82b7036
KO
140ifeq ($(USE_CAIRO),1)\r
141__CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo\r
142endif\r
143ifeq ($(SHARED),1)\r
144__DLLFLAG_p_0 = --define WXUSINGDLL\r
145endif\r
146ifeq ($(MONOLITHIC),0)\r
147__WXLIB_CORE_p = \\r
148 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core\r
149endif\r
150ifeq ($(USE_GUI),1)\r
151__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)\r
152endif\r
153ifeq ($(USE_GUI),1)\r
154__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)\r
155endif\r
f82b7036
KO
156ifeq ($(BUILD),debug)\r
157__OPTIMIZEFLAG = -O0\r
158endif\r
159ifeq ($(BUILD),release)\r
160__OPTIMIZEFLAG = -O2\r
161endif\r
162ifeq ($(USE_RTTI),0)\r
163__RTTIFLAG = -fno-rtti\r
164endif\r
165ifeq ($(USE_RTTI),1)\r
166__RTTIFLAG = \r
167endif\r
168ifeq ($(USE_EXCEPTIONS),0)\r
169__EXCEPTIONSFLAG = -fno-exceptions\r
170endif\r
171ifeq ($(USE_EXCEPTIONS),1)\r
172__EXCEPTIONSFLAG = \r
173endif\r
174ifeq ($(WXUNIV),1)\r
175__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
176endif\r
177ifeq ($(DEBUG_FLAG),0)\r
178__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
179endif\r
00fb97de
KO
180ifeq ($(BUILD),release)\r
181__NDEBUG_DEFINE_p = -DNDEBUG\r
182endif\r
f82b7036
KO
183ifeq ($(USE_EXCEPTIONS),0)\r
184__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
185endif\r
186ifeq ($(USE_RTTI),0)\r
187__RTTI_DEFINE_p = -DwxNO_RTTI\r
188endif\r
189ifeq ($(USE_THREADS),0)\r
190__THREAD_DEFINE_p = -DwxNO_THREADS\r
191endif\r
192ifeq ($(UNICODE),0)\r
193__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
194endif\r
195ifeq ($(UNICODE),1)\r
196__UNICODE_DEFINE_p = -D_UNICODE\r
197endif\r
198ifeq ($(MSLU),1)\r
199__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
200endif\r
f82b7036
KO
201ifeq ($(USE_CAIRO),1)\r
202____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
203endif\r
204ifeq ($(SHARED),1)\r
205__DLLFLAG_p = -DWXUSINGDLL\r
206endif\r
207ifeq ($(MONOLITHIC),0)\r
208__WXLIB_NET_p = \\r
209 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net\r
210endif\r
211ifeq ($(MONOLITHIC),0)\r
212__WXLIB_BASE_p = \\r
213 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
214endif\r
215ifeq ($(MONOLITHIC),1)\r
216__WXLIB_MONO_p = \\r
217 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
218endif\r
57c74474
VZ
219ifeq ($(USE_GUI),1)\r
220__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r
221endif\r
f82b7036
KO
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 = -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: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe\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)\ipcclient.exe del $(OBJS)\ipcclient.exe\r
267 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe\r
268 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe\r
269 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe\r
270\r
271ifeq ($(USE_GUI),1)\r
272$(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample_rc.o\r
b796194b 273 $(CXX) -o $@ $(IPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_NET_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\r
f82b7036
KO
274endif\r
275\r
276ifeq ($(USE_GUI),1)\r
277$(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample_rc.o\r
b796194b 278 $(CXX) -o $@ $(IPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_NET_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\r
f82b7036
KO
279endif\r
280\r
281$(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)\r
57c74474 282 $(CXX) -o $@ $(BASEIPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_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\r
f82b7036
KO
283\r
284$(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)\r
57c74474 285 $(CXX) -o $@ $(BASEIPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p_1) -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\r
f82b7036
KO
286\r
287$(OBJS)\ipcclient_sample_rc.o: ./../../samples/sample.rc\r
b796194b 288 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__NDEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH\r
f82b7036
KO
289\r
290$(OBJS)\ipcclient_client.o: ./client.cpp\r
291 $(CXX) -c -o $@ $(IPCCLIENT_CXXFLAGS) $(CPPDEPS) $<\r
292\r
293$(OBJS)\ipcserver_sample_rc.o: ./../../samples/sample.rc\r
b796194b 294 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__NDEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH\r
f82b7036
KO
295\r
296$(OBJS)\ipcserver_server.o: ./server.cpp\r
297 $(CXX) -c -o $@ $(IPCSERVER_CXXFLAGS) $(CPPDEPS) $<\r
298\r
299$(OBJS)\baseipcclient_baseclient.o: ./baseclient.cpp\r
300 $(CXX) -c -o $@ $(BASEIPCCLIENT_CXXFLAGS) $(CPPDEPS) $<\r
301\r
302$(OBJS)\baseipcserver_baseserver.o: ./baseserver.cpp\r
303 $(CXX) -c -o $@ $(BASEIPCSERVER_CXXFLAGS) $(CPPDEPS) $<\r
304\r
305.PHONY: all clean\r
306\r
307\r
308SHELL := $(COMSPEC)\r
309\r
310# Dependencies tracking:\r
311-include $(OBJS)/*.d\r