Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the Acmacro directory.
[simgrid.git] / examples / java / suspend / Makefile.am
index dbe489c..183f15a 100644 (file)
@@ -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