summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-04 16:19:40 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-04 16:19:40 +0000
commit0b6a48d6fbbbc89149f0997080280593ddf800ce (patch)
tree01d0b5b3e817c7ab449c9823c337ecae2d326ebf /tests/Makefile
parentb08ece67821415e6df35a6cb6cf94ef6c352f452 (diff)
downloadATCD-0b6a48d6fbbbc89149f0997080280593ddf800ce.tar.gz
instead of always running a recursive make to build libDLL_Test.so, only do that if it needs to be built
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile175
1 files changed, 88 insertions, 87 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1c47c7889fc..67fcc34835a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -2,99 +2,97 @@
#
# $Id$
#
-# Makefile for all the ACE ``one-button' tests
+# Makefile for all the ACE ``one-button' tests
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
-# Local macros
+# Local macros
#----------------------------------------------------------------------------
BIN = Aio_Platform_Test \
- Atomic_Op_Test \
- Barrier_Test \
- Basic_Types_Test \
- Buffer_Stream_Test \
+ Atomic_Op_Test \
+ Barrier_Test \
+ Basic_Types_Test \
+ Buffer_Stream_Test \
CDR_Test \
- Collection_Test \
- Conn_Test \
- DLList_Test \
- DLL_Test\
- Enum_Interfaces_Test \
- Env_Value_Test \
- Future_Test \
- Handle_Set_Test \
- High_Res_Timer_Test \
- OrdMultiSet_Test \
- Hash_Map_Manager_Test \
- IOStream_Test \
- Map_Test \
- Map_Manager_Test \
- Mem_Map_Test \
- MM_Shared_Memory_Test \
- MT_Reactor_Timer_Test \
- MT_SOCK_Test \
- Message_Block_Test \
- Message_Queue_Test \
- Message_Queue_Notifications_Test \
- Naming_Test \
- Notify_Performance_Test \
- Process_Mutex_Test \
- Process_Strategy_Test \
- Priority_Buffer_Test \
- Dynamic_Priority_Test \
- Priority_Task_Test \
- Priority_Reactor_Test \
- Pipe_Test \
- RB_Tree_Test \
- Reactors_Test \
- Reactor_Exceptions_Test \
- Reactor_Notify_Test \
- Reactor_Performance_Test \
- Reactor_Timer_Test \
- Reader_Writer_Test \
- Recursive_Mutex_Test \
- Semaphore_Test \
- Service_Config_Test \
- Sigset_Ops_Test \
- Simple_Message_Block_Test \
- SOCK_Test \
- SOCK_Connector_Test \
- SPIPE_Test \
- SString_Test \
- SV_Shared_Memory_Test \
- Task_Test \
- Thread_Manager_Test \
- Thread_Mutex_Test \
- Thread_Pool_Reactor_Test \
- Thread_Pool_Test \
- Timeprobe_Test \
- Time_Service_Test \
- Time_Value_Test \
- Timer_Queue_Test \
- Tokens_Test \
- TSS_Test \
- UPIPE_SAP_Test \
- Upgradable_RW_Test \
- XtReactor_Test
-
-FILES = DLL_Test
-
-LSRC = $(addsuffix .cpp,$(BIN))
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-#BUILD = $(VBIN) Had to remove this as it was necessary to
-# produce a libDLL_Test.so for DLL_Test
+ Collection_Test \
+ Conn_Test \
+ DLList_Test \
+ DLL_Test\
+ Enum_Interfaces_Test \
+ Env_Value_Test \
+ Future_Test \
+ Handle_Set_Test \
+ High_Res_Timer_Test \
+ OrdMultiSet_Test \
+ Hash_Map_Manager_Test \
+ IOStream_Test \
+ Map_Test \
+ Map_Manager_Test \
+ Mem_Map_Test \
+ MM_Shared_Memory_Test \
+ MT_Reactor_Timer_Test \
+ MT_SOCK_Test \
+ Message_Block_Test \
+ Message_Queue_Test \
+ Message_Queue_Notifications_Test \
+ Naming_Test \
+ Notify_Performance_Test \
+ Process_Mutex_Test \
+ Process_Strategy_Test \
+ Priority_Buffer_Test \
+ Dynamic_Priority_Test \
+ Priority_Task_Test \
+ Priority_Reactor_Test \
+ Pipe_Test \
+ RB_Tree_Test \
+ Reactors_Test \
+ Reactor_Exceptions_Test \
+ Reactor_Notify_Test \
+ Reactor_Performance_Test \
+ Reactor_Timer_Test \
+ Reader_Writer_Test \
+ Recursive_Mutex_Test \
+ Semaphore_Test \
+ Service_Config_Test \
+ Sigset_Ops_Test \
+ Simple_Message_Block_Test \
+ SOCK_Test \
+ SOCK_Connector_Test \
+ SPIPE_Test \
+ SString_Test \
+ SV_Shared_Memory_Test \
+ Task_Test \
+ Thread_Manager_Test \
+ Thread_Mutex_Test \
+ Thread_Pool_Reactor_Test \
+ Thread_Pool_Test \
+ Timeprobe_Test \
+ Time_Service_Test \
+ Time_Value_Test \
+ Timer_Queue_Test \
+ Tokens_Test \
+ TSS_Test \
+ UPIPE_SAP_Test \
+ Upgradable_RW_Test \
+ XtReactor_Test
#----------------------------------------------------------------------------
-# Include macros and targets
+# Include macros and targets
#----------------------------------------------------------------------------
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
+include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+include $(ACE_ROOT)/include/makeinclude/macros.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
+
+ifndef SOEXT
+ SOEXT=so
+endif
+BUILD += libDLL_Test.$(SOEXT)
+
+include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
# To build multiple executables in the same directory on AIX, it works
# best to wipe out any previously-created tempinc directory.
@@ -104,14 +102,17 @@ COMPILE.cc := $(RM) -rf tempinc; $(COMPILE.cc)
endif
#----------------------------------------------------------------------------
-# Local targets
+# Local targets
#----------------------------------------------------------------------------
-DLL_TEST:
- $(MAKE) -f Makefile.DLL
-all: $(VBIN) DLL_TEST
+libDLL_Test.$(SOEXT): DLL_Test.cpp
+ @$(MAKE) -f Makefile.DLL
+
+realclean: clean
+ -/bin/rm -rf libDLL_Test.$(SOEXT)
+
#----------------------------------------------------------------------------
-# Dependencies
+# Dependencies
#----------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.