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/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CLIENT_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG_2) /DWIN32 \
16 $(__DEBUGFLAG) $(____DEBUGFLAG_0) /Fd$(OBJS)\client.pdb $(__OPTIMIZEFLAG) \
17 /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
18 /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff /I.\..\..\src\jpeg \
19 /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)$(__DEBUGFLAG_2) /DWIN32 \
29 $(__DEBUGFLAG) $(____DEBUGFLAG_0) /Fd$(OBJS)\server.pdb $(__OPTIMIZEFLAG) \
30 /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
31 /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff /I.\..\..\src\jpeg \
32 /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"
49 !if "$(SHARED)" == "1"
52 !if "$(UNICODE)" == "1"
55 !if "$(WXUNIV)" == "1"
58 !if "$(BUILD)" == "debug"
61 !if "$(BUILD)" == "release"
64 !if "$(BUILD)" == "debug"
65 __DEBUGFLAG_1 = /DEBUG
67 !if "$(BUILD)" == "release"
70 !if "$(BUILD)" == "debug"
73 !if "$(BUILD)" == "release"
76 !if "$(BUILD)" == "debug"
77 __DEBUG_DEFINE_p = /D__WXDEBUG__
79 !if "$(BUILD)" == "debug"
80 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
82 !if "$(SHARED)" == "1"
83 __DLLFLAG_p = /DWXUSINGDLL
85 !if "$(SHARED)" == "1"
86 __DLLFLAG_p_0 = /d WXUSINGDLL
88 !if "$(USE_GUI)" == "1"
89 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
91 !if "$(USE_GUI)" == "1"
92 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
94 !if "$(USE_GUI)" == "1"
95 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
97 !if "$(BUILD)" == "debug"
100 !if "$(BUILD)" == "release"
103 !if "$(RUNTIME_LIBS)" == "dynamic"
106 !if "$(RUNTIME_LIBS)" == "static"
109 !if "$(UNICODE)" == "1"
110 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
112 !if "$(UNICODE)" == "1"
113 __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=1
115 !if "$(MONOLITHIC)" == "0"
116 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
118 !if "$(MONOLITHIC)" == "0"
120 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
122 !if "$(MONOLITHIC)" == "1"
124 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
126 !if "$(MONOLITHIC)" == "0"
127 __WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib
129 !if "$(WXUNIV)" == "1"
130 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
132 !if "$(WXUNIV)" == "1"
133 __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
135 !if "$(BUILD)" == "debug"
136 ____DEBUGFLAG = /d _DEBUG
138 !if "$(BUILD)" == "release"
139 ____DEBUGFLAG = /d NDEBUG
141 !if "$(BUILD)" == "debug"
142 ____DEBUGFLAG_0 = /D_DEBUG
144 !if "$(BUILD)" == "release"
145 ____DEBUGFLAG_0 = /DNDEBUG
151 -if not exist $(OBJS) mkdir $(OBJS)
155 all: $(OBJS)\client.exe $(OBJS)\server.exe
157 $(OBJS)\client_client.obj: .\client.cpp
158 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
160 $(OBJS)\client_client.res: .\client.rc
161 rc /fo$@ /d WIN32 $(____DEBUGFLAG) /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 $**
163 $(OBJS)\server_server.obj: .\server.cpp
164 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**
166 $(OBJS)\server_server.res: .\server.rc
167 rc /fo$@ /d WIN32 $(____DEBUGFLAG) /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 $**
170 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
171 -if exist $(OBJS)\*.res del $(OBJS)\*.res
172 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
173 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
175 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
176 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
177 $(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
180 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
181 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
182 $(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