Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the Acmacro directory.
[simgrid.git] / examples / java / basic / Makefile.am
index 024a2a3..7a3b3c9 100644 (file)
@@ -1,10 +1,24 @@
-EXTRA_DIST=msg_test_deployment.xml msg_test_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=basic_deployment.xml basic_platform.xml
 
 # Declare sources:
-noinst_JAVA= Master.java Forwarder.java Slave.java BasicTest.java BasicTask.java
+JAVA_SRC=Master.java Forwarder.java Slave.java BasicTest.java \
+         FinalizeTask.java
+JAVA_TESTS=BasicTest.class
+TESTS=$(JAVA_TESTS)
+
+EXTRA_DIST+=$(JAVA_SRC)
 
 # Declare test class
-TESTS=BasicTest.class
+if HAVE_JAVA
+  noinst_JAVA=$(JAVA_SRC)
+endif
 
 include $(srcdir)/../java_test.mk