]> git.saurik.com Git - wxWidgets.git/blame - samples/ipc/makefile.gcc
Implement native OS X ComboBox for OS X Cocoa, and implement wxTextEntry methods...
[wxWidgets.git] / samples / ipc / makefile.gcc
CommitLineData
f82b7036
KO
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.8 (http://www.bakefile.org)\r
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
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
27 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
36 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
37 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
38 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
47 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
48 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
49 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
57 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
58 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
59 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
99EXTRALIBS_FOR_BASE = \r
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
107ifeq ($(WXUNIV),1)\r
108__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__\r
109endif\r
110ifeq ($(DEBUG_FLAG),0)\r
111__DEBUG_DEFINE_p_0 = --define wxDEBUG_LEVEL=0\r
112endif\r
113ifeq ($(USE_EXCEPTIONS),0)\r
114__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS\r
115endif\r
116ifeq ($(USE_RTTI),0)\r
117__RTTI_DEFINE_p_0 = --define wxNO_RTTI\r
118endif\r
119ifeq ($(USE_THREADS),0)\r
120__THREAD_DEFINE_p_0 = --define wxNO_THREADS\r
121endif\r
122ifeq ($(UNICODE),0)\r
123__UNICODE_DEFINE_p_0 = --define wxUSE_UNICODE=0\r
124endif\r
125ifeq ($(UNICODE),1)\r
126__UNICODE_DEFINE_p_0 = --define _UNICODE\r
127endif\r
128ifeq ($(MSLU),1)\r
129__MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1\r
130endif\r
131ifeq ($(USE_GDIPLUS),1)\r
132__GFXCTX_DEFINE_p_0 = --define wxUSE_GRAPHICS_CONTEXT=1\r
133endif\r
134ifeq ($(USE_CAIRO),1)\r
135__CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo\r
136endif\r
137ifeq ($(SHARED),1)\r
138__DLLFLAG_p_0 = --define WXUSINGDLL\r
139endif\r
140ifeq ($(MONOLITHIC),0)\r
141__WXLIB_CORE_p = \\r
142 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core\r
143endif\r
144ifeq ($(USE_GUI),1)\r
145__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)\r
146endif\r
147ifeq ($(USE_GUI),1)\r
148__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)\r
149endif\r
150ifeq ($(USE_GUI),1)\r
151__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r
152endif\r
153ifeq ($(BUILD),debug)\r
154__OPTIMIZEFLAG = -O0\r
155endif\r
156ifeq ($(BUILD),release)\r
157__OPTIMIZEFLAG = -O2\r
158endif\r
159ifeq ($(USE_RTTI),0)\r
160__RTTIFLAG = -fno-rtti\r
161endif\r
162ifeq ($(USE_RTTI),1)\r
163__RTTIFLAG = \r
164endif\r
165ifeq ($(USE_EXCEPTIONS),0)\r
166__EXCEPTIONSFLAG = -fno-exceptions\r
167endif\r
168ifeq ($(USE_EXCEPTIONS),1)\r
169__EXCEPTIONSFLAG = \r
170endif\r
171ifeq ($(WXUNIV),1)\r
172__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
173endif\r
174ifeq ($(DEBUG_FLAG),0)\r
175__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
176endif\r
177ifeq ($(USE_EXCEPTIONS),0)\r
178__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
179endif\r
180ifeq ($(USE_RTTI),0)\r
181__RTTI_DEFINE_p = -DwxNO_RTTI\r
182endif\r
183ifeq ($(USE_THREADS),0)\r
184__THREAD_DEFINE_p = -DwxNO_THREADS\r
185endif\r
186ifeq ($(UNICODE),0)\r
187__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
188endif\r
189ifeq ($(UNICODE),1)\r
190__UNICODE_DEFINE_p = -D_UNICODE\r
191endif\r
192ifeq ($(MSLU),1)\r
193__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
194endif\r
195ifeq ($(USE_GDIPLUS),1)\r
196__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1\r
197endif\r
198ifeq ($(USE_CAIRO),1)\r
199____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
200endif\r
201ifeq ($(SHARED),1)\r
202__DLLFLAG_p = -DWXUSINGDLL\r
203endif\r
204ifeq ($(MONOLITHIC),0)\r
205__WXLIB_NET_p = \\r
206 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net\r
207endif\r
208ifeq ($(MONOLITHIC),0)\r
209__WXLIB_BASE_p = \\r
210 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
211endif\r
212ifeq ($(MONOLITHIC),1)\r
213__WXLIB_MONO_p = \\r
214 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
215endif\r
216ifeq ($(MSLU),1)\r
217__UNICOWS_LIB_p = -lunicows\r
218endif\r
219ifeq ($(USE_GDIPLUS),1)\r
220__GDIPLUS_LIB_p = -lgdiplus\r
221endif\r
222ifeq ($(USE_CAIRO),1)\r
223__CAIRO_LIB_p = -lcairo\r
224endif\r
225ifeq ($(USE_CAIRO),1)\r
226____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r
227endif\r
228ifeq ($(BUILD),debug)\r
229ifeq ($(DEBUG_INFO),default)\r
230__DEBUGINFO = -g\r
231endif\r
232endif\r
233ifeq ($(BUILD),release)\r
234ifeq ($(DEBUG_INFO),default)\r
235__DEBUGINFO = \r
236endif\r
237endif\r
238ifeq ($(DEBUG_INFO),0)\r
239__DEBUGINFO = \r
240endif\r
241ifeq ($(DEBUG_INFO),1)\r
242__DEBUGINFO = -g\r
243endif\r
244ifeq ($(USE_THREADS),0)\r
245__THREADSFLAG = \r
246endif\r
247ifeq ($(USE_THREADS),1)\r
248__THREADSFLAG = -mthreads\r
249endif\r
250\r
251\r
252all: $(OBJS)\r
253$(OBJS):\r
254 -if not exist $(OBJS) mkdir $(OBJS)\r
255\r
256### Targets: ###\r
257\r
258all: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe\r
259\r
260clean: \r
261 -if exist $(OBJS)\*.o del $(OBJS)\*.o\r
262 -if exist $(OBJS)\*.d del $(OBJS)\*.d\r
263 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe\r
264 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe\r
265 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe\r
266 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe\r
267\r
268ifeq ($(USE_GUI),1)\r
269$(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample_rc.o\r
270 $(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) $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
271endif\r
272\r
273ifeq ($(USE_GUI),1)\r
274$(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample_rc.o\r
275 $(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) $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
276endif\r
277\r
278$(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)\r
279 $(CXX) -o $@ $(BASEIPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
280\r
281$(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)\r
282 $(CXX) -o $@ $(BASEIPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
283\r
284$(OBJS)\ipcclient_sample_rc.o: ./../../samples/sample.rc\r
285 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) $(__GFXCTX_DEFINE_p_0) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH\r
286\r
287$(OBJS)\ipcclient_client.o: ./client.cpp\r
288 $(CXX) -c -o $@ $(IPCCLIENT_CXXFLAGS) $(CPPDEPS) $<\r
289\r
290$(OBJS)\ipcserver_sample_rc.o: ./../../samples/sample.rc\r
291 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) $(__GFXCTX_DEFINE_p_0) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH\r
292\r
293$(OBJS)\ipcserver_server.o: ./server.cpp\r
294 $(CXX) -c -o $@ $(IPCSERVER_CXXFLAGS) $(CPPDEPS) $<\r
295\r
296$(OBJS)\baseipcclient_baseclient.o: ./baseclient.cpp\r
297 $(CXX) -c -o $@ $(BASEIPCCLIENT_CXXFLAGS) $(CPPDEPS) $<\r
298\r
299$(OBJS)\baseipcserver_baseserver.o: ./baseserver.cpp\r
300 $(CXX) -c -o $@ $(BASEIPCSERVER_CXXFLAGS) $(CPPDEPS) $<\r
301\r
302.PHONY: all clean\r
303\r
304\r
305SHELL := $(COMSPEC)\r
306\r
307# Dependencies tracking:\r
308-include $(OBJS)/*.d\r