1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CLIENT_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 \
20 /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS /I..\..\samples \
23 $(OBJS)\client_sample.res \
24 $(OBJS)\client_client.obj
26 .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 SERVER_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) /DWIN32 \
30 $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME_12_p) \
31 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \
33 /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \
34 /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS /I..\..\samples \
37 $(OBJS)\server_sample.res \
38 $(OBJS)\server_server.obj
40 ### Conditionally set variables: ###
42 !if "$(USE_GUI)" == "0"
45 !if "$(USE_GUI)" == "1"
48 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
51 !if "$(DEBUG_FLAG)" == "1"
54 !if "$(SHARED)" == "1"
57 !if "$(UNICODE)" == "1"
60 !if "$(WXUNIV)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
66 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
69 !if "$(DEBUG_INFO)" == "0"
72 !if "$(DEBUG_INFO)" == "1"
75 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
76 __DEBUGINFO_1 = /DEBUG
78 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
81 !if "$(DEBUG_INFO)" == "0"
84 !if "$(DEBUG_INFO)" == "1"
85 __DEBUGINFO_1 = /DEBUG
87 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
93 !if "$(DEBUG_INFO)" == "0"
96 !if "$(DEBUG_INFO)" == "1"
99 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
102 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
103 __DEBUGRUNTIME_13 = d
105 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
106 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
108 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
111 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
114 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
115 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
117 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
118 __DEBUG_DEFINE_p = /D__WXDEBUG__
120 !if "$(DEBUG_FLAG)" == "1"
121 __DEBUG_DEFINE_p = /D__WXDEBUG__
123 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
124 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
126 !if "$(DEBUG_FLAG)" == "1"
127 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
129 !if "$(SHARED)" == "1"
130 __DLLFLAG_p = /DWXUSINGDLL
132 !if "$(SHARED)" == "1"
133 __DLLFLAG_p_0 = /d WXUSINGDLL
135 !if "$(USE_GUI)" == "1"
136 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
138 !if "$(USE_GUI)" == "1"
139 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
141 !if "$(USE_GUI)" == "1"
142 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144 !if "$(BUILD)" == "debug"
147 !if "$(BUILD)" == "release"
150 !if "$(RUNTIME_LIBS)" == "dynamic"
153 !if "$(RUNTIME_LIBS)" == "static"
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
159 !if "$(UNICODE)" == "1"
160 __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=1
163 __UNICOWS_LIB_p = unicows.lib
165 !if "$(MONOLITHIC)" == "0"
166 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
168 !if "$(MONOLITHIC)" == "0"
170 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
172 !if "$(MONOLITHIC)" == "1"
174 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
176 !if "$(MONOLITHIC)" == "0"
177 __WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib
179 !if "$(WXUNIV)" == "1"
180 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
182 !if "$(WXUNIV)" == "1"
183 __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
185 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
186 ____DEBUGINFO = /d _DEBUG
188 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
191 !if "$(DEBUG_INFO)" == "0"
194 !if "$(DEBUG_INFO)" == "1"
195 ____DEBUGINFO = /d _DEBUG
197 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
198 ____DEBUGINFO_0 = /D_DEBUG
200 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
203 !if "$(DEBUG_INFO)" == "0"
206 !if "$(DEBUG_INFO)" == "1"
207 ____DEBUGINFO_0 = /D_DEBUG
209 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
210 ____DEBUGRUNTIME_12_p =
212 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
213 ____DEBUGRUNTIME_12_p = /D_DEBUG
215 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
216 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO_0)
218 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
219 ____DEBUGRUNTIME_12_p_1 =
221 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
222 ____DEBUGRUNTIME_12_p_1 = /d _DEBUG
224 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
225 ____DEBUGRUNTIME_12_p_1 = $(____DEBUGINFO)
227 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
228 ____DEBUGRUNTIME_2_p =
230 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
231 ____DEBUGRUNTIME_2_p = /D_DEBUG
233 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
234 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_0)
236 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
237 ____DEBUGRUNTIME_2_p_1 =
239 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
240 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
242 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
243 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO)
249 -if not exist $(OBJS) mkdir $(OBJS)
253 all: $(OBJS)\client.exe $(OBJS)\server.exe
255 $(OBJS)\client_client.obj: .\client.cpp
256 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
258 $(OBJS)\client_sample.res: .\..\..\samples\sample.rc
259 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 /i ..\..\samples $**
261 $(OBJS)\server_sample.res: .\..\..\samples\sample.rc
262 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 /i ..\..\samples $**
264 $(OBJS)\server_server.obj: .\server.cpp
265 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**
268 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
269 -if exist $(OBJS)\*.res del $(OBJS)\*.res
270 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
271 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
273 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res
274 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
275 $(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 $(__UNICOWS_LIB_p) 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
278 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res
279 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
280 $(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 $(__UNICOWS_LIB_p) 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