X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d535428dd046734638334061f8b2ceb1a037854d..f53ee0c4bdeaffa3c7a781f45f640e5f32cbb480:/examples/java/ping_pong/Makefile.am diff --git a/examples/java/ping_pong/Makefile.am b/examples/java/ping_pong/Makefile.am index 5b3fede3fa..39e1cb79c4 100644 --- a/examples/java/ping_pong/Makefile.am +++ b/examples/java/ping_pong/Makefile.am @@ -1,12 +1,23 @@ +# 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=ping_pong_deployment.xml ping_pong_platform.xml # Declare sources: -noinst_JAVA= Sender.java Receiver.java PingPongTask.java PingPongTest.java +JAVA_SRC=Sender.java Receiver.java PingPongTask.java PingPongTest.java +JAVA_TESTS=PingPongTest.class +TESTS=$(JAVA_TESTS) + +EXTRA_DIST+=$(JAVA_SRC) # Declare test class -#if HAVE_JAVA -TESTS=PingPongTest.class -#endif +if HAVE_JAVA + noinst_JAVA=$(JAVA_SRC) +endif include $(srcdir)/../java_test.mk