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