X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/474d70ebfe2c23d2dc82f1904362c3feddda3e78..e2030cb82d5b8f8b39696794f036e5ffc435f9bf:/examples/java/suspend/Makefile.am diff --git a/examples/java/suspend/Makefile.am b/examples/java/suspend/Makefile.am index c0c8a2c26b..183f15a3a0 100644 --- a/examples/java/suspend/Makefile.am +++ b/examples/java/suspend/Makefile.am @@ -1,12 +1,23 @@ -EXTRA_DIST=msg_test_suspend_deployment.xml msg_test_suspend_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=suspend_deployment.xml suspend_platform.xml # Declare sources: -noinst_JAVA= DreamMaster.java LazyGuy.java SuspendTest.java +JAVA_SRC=DreamMaster.java LazyGuy.java SuspendTest.java +JAVA_TESTS=SuspendTest.class +TESTS=$(JAVA_TESTS) + +EXTRA_DIST+=$(JAVA_SRC) # Declare test class -#if HAVE_JAVA -TESTS=SuspendTest.class -#endif +if HAVE_JAVA + noinst_JAVA=$(JAVA_SRC) +endif include $(srcdir)/../java_test.mk