X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f0574c255bc0d86b6bbf91d5251ad80fc0cb01c0..741d951a0891942a7c26ad070f0292ee65a82c49:/examples/java/comm_time/Makefile.in diff --git a/examples/java/comm_time/Makefile.in b/examples/java/comm_time/Makefile.in index 7058076e68..8a19538f16 100644 --- a/examples/java/comm_time/Makefile.in +++ b/examples/java/comm_time/Makefile.in @@ -14,6 +14,12 @@ @SET_MAKE@ +# 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. + ######################### # How to compile the code # All this to only get a dumb javac *java... Automake still have issues with java @@ -132,6 +138,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PTH_STACK_GROWTH = @PTH_STACK_GROWTH@ RANLIB = @RANLIB@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIMGRID_DEP = @SIMGRID_DEP@ @@ -201,14 +208,17 @@ EXTRA_DIST = comm_time_deployment.xml comm_time_platform.xml \ $(JAVA_SRC) # Declare sources: -JAVA_SRC = Master.java Slave.java CommTimeTest.java CommTimeTask.java +JAVA_SRC = Master.java Slave.java CommTimeTest.java \ + CommTimeTask.java FinalizeTask.java + JAVA_TESTS = CommTimeTest.class +TESTS = $(JAVA_TESTS) # Declare test class @HAVE_JAVA_TRUE@noinst_JAVA = $(JAVA_SRC) -@HAVE_JAVA_TRUE@TESTS = $(JAVA_TESTS) JAVAROOT = . AM_JAVACFLAGS = -classpath $(top_srcdir)/src/simgrid.jar:. +@HAVE_JAVA_FALSE@TESTS_ENVIRONMENT = DO_NOT_HAVE_JAVA=1 $(srcdir)/../runtest ########################## # What to do on make check @@ -217,9 +227,9 @@ AM_JAVACFLAGS = -classpath $(top_srcdir)/src/simgrid.jar:. # We need to override the CLASSPATH to add simgrid.jar and current dir to the picture # We also need to express dependencies manually (in each test dir) # Damn... -TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \ - CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \ - $(srcdir)/../runtest +@HAVE_JAVA_TRUE@TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \ +@HAVE_JAVA_TRUE@ CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \ +@HAVE_JAVA_TRUE@ $(srcdir)/../runtest all: all-am