summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/IPC_SAP/SOCK_SAP/Makefile.bor24
-rw-r--r--examples/Log_Msg/makefile.bor20
-rw-r--r--examples/Map_Manager/makefile.bor14
-rw-r--r--examples/Mem_Map/file-reverse/makefile.bor10
-rw-r--r--examples/RMCast/Send_File/Makefile.bor29
-rw-r--r--examples/Service_Configurator/IPC-tests/client/makefile.bor31
-rw-r--r--examples/Threads/Makefile.bor60
7 files changed, 64 insertions, 124 deletions
diff --git a/examples/IPC_SAP/SOCK_SAP/Makefile.bor b/examples/IPC_SAP/SOCK_SAP/Makefile.bor
index 52a347a6ce6..33dc76321e5 100644
--- a/examples/IPC_SAP/SOCK_SAP/Makefile.bor
+++ b/examples/IPC_SAP/SOCK_SAP/Makefile.bor
@@ -1,14 +1,12 @@
#
- # Makefile for building the IPC_SAP SOCK_SAP ace examples
- #
-
- !include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
+# Makefile for building the IPC_SAP SOCK_SAP ace examples
+#
- TESTS = \
- CPP-inclient \
+NAMES = \
+ CPP-inclient \
CPP-unclient \
CPP-inserver \
- CPP-inserver-fancy \
+ CPP-inserver-fancy \
CPP-inserver-poll \
CPP-unserver \
FD-unclient \
@@ -16,21 +14,13 @@
C-inclient \
C-inserver
-all_tests: $(TESTS)
-
-LIBFILES = \
- $(ACE_LIB) \
-
-$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
-
OBJFILES = $(OBJDIR)\$(NAME).obj
CFLAGS = $(ACE_CFLAGS)
CPPDIR = .
-LIBFILES = \
- $(ACE_LIB) \
+LIBFILES = $(ACE_LIB)
+!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/examples/Log_Msg/makefile.bor b/examples/Log_Msg/makefile.bor
index 2f78c01c4be..9868323d17c 100644
--- a/examples/Log_Msg/makefile.bor
+++ b/examples/Log_Msg/makefile.bor
@@ -1,18 +1,11 @@
#
- # Makefile for building the log_ms ace examples
- #
-
- !include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
- TESTS = \
- test_callback \
- test_log_msg \
- test_ostream
-
-all_tests: $(TESTS)
+# Makefile for building the log_msg ace examples
+#
-$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
+NAMES = \
+ test_callback \
+ test_log_msg \
+ test_ostream
OBJFILES = $(OBJDIR)\$(NAME).obj
@@ -22,4 +15,5 @@ CPPDIR = .
LIBFILES = $(ACE_LIB)
+!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/examples/Map_Manager/makefile.bor b/examples/Map_Manager/makefile.bor
index 02acd82833a..509468e7ddb 100644
--- a/examples/Map_Manager/makefile.bor
+++ b/examples/Map_Manager/makefile.bor
@@ -1,16 +1,8 @@
#
- # Makefile for building the test_hash_map_manager ace examples
- #
-
- !include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
- TESTS = \
- test_hash_map_manager
-
-all_tests: $(TESTS)
+# Makefile for building the test_hash_map_manager ace examples
+#
-$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
+NAME = test_hash_map_manager
OBJFILES = $(OBJDIR)\$(NAME).obj
diff --git a/examples/Mem_Map/file-reverse/makefile.bor b/examples/Mem_Map/file-reverse/makefile.bor
index 13e8059587d..c5f92970c72 100644
--- a/examples/Mem_Map/file-reverse/makefile.bor
+++ b/examples/Mem_Map/file-reverse/makefile.bor
@@ -2,15 +2,7 @@
# Makefile for building the mem_map file-reserse ace examples
#
-!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
-TESTS = \
- file-reverse
-
-all_tests: $(TESTS)
-
-$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
+NAME = file-reverse
OBJFILES = $(OBJDIR)\$(NAME).obj
diff --git a/examples/RMCast/Send_File/Makefile.bor b/examples/RMCast/Send_File/Makefile.bor
index 489f89b29c4..2bf2db27a10 100644
--- a/examples/RMCast/Send_File/Makefile.bor
+++ b/examples/RMCast/Send_File/Makefile.bor
@@ -1,31 +1,18 @@
#
- # Makefile for building the RMCast Send_File ace examples
- #
-
- !include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
- TESTS = \
- Receiver \
- Sender
-
-all_tests: $(TESTS)
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_RMCAST_LIB)
+# Makefile for building the RMCast Send_File ace examples
+#
-$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
+NAMES = \
+ Receiver \
+ Sender
OBJFILES = $(OBJDIR)\$(NAME).obj
-CFLAGS = $(ACE_CFLAGS)
+CFLAGS = $(ACE_CFLAGS) $(ACE_RMCAST_CFLAGS)
CPPDIR = .
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_RMCAST_LIB)
-
+LIBFILES = $(ACE_LIB) $(ACE_RMCAST_LIB)
+!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/examples/Service_Configurator/IPC-tests/client/makefile.bor b/examples/Service_Configurator/IPC-tests/client/makefile.bor
index 8ca304c83ed..6acb4134761 100644
--- a/examples/Service_Configurator/IPC-tests/client/makefile.bor
+++ b/examples/Service_Configurator/IPC-tests/client/makefile.bor
@@ -2,24 +2,17 @@
# Makefile for building the ACE Service_Configurator IPC-tests client
#
-!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
-CLIENTS = \
- local_dgram_client_test \
- local_stream_client_test \
- local_pipe_client_test \
- remote_stream_client_test \
- remote_thr_stream_client_test \
- remote_dgram_client_test \
- local_fifo_client_test \
- broadcast_client_test \
- local_spipe_client_test \
- remote_service_directory_test
-
-all_clients: $(CLIENTS)
-
-$(CLIENTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
+NAMES = \
+ local_dgram_client_test \
+ local_stream_client_test \
+ local_pipe_client_test \
+ remote_stream_client_test \
+ remote_thr_stream_client_test \
+ remote_dgram_client_test \
+ local_fifo_client_test \
+ broadcast_client_test \
+ local_spipe_client_test \
+ remote_service_directory_test
OBJFILES = $(OBJDIR)\$(NAME).obj
@@ -29,5 +22,5 @@ CPPDIR = .
LIBFILES = $(ACE_LIB)
+!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
-
diff --git a/examples/Threads/Makefile.bor b/examples/Threads/Makefile.bor
index dd56aebc0a6..228284446b2 100644
--- a/examples/Threads/Makefile.bor
+++ b/examples/Threads/Makefile.bor
@@ -2,38 +2,31 @@
# Makefile for building the ACE Threads examples
#
-!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
-
-TESTS = \
- auto_event \
- barrier1 \
- barrier2 \
- cancel \
- future1 \
- future2 \
- manual_event \
- process_manager \
- process_mutex \
- process_semaphore \
- reader_writer \
- recursive_mutex \
- task_one \
- task_two \
- task_three \
- task_four \
- task_five \
- thread_manager \
- thread_pool \
- thread_specific \
- token \
- tss1 \
- tss2 \
- wfmo
-
-all_tests: $(TESTS)
-
-$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
+NAMES = \
+ auto_event \
+ barrier1 \
+ barrier2 \
+ cancel \
+ future1 \
+ future2 \
+ manual_event \
+ process_manager \
+ process_mutex \
+ process_semaphore \
+ reader_writer \
+ recursive_mutex \
+ task_one \
+ task_two \
+ task_three \
+ task_four \
+ task_five \
+ thread_manager \
+ thread_pool \
+ thread_specific \
+ token \
+ tss1 \
+ tss2 \
+ wfmo
OBJFILES = $(OBJDIR)\$(NAME).obj
@@ -43,6 +36,5 @@ CPPDIR = .
LIBFILES = $(ACE_LIB)
+!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
-
-