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) $(__DEBUGFLAG_3) /Fd$(OBJS)\client.pdb $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I.\..\..\src\tiff /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex /I. $(__DLLFLAG_p) $(CXXFLAGS)
16 OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 SERVER_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) $(__DEBUGFLAG_3) /Fd$(OBJS)\server.pdb $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I.\..\..\src\tiff /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex /I. $(__DLLFLAG_p) $(CXXFLAGS)
19 ### Conditionally set variables: ###
21 !if "$(USE_GUI)" == "0"
24 !if "$(USE_GUI)" == "1"
27 !if "$(BUILD)" == "debug"
30 !if "$(SHARED)" == "1"
33 !if "$(UNICODE)" == "1"
36 !if "$(WXUNIV)" == "1"
39 !if "$(BUILD)" == "debug"
42 !if "$(BUILD)" == "release"
45 !if "$(BUILD)" == "debug"
48 !if "$(BUILD)" == "release"
51 !if "$(BUILD)" == "debug"
52 __DEBUGFLAG_4 = /DEBUG
54 !if "$(BUILD)" == "release"
57 !if "$(BUILD)" == "debug"
58 __DEBUG_DEFINE_p = /D__WXDEBUG__
60 !if "$(BUILD)" == "debug"
61 __DEBUG_DEFINE_p_0 = /d__WXDEBUG__
63 !if "$(SHARED)" == "1"
64 __DLLFLAG_p = /DWXUSINGDLL
66 !if "$(SHARED)" == "1"
67 __DLLFLAG_p_0 = /dWXUSINGDLL
69 !if "$(BUILD)" == "debug"
72 !if "$(BUILD)" == "release"
75 !if "$(RUNTIME_LIBS)" == "dynamic"
78 !if "$(RUNTIME_LIBS)" == "static"
81 !if "$(UNICODE)" == "1"
82 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
84 !if "$(UNICODE)" == "1"
85 __UNICODE_DEFINE_p_0 = /dwxUSE_UNICODE=1
87 !if "$(MONOLITHIC)" == "0"
88 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
90 !if "$(MONOLITHIC)" == "0"
91 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
93 !if "$(MONOLITHIC)" == "1"
94 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
96 !if "$(WXUNIV)" == "1"
97 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
99 !if "$(WXUNIV)" == "1"
100 __WXUNIV_DEFINE_p_0 = /d__WXUNIVERSAL__
106 -if not exist $(OBJS) mkdir $(OBJS)
110 all: $(OBJS)\client.exe $(OBJS)\server.exe
112 $(OBJS)\client_client.obj: .\client.cpp
113 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
115 $(OBJS)\client_client.res: .\client.rc
116 rc /fo$@ /d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i.\..\..\include /i.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /i.\..\..\src\tiff /i.\..\..\src\jpeg /i.\..\..\src\png /i.\..\..\src\zlib /i.\..\..\src\regex /i. $(__DLLFLAG_p_0) $**
118 $(OBJS)\server_server.obj: .\server.cpp
119 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**
121 $(OBJS)\server_server.res: .\server.rc
122 rc /fo$@ /d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i.\..\..\include /i.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /i.\..\..\src\tiff /i.\..\..\src\jpeg /i.\..\..\src\png /i.\..\..\src\zlib /i.\..\..\src\regex /i. $(__DLLFLAG_p_0) $**
125 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
126 -if exist $(OBJS)\*.res del $(OBJS)\*.res
127 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
128 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
130 $(OBJS)\client.exe: $(OBJS)\client_client.obj $(OBJS)\client_client.res
131 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_4) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
132 $(OBJS)\client_client.obj $(OBJS)\client_client.res $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(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
135 $(OBJS)\server.exe: $(OBJS)\server_server.obj $(OBJS)\server_server.res
136 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_4) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
137 $(OBJS)\server_server.obj $(OBJS)\server_server.res $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(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