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 $(CXXFLAGS)
22 $(OBJS)\client_client.obj \
23 $(OBJS)\client_client.res
25 .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 SERVER_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 \
33 /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS $(CXXFLAGS)
35 $(OBJS)\server_server.obj \
36 $(OBJS)\server_server.res
38 ### Conditionally set variables: ###
40 !if "$(USE_GUI)" == "0"
43 !if "$(USE_GUI)" == "1"
46 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49 !if "$(DEBUG_FLAG)" == "1"
52 !if "$(SHARED)" == "1"
55 !if "$(UNICODE)" == "1"
58 !if "$(WXUNIV)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
64 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
67 !if "$(DEBUG_INFO)" == "0"
70 !if "$(DEBUG_INFO)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
74 __DEBUGINFO_1 = /DEBUG
76 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
79 !if "$(DEBUG_INFO)" == "0"
82 !if "$(DEBUG_INFO)" == "1"
83 __DEBUGINFO_1 = /DEBUG
85 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91 !if "$(DEBUG_INFO)" == "0"
94 !if "$(DEBUG_INFO)" == "1"
97 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
100 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
101 __DEBUGRUNTIME_13 = d
103 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
104 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
106 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
109 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
112 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
113 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
115 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116 __DEBUG_DEFINE_p = /D__WXDEBUG__
118 !if "$(DEBUG_FLAG)" == "1"
119 __DEBUG_DEFINE_p = /D__WXDEBUG__
121 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
122 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
124 !if "$(DEBUG_FLAG)" == "1"
125 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
127 !if "$(SHARED)" == "1"
128 __DLLFLAG_p = /DWXUSINGDLL
130 !if "$(SHARED)" == "1"
131 __DLLFLAG_p_0 = /d WXUSINGDLL
133 !if "$(USE_GUI)" == "1"
134 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
136 !if "$(USE_GUI)" == "1"
137 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
139 !if "$(USE_GUI)" == "1"
140 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
142 !if "$(BUILD)" == "debug"
145 !if "$(BUILD)" == "release"
148 !if "$(RUNTIME_LIBS)" == "dynamic"
151 !if "$(RUNTIME_LIBS)" == "static"
154 !if "$(UNICODE)" == "1"
155 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
157 !if "$(UNICODE)" == "1"
158 __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=1
160 !if "$(MONOLITHIC)" == "0"
161 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
163 !if "$(MONOLITHIC)" == "0"
165 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
167 !if "$(MONOLITHIC)" == "1"
169 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
171 !if "$(MONOLITHIC)" == "0"
172 __WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib
174 !if "$(WXUNIV)" == "1"
175 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
177 !if "$(WXUNIV)" == "1"
178 __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
180 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
181 ____DEBUGINFO = /d _DEBUG
183 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
186 !if "$(DEBUG_INFO)" == "0"
189 !if "$(DEBUG_INFO)" == "1"
190 ____DEBUGINFO = /d _DEBUG
192 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
193 ____DEBUGINFO_0 = /D_DEBUG
195 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
198 !if "$(DEBUG_INFO)" == "0"
201 !if "$(DEBUG_INFO)" == "1"
202 ____DEBUGINFO_0 = /D_DEBUG
204 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
205 ____DEBUGRUNTIME_12_p =
207 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
208 ____DEBUGRUNTIME_12_p = /D_DEBUG
210 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
211 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO_0)
213 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
214 ____DEBUGRUNTIME_12_p_1 =
216 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
217 ____DEBUGRUNTIME_12_p_1 = /d _DEBUG
219 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
220 ____DEBUGRUNTIME_12_p_1 = $(____DEBUGINFO)
222 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
223 ____DEBUGRUNTIME_2_p =
225 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
226 ____DEBUGRUNTIME_2_p = /D_DEBUG
228 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
229 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_0)
231 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
232 ____DEBUGRUNTIME_2_p_1 =
234 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
235 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
237 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
238 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO)
244 -if not exist $(OBJS) mkdir $(OBJS)
248 all: $(OBJS)\client.exe $(OBJS)\server.exe
250 $(OBJS)\client_client.obj: .\client.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
253 $(OBJS)\client_client.res: .\client.rc
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 $**
256 $(OBJS)\server_server.obj: .\server.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**
259 $(OBJS)\server_server.res: .\server.rc
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 $**
263 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
264 -if exist $(OBJS)\*.res del $(OBJS)\*.res
265 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
266 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
268 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
269 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
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
273 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
274 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
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