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 # =========================================================================
11 !include ../../build/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
23 CLIENT_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(LIBDIRNAME) -I.\..\..\src\tiff \
26 -I.\..\..\src\jpeg -I.\..\..\src\png -I.\..\..\src\zlib -I.\..\..\src\regex \
27 -I.\..\..\src\expat\lib -I. $(__DLLFLAG_p) $(CXXFLAGS)
29 $(OBJS)\client_client.obj
31 .\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
33 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
34 SERVER_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
35 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(LIBDIRNAME) -I.\..\..\src\tiff \
37 -I.\..\..\src\jpeg -I.\..\..\src\png -I.\..\..\src\zlib -I.\..\..\src\regex \
38 -I.\..\..\src\expat\lib -I. $(__DLLFLAG_p) $(CXXFLAGS)
40 $(OBJS)\server_server.obj
42 ### Conditionally set variables: ###
44 !if "$(USE_GUI)" == "0"
47 !if "$(USE_GUI)" == "1"
50 !if "$(BUILD)" == "debug"
53 !if "$(SHARED)" == "1"
56 !if "$(UNICODE)" == "1"
59 !if "$(WXUNIV)" == "1"
62 !if "$(BUILD)" == "debug"
65 !if "$(BUILD)" == "release"
68 !if "$(BUILD)" == "debug"
69 __DEBUG_DEFINE_p = -D__WXDEBUG__
71 !if "$(BUILD)" == "debug"
72 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
74 !if "$(SHARED)" == "1"
75 __DLLFLAG_p = -DWXUSINGDLL
77 !if "$(SHARED)" == "1"
78 __DLLFLAG_p_0 = -dWXUSINGDLL
80 !if "$(USE_GUI)" == "1"
81 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
83 !if "$(USE_GUI)" == "1"
84 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
86 !if "$(USE_GUI)" == "1"
87 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
89 !if "$(BUILD)" == "debug"
92 !if "$(BUILD)" == "release"
95 !if "$(RUNTIME_LIBS)" == "dynamic"
98 !if "$(RUNTIME_LIBS)" == "static"
101 !if "$(RUNTIME_LIBS)" == "dynamic"
104 !if "$(RUNTIME_LIBS)" == "static"
107 !if "$(UNICODE)" == "1"
108 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
110 !if "$(UNICODE)" == "1"
111 __UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=1
113 !if "$(MONOLITHIC)" == "0"
114 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
116 !if "$(MONOLITHIC)" == "0"
118 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
120 !if "$(MONOLITHIC)" == "1"
122 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
124 !if "$(MONOLITHIC)" == "0"
125 __WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib
127 !if "$(WXUNIV)" == "1"
128 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
130 !if "$(WXUNIV)" == "1"
131 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
137 -if not exist $(OBJS) mkdir $(OBJS)
141 all: $(OBJS)\client.exe $(OBJS)\server.exe
143 $(OBJS)\client_client.obj: .\client.cpp
144 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) $**
146 $(OBJS)\client_client.res: .\client.rc
147 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) $**
149 $(OBJS)\server_server.obj: .\server.cpp
150 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) $**
152 $(OBJS)\server_server.res: .\server.rc
153 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) $**
156 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
157 -if exist $(OBJS)\*.res del $(OBJS)\*.res
158 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
159 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
161 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
162 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L$(LIBDIRNAME) -aa @&&|
163 c0w32.obj $(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 import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\client_client.res
166 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
167 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L$(LIBDIRNAME) -aa @&&|
168 c0w32.obj $(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 import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\server_server.res