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