]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/sockets/makefile.vc
ignore VC7 projects
[wxWidgets.git] / samples / sockets / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include <../../build/msw/config.vc>
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18SETUPHDIR = \
19 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
20CLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
21 $(__DEBUGINFO) /Fd$(OBJS)\client.pdb $(____DEBUGRUNTIME_2_p) \
22 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
24 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
26CLIENT_OBJECTS = \
27 $(OBJS)\client_client.obj \
28 $(OBJS)\client_client.res
29SERVER_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
30 $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME_15_p) \
31 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
33 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH \
34 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
35SERVER_OBJECTS = \
36 $(OBJS)\server_server.obj \
37 $(OBJS)\server_server.res
38
39### Conditionally set variables: ###
40
41!if "$(USE_GUI)" == "0"
42PORTNAME = base
43!endif
44!if "$(USE_GUI)" == "1"
45PORTNAME = msw
46!endif
47!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
48WXDEBUGFLAG = d
49!endif
50!if "$(DEBUG_FLAG)" == "1"
51WXDEBUGFLAG = d
52!endif
53!if "$(UNICODE)" == "1"
54WXUNICODEFLAG = u
55!endif
56!if "$(WXUNIV)" == "1"
57WXUNIVNAME = univ
58!endif
59!if "$(SHARED)" == "1"
60WXDLLFLAG = dll
61!endif
62!if "$(MONOLITHIC)" == "0"
63EXTRALIBS_FOR_BASE =
64!endif
65!if "$(MONOLITHIC)" == "1"
66EXTRALIBS_FOR_BASE =
67!endif
68!if "$(DEBUG_RUNTIME_LIBS)" == "0"
69____DEBUGRUNTIME_2_p =
70!endif
71!if "$(DEBUG_RUNTIME_LIBS)" == "1"
72____DEBUGRUNTIME_2_p = /D_DEBUG
73!endif
74!if "$(DEBUG_RUNTIME_LIBS)" == "default"
75____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
76!endif
77!if "$(DEBUG_RUNTIME_LIBS)" == "0"
78____DEBUGRUNTIME_2_p_1 =
79!endif
80!if "$(DEBUG_RUNTIME_LIBS)" == "1"
81____DEBUGRUNTIME_2_p_1 = /d _DEBUG
82!endif
83!if "$(DEBUG_RUNTIME_LIBS)" == "default"
84____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_0)
85!endif
86!if "$(DEBUG_RUNTIME_LIBS)" == "0"
87__DEBUGRUNTIME_3 =
88!endif
89!if "$(DEBUG_RUNTIME_LIBS)" == "1"
90__DEBUGRUNTIME_3 = d
91!endif
92!if "$(DEBUG_RUNTIME_LIBS)" == "default"
93__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
94!endif
95!if "$(DEBUG_RUNTIME_LIBS)" == "0"
96____DEBUGRUNTIME_15_p =
97!endif
98!if "$(DEBUG_RUNTIME_LIBS)" == "1"
99____DEBUGRUNTIME_15_p = /D_DEBUG
100!endif
101!if "$(DEBUG_RUNTIME_LIBS)" == "default"
102____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
103!endif
104!if "$(DEBUG_RUNTIME_LIBS)" == "0"
105____DEBUGRUNTIME_15_p_1 =
106!endif
107!if "$(DEBUG_RUNTIME_LIBS)" == "1"
108____DEBUGRUNTIME_15_p_1 = /d _DEBUG
109!endif
110!if "$(DEBUG_RUNTIME_LIBS)" == "default"
111____DEBUGRUNTIME_15_p_1 = $(____DEBUGINFO_0)
112!endif
113!if "$(DEBUG_RUNTIME_LIBS)" == "0"
114__DEBUGRUNTIME_16 =
115!endif
116!if "$(DEBUG_RUNTIME_LIBS)" == "1"
117__DEBUGRUNTIME_16 = d
118!endif
119!if "$(DEBUG_RUNTIME_LIBS)" == "default"
120__DEBUGRUNTIME_16 = $(__DEBUGINFO_2)
121!endif
122!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
123__DEBUGINFO = /Zi
124!endif
125!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
126__DEBUGINFO =
127!endif
128!if "$(DEBUG_INFO)" == "0"
129__DEBUGINFO =
130!endif
131!if "$(DEBUG_INFO)" == "1"
132__DEBUGINFO = /Zi
133!endif
134!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
135__DEBUGINFO_1 = /DEBUG
136!endif
137!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
138__DEBUGINFO_1 =
139!endif
140!if "$(DEBUG_INFO)" == "0"
141__DEBUGINFO_1 =
142!endif
143!if "$(DEBUG_INFO)" == "1"
144__DEBUGINFO_1 = /DEBUG
145!endif
146!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
147____DEBUGINFO = /D_DEBUG
148!endif
149!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
150____DEBUGINFO =
151!endif
152!if "$(DEBUG_INFO)" == "0"
153____DEBUGINFO =
154!endif
155!if "$(DEBUG_INFO)" == "1"
156____DEBUGINFO = /D_DEBUG
157!endif
158!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
159____DEBUGINFO_0 = /d _DEBUG
160!endif
161!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
162____DEBUGINFO_0 =
163!endif
164!if "$(DEBUG_INFO)" == "0"
165____DEBUGINFO_0 =
166!endif
167!if "$(DEBUG_INFO)" == "1"
168____DEBUGINFO_0 = /d _DEBUG
169!endif
170!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
171__DEBUGINFO_2 = d
172!endif
173!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
174__DEBUGINFO_2 =
175!endif
176!if "$(DEBUG_INFO)" == "0"
177__DEBUGINFO_2 =
178!endif
179!if "$(DEBUG_INFO)" == "1"
180__DEBUGINFO_2 = d
181!endif
182!if "$(BUILD)" == "debug"
183__OPTIMIZEFLAG = /Od
184!endif
185!if "$(BUILD)" == "release"
186__OPTIMIZEFLAG = /O2
187!endif
188!if "$(RUNTIME_LIBS)" == "dynamic"
189__RUNTIME_LIBS = D
190!endif
191!if "$(RUNTIME_LIBS)" == "static"
192__RUNTIME_LIBS = T
193!endif
194!if "$(USE_EXCEPTIONS)" == "0"
195__EXCEPTIONSFLAG =
196!endif
197!if "$(USE_EXCEPTIONS)" == "1"
198__EXCEPTIONSFLAG = /GR
199!endif
200!if "$(USE_EXCEPTIONS)" == "0"
201__EXCEPTIONSFLAG_0 =
202!endif
203!if "$(USE_EXCEPTIONS)" == "1"
204__EXCEPTIONSFLAG_0 = /GX
205!endif
206!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
207__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
208!endif
209!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
210__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
211!endif
212!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
213__NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
214!endif
215!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
216__NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
217!endif
218!if "$(WXUNIV)" == "1"
219__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
220!endif
221!if "$(WXUNIV)" == "1"
222__WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
223!endif
224!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
225__DEBUG_DEFINE_p = /D__WXDEBUG__
226!endif
227!if "$(DEBUG_FLAG)" == "1"
228__DEBUG_DEFINE_p = /D__WXDEBUG__
229!endif
230!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
231__DEBUG_DEFINE_p_0 = /d __WXDEBUG__
232!endif
233!if "$(DEBUG_FLAG)" == "1"
234__DEBUG_DEFINE_p_0 = /d __WXDEBUG__
235!endif
236!if "$(UNICODE)" == "1"
237__UNICODE_DEFINE_p = /D_UNICODE
238!endif
239!if "$(UNICODE)" == "1"
240__UNICODE_DEFINE_p_0 = /d _UNICODE
241!endif
242!if "$(SHARED)" == "0"
243LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
244!endif
245!if "$(SHARED)" == "1"
246LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
247!endif
248!if "$(SHARED)" == "1"
249__DLLFLAG_p = /DWXUSINGDLL
250!endif
251!if "$(SHARED)" == "1"
252__DLLFLAG_p_0 = /d WXUSINGDLL
253!endif
254!if "$(MONOLITHIC)" == "0"
255__WXLIB_CORE_p = \
256 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
257!endif
258!if "$(MONOLITHIC)" == "0"
259__WXLIB_NET_p = \
260 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
261!endif
262!if "$(MONOLITHIC)" == "0"
263__WXLIB_BASE_p = \
264 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
265!endif
266!if "$(MONOLITHIC)" == "1"
267__WXLIB_MONO_p = \
268 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
269!endif
270!if "$(USE_GUI)" == "1"
271__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
272!endif
273!if "$(USE_GUI)" == "1"
274__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
275!endif
276!if "$(USE_GUI)" == "1"
277__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
278!endif
279!if "$(MSLU)" == "1"
280__UNICOWS_LIB_p = unicows.lib
281!endif
282
283
284all: $(OBJS)
285$(OBJS):
286 -if not exist $(OBJS) mkdir $(OBJS)
287
288### Targets: ###
289
290all: $(OBJS)\client.exe $(OBJS)\server.exe
291
292clean:
293 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
294 -if exist $(OBJS)\*.res del $(OBJS)\*.res
295 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
296 -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk
297 -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb
298 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
299 -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk
300 -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb
301
302$(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
303 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
304 $(CLIENT_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
305<<
306
307$(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
308 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
309 $(SERVER_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
310<<
311
312$(OBJS)\client_client.obj: .\client.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
314
315$(OBJS)\client_client.res: .\client.rc
316 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples /d NOPCH $**
317
318$(OBJS)\server_server.obj: .\server.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**
320
321$(OBJS)\server_server.res: .\server.rc
322 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_15_p_1) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples /d NOPCH $**