Remove borland build support.

This commit is contained in:
Christopher Kohlhoff 2011-02-08 15:31:53 +11:00
parent 11a649368f
commit 855b96769c

View File

@ -1,178 +0,0 @@
!ifndef BOOSTDIR
BOOSTDIR = ../../boost_1_34_1
!endif
CXXFLAGS = -q -O2 -v -vi -y -a8 -b -Ve- -Vx- -tWM -tWR -tWC -w-inl -w-par -I../include -I$(BOOSTDIR)
DEFINES = -D_WIN32_WINNT=0x0501 -DBOOST_ALL_NO_LIB
LDFLAGS = -q -O2 -v -vi -y -a8 -b -Ve- -Vx- -tWM -tWR -tWC -lw-dup
PERFORMANCE_TEST_EXES = \
tests\performance\client.exe \
tests\performance\server.exe
UNIT_TEST_EXES = \
tests\unit\basic_datagram_socket.exe \
tests\unit\basic_deadline_timer.exe \
tests\unit\basic_serial_port.exe \
tests\unit\basic_socket_acceptor.exe \
tests\unit\basic_stream_socket.exe \
tests\unit\buffered_read_stream.exe \
tests\unit\buffered_stream.exe \
tests\unit\buffered_write_stream.exe \
tests\unit\buffer.exe \
tests\unit\buffers_iterator.exe \
tests\unit\completion_condition.exe \
tests\unit\datagram_socket_service.exe \
tests\unit\deadline_timer_service.exe \
tests\unit\deadline_timer.exe \
tests\unit\io_service.exe \
tests\unit\error.exe \
tests\unit\ip\address.exe \
tests\unit\ip\address_v4.exe \
tests\unit\ip\address_v6.exe \
tests\unit\ip\basic_endpoint.exe \
tests\unit\ip\basic_resolver.exe \
tests\unit\ip\basic_resolver_entry.exe \
tests\unit\ip\basic_resolver_iterator.exe \
tests\unit\ip\basic_resolver_query.exe \
tests\unit\ip\host_name.exe \
tests\unit\ip\multicast.exe \
tests\unit\ip\resolver_query_base.exe \
tests\unit\ip\resolver_service.exe \
tests\unit\ip\tcp.exe \
tests\unit\ip\udp.exe \
tests\unit\ip\unicast.exe \
tests\unit\ip\v6_only.exe \
tests\unit\is_read_buffered.exe \
tests\unit\is_write_buffered.exe \
tests\unit\placeholders.exe \
tests\unit\read.exe \
tests\unit\read_at.exe \
tests\unit\read_until.exe \
tests\unit\serial_port.exe \
tests\unit\serial_port_base.exe \
tests\unit\serial_port_service.exe \
tests\unit\socket_acceptor_service.exe \
tests\unit\socket_base.exe \
tests\unit\strand.exe \
tests\unit\stream_socket_service.exe \
tests\unit\thread.exe \
tests\unit\time_traits.exe \
tests\unit\windows\basic_handle.exe \
tests\unit\windows\basic_random_access_handle.exe \
tests\unit\windows\basic_stream_handle.exe \
tests\unit\windows\overlapped_ptr.exe \
tests\unit\windows\random_access_handle.exe \
tests\unit\windows\random_access_handle_service.exe \
tests\unit\windows\stream_handle.exe \
tests\unit\windows\stream_handle_service.exe \
tests\unit\write.exe \
tests\unit\write_at.exe
EXAMPLE_EXES = \
examples\allocation\server.exe \
examples\buffers\reference_counted.exe \
examples\chat\chat_client.exe \
examples\chat\chat_server.exe \
examples\echo\async_tcp_echo_server.exe \
examples\echo\async_udp_echo_server.exe \
examples\echo\blocking_tcp_echo_client.exe \
examples\echo\blocking_tcp_echo_server.exe \
examples\echo\blocking_udp_echo_client.exe \
examples\echo\blocking_udp_echo_server.exe \
examples\http\client\async_client.exe \
examples\http\client\sync_client.exe \
examples\http\server\http_server.exe \
examples\http\server2\http_server.exe \
examples\http\server3\http_server.exe \
examples\invocation\prioritised_handlers.exe \
examples\iostreams\daytime_client.exe \
examples\iostreams\daytime_server.exe \
examples\multicast\receiver.exe \
examples\multicast\sender.exe \
examples\services\daytime_client.exe \
examples\socks4\sync_client.exe \
examples\timeouts\accept_timeout.exe \
examples\timeouts\connect_timeout.exe \
examples\timeouts\datagram_receive_timeout.exe \
examples\timeouts\stream_receive_timeout.exe \
examples\timers\tick_count_timer.exe \
examples\timers\time_t_timer.exe \
examples\tutorial\timer1\timer.exe \
examples\tutorial\timer2\timer.exe \
examples\tutorial\timer3\timer.exe \
examples\tutorial\timer4\timer.exe \
examples\tutorial\timer5\timer.exe \
examples\tutorial\daytime1\client.exe \
examples\tutorial\daytime2\server.exe \
examples\tutorial\daytime3\server.exe \
examples\tutorial\daytime4\client.exe \
examples\tutorial\daytime5\server.exe \
examples\tutorial\daytime6\server.exe \
examples\tutorial\daytime7\server.exe \
examples\windows\transmit_file.exe
# Only build unit tests by default with Borland C++ since the performance tests
# and examples may use language that are not supported.
tests: $(UNIT_TEST_EXES)
all:
$(UNIT_TEST_EXES) \
$(PERFORMANCE_TEST_EXES) \
$(EXAMPLE_EXES)
check: $(UNIT_TEST_EXES)
!$**
clean:
-del /q /s tests\*.exe
-del /q /s tests\*.tds
-del /q /s tests\*.obj
-del /q /s examples\*.exe
-del /q /s examples\*.tds
-del /q /s examples\*.obj
examples\http\server\http_server.exe: \
examples\http\server\connection.obj \
examples\http\server\connection_manager.obj \
examples\http\server\mime_types.obj \
examples\http\server\reply.obj \
examples\http\server\request_handler.obj \
examples\http\server\request_parser.obj \
examples\http\server\server.obj \
examples\http\server\win_main.obj
bcc32 -e$@ $(LDFLAGS) $**
examples\http\server2\http_server.exe: \
examples\http\server2\connection.obj \
examples\http\server2\io_service_pool.obj \
examples\http\server2\mime_types.obj \
examples\http\server2\reply.obj \
examples\http\server2\request_handler.obj \
examples\http\server2\request_parser.obj \
examples\http\server2\server.obj \
examples\http\server2\win_main.obj
bcc32 -e$@ $(LDFLAGS) $**
examples\http\server3\http_server.exe: \
examples\http\server3\connection.obj \
examples\http\server3\mime_types.obj \
examples\http\server3\reply.obj \
examples\http\server3\request_handler.obj \
examples\http\server3\request_parser.obj \
examples\http\server3\server.obj \
examples\http\server3\win_main.obj
bcc32 -e$@ $(LDFLAGS) $**
examples\services\daytime_client.exe: \
examples\services\daytime_client.obj \
examples\services\logger_service.obj
bcc32 -e$@ $(LDFLAGS) $**
.obj.exe:
bcc32 -e$@ $(LDFLAGS) $<
.cpp.obj:
bcc32 -o$@ -c $(CXXFLAGS) $(DEFINES) $<
.autodepend