Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rewrite to use send/recv instead of put/get (+ add READMEs)
[simgrid.git] / examples / java / comm_time / Makefile.am
index d60c632..10b4b5b 100644 (file)
@@ -1,12 +1,24 @@
+# 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 \
+         MyTask.java FinalizeTask.java
+JAVA_TESTS=CommTimeTest.class
+TESTS=$(JAVA_TESTS)
+
+EXTRA_DIST+=$(JAVA_SRC)
 
-#if HAVE_JAVA
- # Declare test class
- TESTS=CommTimeTest.class
-#endif
+# Declare test class
+if HAVE_JAVA
+  noinst_JAVA=$(JAVA_SRC)
+endif
 
 include $(srcdir)/../java_test.mk