]> git.saurik.com Git - wxWidgets.git/blame - samples/ipc/makefile.gcc
Remove wxDataViewTextRendererAttr by merging it with wxDataViewTextRenderer.
[wxWidgets.git] / samples / ipc / makefile.gcc
CommitLineData
d5e7ffcf
KO
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.6 (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 -W -Wall -I. \\r
28 $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \\r
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
30IPCCLIENT_OBJECTS = \\r
31 $(OBJS)\ipcclient_sample_rc.o \\r
32 $(OBJS)\ipcclient_client.o\r
33IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
34 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
35 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
36 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
37 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \\r
38 $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \\r
39 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
40IPCSERVER_OBJECTS = \\r
41 $(OBJS)\ipcserver_sample_rc.o \\r
42 $(OBJS)\ipcserver_server.o\r
43BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
44 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
45 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
46 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
47 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \\r
48 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \\r
49 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
50BASEIPCCLIENT_OBJECTS = \\r
51 $(OBJS)\baseipcclient_baseclient.o\r
52BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
53 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
54 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
55 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
56 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \\r
57 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \\r
58 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
59BASEIPCSERVER_OBJECTS = \\r
60 $(OBJS)\baseipcserver_baseserver.o\r
61\r
62### Conditionally set variables: ###\r
63\r
64ifeq ($(GCC_VERSION),2.95)\r
65GCCFLAGS = -fvtable-thunks\r
66endif\r
67ifeq ($(USE_GUI),0)\r
68PORTNAME = base\r
69endif\r
70ifeq ($(USE_GUI),1)\r
71PORTNAME = msw\r
72endif\r
73ifeq ($(BUILD),debug)\r
74WXDEBUGFLAG = d\r
75endif\r
76ifeq ($(UNICODE),1)\r
77WXUNICODEFLAG = u\r
78endif\r
79ifeq ($(WXUNIV),1)\r
80WXUNIVNAME = univ\r
81endif\r
82ifeq ($(SHARED),1)\r
83WXDLLFLAG = dll\r
84endif\r
85ifeq ($(SHARED),0)\r
86LIBTYPE_SUFFIX = lib\r
87endif\r
88ifeq ($(SHARED),1)\r
89LIBTYPE_SUFFIX = dll\r
90endif\r
91ifeq ($(MONOLITHIC),0)\r
92EXTRALIBS_FOR_BASE = \r
93endif\r
94ifeq ($(MONOLITHIC),1)\r
95EXTRALIBS_FOR_BASE = \r
96endif\r
97ifeq ($(USE_GUI),1)\r
98__ipcclient___depname = $(OBJS)\ipcclient.exe\r
99endif\r
100ifeq ($(USE_GUI),1)\r
101__ipcserver___depname = $(OBJS)\ipcserver.exe\r
102endif\r
103ifeq ($(WXUNIV),1)\r
104__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__\r
105endif\r
106ifeq ($(DEBUG_FLAG),0)\r
107__DEBUG_DEFINE_p_0 = --define wxDEBUG_LEVEL=0\r
108endif\r
109ifeq ($(USE_EXCEPTIONS),0)\r
110__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS\r
111endif\r
112ifeq ($(USE_RTTI),0)\r
113__RTTI_DEFINE_p_0 = --define wxNO_RTTI\r
114endif\r
115ifeq ($(USE_THREADS),0)\r
116__THREAD_DEFINE_p_0 = --define wxNO_THREADS\r
117endif\r
118ifeq ($(UNICODE),0)\r
119__UNICODE_DEFINE_p_0 = --define wxUSE_UNICODE=0\r
120endif\r
121ifeq ($(UNICODE),1)\r
122__UNICODE_DEFINE_p_0 = --define _UNICODE\r
123endif\r
124ifeq ($(MSLU),1)\r
125__MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1\r
126endif\r
127ifeq ($(USE_GDIPLUS),1)\r
128__GFXCTX_DEFINE_p_0 = --define wxUSE_GRAPHICS_CONTEXT=1\r
129endif\r
130ifeq ($(SHARED),1)\r
131__DLLFLAG_p_0 = --define WXUSINGDLL\r
132endif\r
133ifeq ($(MONOLITHIC),0)\r
134__WXLIB_CORE_p = \\r
135 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core\r
136endif\r
137ifeq ($(USE_GUI),1)\r
138__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)\r
139endif\r
140ifeq ($(USE_GUI),1)\r
141__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)\r
142endif\r
143ifeq ($(USE_GUI),1)\r
144__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r
145endif\r
146ifeq ($(BUILD),debug)\r
147__OPTIMIZEFLAG = -O0\r
148endif\r
149ifeq ($(BUILD),release)\r
150__OPTIMIZEFLAG = -O2\r
151endif\r
152ifeq ($(USE_RTTI),0)\r
153__RTTIFLAG = -fno-rtti\r
154endif\r
155ifeq ($(USE_RTTI),1)\r
156__RTTIFLAG = \r
157endif\r
158ifeq ($(USE_EXCEPTIONS),0)\r
159__EXCEPTIONSFLAG = -fno-exceptions\r
160endif\r
161ifeq ($(USE_EXCEPTIONS),1)\r
162__EXCEPTIONSFLAG = \r
163endif\r
164ifeq ($(WXUNIV),1)\r
165__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
166endif\r
167ifeq ($(DEBUG_FLAG),0)\r
168__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
169endif\r
170ifeq ($(USE_EXCEPTIONS),0)\r
171__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
172endif\r
173ifeq ($(USE_RTTI),0)\r
174__RTTI_DEFINE_p = -DwxNO_RTTI\r
175endif\r
176ifeq ($(USE_THREADS),0)\r
177__THREAD_DEFINE_p = -DwxNO_THREADS\r
178endif\r
179ifeq ($(UNICODE),0)\r
180__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
181endif\r
182ifeq ($(UNICODE),1)\r
183__UNICODE_DEFINE_p = -D_UNICODE\r
184endif\r
185ifeq ($(MSLU),1)\r
186__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
187endif\r
188ifeq ($(USE_GDIPLUS),1)\r
189__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1\r
190endif\r
191ifeq ($(SHARED),1)\r
192__DLLFLAG_p = -DWXUSINGDLL\r
193endif\r
194ifeq ($(MONOLITHIC),0)\r
195__WXLIB_NET_p = \\r
196 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net\r
197endif\r
198ifeq ($(MONOLITHIC),0)\r
199__WXLIB_BASE_p = \\r
200 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
201endif\r
202ifeq ($(MONOLITHIC),1)\r
203__WXLIB_MONO_p = \\r
204 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
205endif\r
206ifeq ($(MSLU),1)\r
207__UNICOWS_LIB_p = -lunicows\r
208endif\r
209ifeq ($(USE_GDIPLUS),1)\r
210__GDIPLUS_LIB_p = -lgdiplus\r
211endif\r
212ifeq ($(BUILD),debug)\r
213ifeq ($(DEBUG_INFO),default)\r
214__DEBUGINFO = -g\r
215endif\r
216endif\r
217ifeq ($(BUILD),release)\r
218ifeq ($(DEBUG_INFO),default)\r
219__DEBUGINFO = \r
220endif\r
221endif\r
222ifeq ($(DEBUG_INFO),0)\r
223__DEBUGINFO = \r
224endif\r
225ifeq ($(DEBUG_INFO),1)\r
226__DEBUGINFO = -g\r
227endif\r
228ifeq ($(USE_THREADS),0)\r
229__THREADSFLAG = \r
230endif\r
231ifeq ($(USE_THREADS),1)\r
232__THREADSFLAG = -mthreads\r
233endif\r
234\r
235\r
236all: $(OBJS)\r
237$(OBJS):\r
238 -if not exist $(OBJS) mkdir $(OBJS)\r
239\r
240### Targets: ###\r
241\r
242all: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe\r
243\r
244clean: \r
245 -if exist $(OBJS)\*.o del $(OBJS)\*.o\r
246 -if exist $(OBJS)\*.d del $(OBJS)\*.d\r
247 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe\r
248 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe\r
249 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe\r
250 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe\r
251\r
252ifeq ($(USE_GUI),1)\r
253$(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample_rc.o\r
254 $(CXX) -o $@ $(IPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(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) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
255endif\r
256\r
257ifeq ($(USE_GUI),1)\r
258$(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample_rc.o\r
259 $(CXX) -o $@ $(IPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(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) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
260endif\r
261\r
262$(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)\r
263 $(CXX) -o $@ $(BASEIPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(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) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
264\r
265$(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)\r
266 $(CXX) -o $@ $(BASEIPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(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) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r
267\r
268$(OBJS)\ipcclient_sample_rc.o: ./../../samples/sample.rc\r
269 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 --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH\r
270\r
271$(OBJS)\ipcclient_client.o: ./client.cpp\r
272 $(CXX) -c -o $@ $(IPCCLIENT_CXXFLAGS) $(CPPDEPS) $<\r
273\r
274$(OBJS)\ipcserver_sample_rc.o: ./../../samples/sample.rc\r
275 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 --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH\r
276\r
277$(OBJS)\ipcserver_server.o: ./server.cpp\r
278 $(CXX) -c -o $@ $(IPCSERVER_CXXFLAGS) $(CPPDEPS) $<\r
279\r
280$(OBJS)\baseipcclient_baseclient.o: ./baseclient.cpp\r
281 $(CXX) -c -o $@ $(BASEIPCCLIENT_CXXFLAGS) $(CPPDEPS) $<\r
282\r
283$(OBJS)\baseipcserver_baseserver.o: ./baseserver.cpp\r
284 $(CXX) -c -o $@ $(BASEIPCSERVER_CXXFLAGS) $(CPPDEPS) $<\r
285\r
286.PHONY: all clean\r
287\r
288\r
289SHELL := $(COMSPEC)\r
290\r
291# Dependencies tracking:\r
292-include $(OBJS)/*.d\r