X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2033091e2339a120d594b4cbf81a89d72faa0d05..1ad196a6a1d0b9997e180078695d451de4b37cf3:/examples/java/comm_time/Makefile.am diff --git a/examples/java/comm_time/Makefile.am b/examples/java/comm_time/Makefile.am index fa37c38564..c469a012b4 100644 --- a/examples/java/comm_time/Makefile.am +++ b/examples/java/comm_time/Makefile.am @@ -1,10 +1,24 @@ -EXTRA_DIST=comm_time_deployment.xml comm_time_platform.xml surfxml.dtd +# Copyright (c) 2004-2007. The SimGrid team. All right reserved. + +# This file is part of the SimGrid project. This is free software: +# You can redistribute and/or modify it under the terms of the +# GNU LGPL (v2.1) licence. + + +EXTRA_DIST=comm_time_deployment.xml comm_time_platform.xml # Declare sources: -noinst_JAVA= Master.java Slave.java CommTimeTest.java CommTimeTask.java +JAVA_SRC=Master.java Slave.java CommTimeTest.java \ + CommTimeTask.java FinalizeTask.java +JAVA_TESTS=CommTimeTest.class +TESTS=$(JAVA_TESTS) + +EXTRA_DIST+=$(JAVA_SRC) # Declare test class -TESTS=CommTimeTest.class +if HAVE_JAVA + noinst_JAVA=$(JAVA_SRC) +endif include $(srcdir)/../java_test.mk