diff options
author | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-25 19:18:03 +0000 |
---|---|---|
committer | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-25 19:18:03 +0000 |
commit | cf493d9ea88104f4f9f5aa88b6c1ca637a458c55 (patch) | |
tree | 2f3eb812c272fcadd2b44ada0a1a4097ac857860 /java | |
parent | 9c2876bbdf73eb449941801f736c0388d0888e12 (diff) | |
download | ATCD-cf493d9ea88104f4f9f5aa88b6c1ca637a458c55.tar.gz |
Makefile for the new tests tree.
Diffstat (limited to 'java')
-rw-r--r-- | java/JACE/tests/Makefile | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/java/JACE/tests/Makefile b/java/JACE/tests/Makefile new file mode 100644 index 00000000000..f6336bd7ebb --- /dev/null +++ b/java/JACE/tests/Makefile @@ -0,0 +1,115 @@ +# Makefile for JACE tests +# $Id$ + +.SUFFIXES: .java .class + +JACE_WRAPPER = ../.. +CLASSDIR = $(JACE_WRAPPER)/classes + +JC = javac +JCOPTS = -d $(CLASSDIR) + +COMPILE.java = $(JC) $(JCOPTS) $(filter %.java,$?) + +CLASSPATH := $(CLASSDIR):$(CLASSPATH) + +all: asx concurrency condition connection misc reactor socksap svcconfig netsvcs + +pkg_all = $(pkg_asx) $(pkg_concurrency) $(pkg_condition) $(pkg_connection) \ + $(pkg_misc) $(pkg_reactor) $(pkg_socksap) $(pkg_svcconfig) $(pkg_netsvcs) + +clean: + find ${JACE_WRAPPER}/classes/JACE/tests -name '*.class' -print | xargs ${RM} + +pkg_asx = \ + BufferStreamTest \ + MessageQueueTest \ + PriorityBufferTest \ + TaskTest \ + ThreadPoolTest + +asx: $(addprefix ASX/,$(addsuffix .java,$(pkg_asx))) + $(COMPILE.java) + +pkg_concurrency = \ + IterationTest \ + RWMutexTest \ + TimingTest \ + TokenTest + +concurrency: $(addprefix Concurrency/,$(addsuffix .java,$(pkg_concurrency))) + $(COMPILE.java) + +pkg_condition = \ + Consumer \ + JoinableThreadGroup \ + Producer \ + QueueTest \ + SimpleMessageQueue + +condition: $(addprefix Concurrency/Condition/,$(addsuffix .java,$(pkg_condition))) + $(COMPILE.java) + +pkg_connection = \ + AcceptorTest \ + ClientHandler \ + ConnectorTest \ + HTTPHelperTest \ + ServerHandler + +connection: $(addprefix Connection/,$(addsuffix .java,$(pkg_connection))) + $(COMPILE.java) + +pkg_misc = \ + ParseArgsTest + +misc: $(addprefix Misc/,$(addsuffix .java,$(pkg_misc))) + $(COMPILE.java) + +pkg_reactor = \ + TimeValueTest \ + TimerQueueTest + +reactor: $(addprefix Reactor/,$(addsuffix .java,$(pkg_reactor))) + $(COMPILE.java) + +pkg_socksap = \ + SOCKAcceptorTest \ + SOCKConnectorTest + +socksap: $(addprefix SOCK_SAP/,$(addsuffix .java,$(pkg_socksap))) + $(COMPILE.java) + +pkg_svcconfig = \ + Main + +svcconfig: $(addprefix ServiceConfigurator/,$(addsuffix .java,$(pkg_svcconfig))) + $(COMPILE.java) + +netsvcs: logger_tests naming_tests time_tests token_tests + +pkg_logger_tests = \ + LoggerTest + +logger_tests: $(addprefix netsvcs/Logger/,$(addsuffix .java,$(pkg_logger_tests))) + $(COMPILE.java) + +pkg_naming_tests = \ + ClientTest + +naming_tests: $(addprefix netsvcs/Naming/,$(addsuffix .java,$(pkg_naming_tests))) + $(COMPILE.java) + +pkg_time_tests = \ + TSClient + +time_tests: $(addprefix netsvcs/Time/,$(addsuffix .java,$(pkg_time_tests))) + $(COMPILE.java) + +pkg_token_tests = \ + ProxyClientTest + +token_tests: $(addprefix netsvcs/Token/,$(addsuffix .java,$(pkg_token_tests))) + $(COMPILE.java) + + |