]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/makefile.gcc
Removed ellipsis from "About..." occurrences.
[wxWidgets.git] / samples / sockets / 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
23CLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \\r
24 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r
00fb97de
KO
25 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
b796194b
VS
27 -I$(SETUPHDIR) -I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall \\r
28 -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG) \\r
29 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
f82b7036 30CLIENT_OBJECTS = \\r
00eef16d
VZ
31 $(OBJS)\client_sample_rc.o \\r
32 $(OBJS)\client_client.o\r
f82b7036
KO
33SERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \\r
34 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r
00fb97de
KO
35 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
36 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
b796194b
VS
37 -I$(SETUPHDIR) -I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall \\r
38 -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG) \\r
39 $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
f82b7036 40SERVER_OBJECTS = \\r
00eef16d
VZ
41 $(OBJS)\server_sample_rc.o \\r
42 $(OBJS)\server_server.o\r
f82b7036
KO
43BASECLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
44 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
45 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
46 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 47 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
48 $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
49 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \\r
50 $(CXXFLAGS)\r
51BASECLIENT_OBJECTS = \\r
52 $(OBJS)\baseclient_baseclient.o\r
53BASESERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \\r
54 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
55 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
56 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 57 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
58 $(____CAIRO_INCLUDEDIR_FILENAMES) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
59 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \\r
60 $(CXXFLAGS)\r
61BASESERVER_OBJECTS = \\r
62 $(OBJS)\baseserver_baseserver.o\r
63\r
64### Conditionally set variables: ###\r
65\r
66ifeq ($(GCC_VERSION),2.95)\r
67GCCFLAGS = -fvtable-thunks\r
68endif\r
69ifeq ($(USE_GUI),0)\r
70PORTNAME = base\r
71endif\r
72ifeq ($(USE_GUI),1)\r
73PORTNAME = msw\r
74endif\r
75ifeq ($(BUILD),debug)\r
76WXDEBUGFLAG = d\r
77endif\r
78ifeq ($(UNICODE),1)\r
79WXUNICODEFLAG = u\r
80endif\r
81ifeq ($(WXUNIV),1)\r
82WXUNIVNAME = univ\r
83endif\r
84ifeq ($(SHARED),1)\r
85WXDLLFLAG = dll\r
86endif\r
87ifeq ($(SHARED),0)\r
88LIBTYPE_SUFFIX = lib\r
89endif\r
90ifeq ($(SHARED),1)\r
91LIBTYPE_SUFFIX = dll\r
92endif\r
93ifeq ($(MONOLITHIC),0)\r
94EXTRALIBS_FOR_BASE = \r
95endif\r
96ifeq ($(MONOLITHIC),1)\r
51ec29ea 97EXTRALIBS_FOR_BASE = \r
f82b7036
KO
98endif\r
99ifeq ($(USE_GUI),1)\r
100__client___depname = $(OBJS)\client.exe\r
101endif\r
102ifeq ($(USE_GUI),1)\r
103__server___depname = $(OBJS)\server.exe\r
104endif\r
57c74474
VZ
105ifeq ($(MONOLITHIC),1)\r
106__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r
107endif\r
108ifeq ($(MONOLITHIC),1)\r
109__LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)\r
110endif\r
f82b7036
KO
111ifeq ($(WXUNIV),1)\r
112__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__\r
113endif\r
114ifeq ($(DEBUG_FLAG),0)\r
115__DEBUG_DEFINE_p_0 = --define wxDEBUG_LEVEL=0\r
116endif\r
00fb97de
KO
117ifeq ($(BUILD),release)\r
118__NDEBUG_DEFINE_p_0 = --define NDEBUG\r
119endif\r
f82b7036
KO
120ifeq ($(USE_EXCEPTIONS),0)\r
121__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS\r
122endif\r
123ifeq ($(USE_RTTI),0)\r
124__RTTI_DEFINE_p_0 = --define wxNO_RTTI\r
125endif\r
126ifeq ($(USE_THREADS),0)\r
127__THREAD_DEFINE_p_0 = --define wxNO_THREADS\r
128endif\r
129ifeq ($(UNICODE),0)\r
130__UNICODE_DEFINE_p_0 = --define wxUSE_UNICODE=0\r
131endif\r
132ifeq ($(UNICODE),1)\r
133__UNICODE_DEFINE_p_0 = --define _UNICODE\r
134endif\r
135ifeq ($(MSLU),1)\r
136__MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1\r
137endif\r
f82b7036
KO
138ifeq ($(USE_CAIRO),1)\r
139__CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo\r
140endif\r
141ifeq ($(SHARED),1)\r
142__DLLFLAG_p_0 = --define WXUSINGDLL\r
143endif\r
144ifeq ($(MONOLITHIC),0)\r
145__WXLIB_CORE_p = \\r
146 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core\r
147endif\r
148ifeq ($(USE_GUI),1)\r
149__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)\r
150endif\r
151ifeq ($(USE_GUI),1)\r
152__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)\r
153endif\r
f82b7036
KO
154ifeq ($(BUILD),debug)\r
155__OPTIMIZEFLAG = -O0\r
156endif\r
157ifeq ($(BUILD),release)\r
158__OPTIMIZEFLAG = -O2\r
159endif\r
160ifeq ($(USE_RTTI),0)\r
161__RTTIFLAG = -fno-rtti\r
162endif\r
163ifeq ($(USE_RTTI),1)\r
164__RTTIFLAG = \r
165endif\r
166ifeq ($(USE_EXCEPTIONS),0)\r
167__EXCEPTIONSFLAG = -fno-exceptions\r
168endif\r
169ifeq ($(USE_EXCEPTIONS),1)\r
170__EXCEPTIONSFLAG = \r
171endif\r
172ifeq ($(WXUNIV),1)\r
173__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
174endif\r
175ifeq ($(DEBUG_FLAG),0)\r
176__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
177endif\r
00fb97de
KO
178ifeq ($(BUILD),release)\r
179__NDEBUG_DEFINE_p = -DNDEBUG\r
180endif\r
f82b7036
KO
181ifeq ($(USE_EXCEPTIONS),0)\r
182__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
183endif\r
184ifeq ($(USE_RTTI),0)\r
185__RTTI_DEFINE_p = -DwxNO_RTTI\r
186endif\r
187ifeq ($(USE_THREADS),0)\r
188__THREAD_DEFINE_p = -DwxNO_THREADS\r
189endif\r
190ifeq ($(UNICODE),0)\r
191__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
192endif\r
193ifeq ($(UNICODE),1)\r
194__UNICODE_DEFINE_p = -D_UNICODE\r
195endif\r
196ifeq ($(MSLU),1)\r
197__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
198endif\r
f82b7036
KO
199ifeq ($(USE_CAIRO),1)\r
200____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
201endif\r
202ifeq ($(SHARED),1)\r
203__DLLFLAG_p = -DWXUSINGDLL\r
204endif\r
205ifeq ($(MONOLITHIC),0)\r
206__WXLIB_NET_p = \\r
207 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net\r
208endif\r
209ifeq ($(MONOLITHIC),0)\r
210__WXLIB_BASE_p = \\r
211 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
212endif\r
213ifeq ($(MONOLITHIC),1)\r
214__WXLIB_MONO_p = \\r
215 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
216endif\r
57c74474
VZ
217ifeq ($(USE_GUI),1)\r
218__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r
219endif\r
f82b7036
KO
220ifeq ($(MSLU),1)\r
221__UNICOWS_LIB_p = -lunicows\r
222endif\r
f82b7036
KO
223ifeq ($(USE_CAIRO),1)\r
224__CAIRO_LIB_p = -lcairo\r
225endif\r
226ifeq ($(USE_CAIRO),1)\r
227____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r
228endif\r
229ifeq ($(BUILD),debug)\r
230ifeq ($(DEBUG_INFO),default)\r
231__DEBUGINFO = -g\r
232endif\r
233endif\r
234ifeq ($(BUILD),release)\r
235ifeq ($(DEBUG_INFO),default)\r
236__DEBUGINFO = \r
237endif\r
238endif\r
239ifeq ($(DEBUG_INFO),0)\r
240__DEBUGINFO = \r
241endif\r
242ifeq ($(DEBUG_INFO),1)\r
243__DEBUGINFO = -g\r
244endif\r
245ifeq ($(USE_THREADS),0)\r
246__THREADSFLAG = \r
247endif\r
248ifeq ($(USE_THREADS),1)\r
249__THREADSFLAG = -mthreads\r
250endif\r
251\r
252\r
253all: $(OBJS)\r
254$(OBJS):\r
255 -if not exist $(OBJS) mkdir $(OBJS)\r
256\r
257### Targets: ###\r
258\r
259all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe\r
260\r
261clean: \r
262 -if exist $(OBJS)\*.o del $(OBJS)\*.o\r
263 -if exist $(OBJS)\*.d del $(OBJS)\*.d\r
264 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe\r
265 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe\r
266 -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe\r
267 -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe\r
268\r
269ifeq ($(USE_GUI),1)\r
00eef16d 270$(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample_rc.o\r
b796194b 271 $(CXX) -o $@ $(CLIENT_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
272endif\r
273\r
274ifeq ($(USE_GUI),1)\r
00eef16d 275$(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample_rc.o\r
b796194b 276 $(CXX) -o $@ $(SERVER_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
277endif\r
278\r
279$(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS)\r
57c74474 280 $(CXX) -o $@ $(BASECLIENT_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
281\r
282$(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS)\r
57c74474 283 $(CXX) -o $@ $(BASESERVER_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 284\r
00eef16d
VZ
285$(OBJS)\client_sample_rc.o: ./../../samples/sample.rc\r
286 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
287\r
f82b7036
KO
288$(OBJS)\client_client.o: ./client.cpp\r
289 $(CXX) -c -o $@ $(CLIENT_CXXFLAGS) $(CPPDEPS) $<\r
290\r
00eef16d 291$(OBJS)\server_sample_rc.o: ./../../samples/sample.rc\r
b796194b 292 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
293\r
294$(OBJS)\server_server.o: ./server.cpp\r
295 $(CXX) -c -o $@ $(SERVER_CXXFLAGS) $(CPPDEPS) $<\r
296\r
f82b7036
KO
297$(OBJS)\baseclient_baseclient.o: ./baseclient.cpp\r
298 $(CXX) -c -o $@ $(BASECLIENT_CXXFLAGS) $(CPPDEPS) $<\r
299\r
300$(OBJS)\baseserver_baseserver.o: ./baseserver.cpp\r
301 $(CXX) -c -o $@ $(BASESERVER_CXXFLAGS) $(CPPDEPS) $<\r
302\r
303.PHONY: all clean\r
304\r
305\r
306SHELL := $(COMSPEC)\r
307\r
308# Dependencies tracking:\r
309-include $(OBJS)/*.d\r