1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # Copyright (c) 2004-2007. The SimGrid team. All right reserved.
19 # This file is part of the SimGrid project. This is free software:
20 # You can redistribute and/or modify it under the terms of the
21 # GNU LGPL (v2.1) licence.
23 #########################
24 # How to compile the code
25 # All this to only get a dumb javac *java... Automake still have issues with java
27 # Makefile chunk which allows to display the files which should be included
28 # into the distribution.
30 # It is intended to be included in all Makefile.am
32 pkgdatadir = $(datadir)/@PACKAGE@
33 pkglibdir = $(libdir)/@PACKAGE@
34 pkgincludedir = $(includedir)/@PACKAGE@
35 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
36 install_sh_DATA = $(install_sh) -c -m 644
37 install_sh_PROGRAM = $(install_sh) -c
38 install_sh_SCRIPT = $(install_sh) -c
39 INSTALL_HEADER = $(INSTALL_DATA)
40 transform = $(program_transform_name)
47 build_triplet = @build@
49 target_triplet = @target@
50 DIST_COMMON = $(srcdir)/../java_test.mk $(srcdir)/Makefile.am \
51 $(srcdir)/Makefile.in $(top_srcdir)/acmacro/dist-files.mk
52 subdir = examples/java/basic
53 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
54 am__aclocal_m4_deps = $(top_srcdir)/acmacro/ac_func_snprintf.m4 \
55 $(top_srcdir)/acmacro/compiler-flags.m4 \
56 $(top_srcdir)/acmacro/context.m4 \
57 $(top_srcdir)/acmacro/fancy_configury.m4 \
58 $(top_srcdir)/acmacro/flex.m4 \
59 $(top_srcdir)/acmacro/gras_arch.m4 \
60 $(top_srcdir)/acmacro/print_null.m4 \
61 $(top_srcdir)/acmacro/va_copy.m4 $(top_srcdir)/configure.ac
62 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64 mkinstalldirs = $(install_sh) -d
65 CONFIG_HEADER = $(top_builddir)/src/gras_config.h
69 CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH
70 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
72 ADDR2LINE = @ADDR2LINE@
74 AM_CPPFLAGS = @AM_CPPFLAGS@
78 AUTOHEADER = @AUTOHEADER@
83 CCDEPMODE = @CCDEPMODE@
89 CXXDEPMODE = @CXXDEPMODE@
91 CYGPATH_W = @CYGPATH_W@
105 GCJDEPMODE = @GCJDEPMODE@
106 GCJFLAGS = @GCJFLAGS@
107 GRAS_DEP = @GRAS_DEP@
110 INSTALL_DATA = @INSTALL_DATA@
111 INSTALL_PROGRAM = @INSTALL_PROGRAM@
112 INSTALL_SCRIPT = @INSTALL_SCRIPT@
113 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
118 LD_DYNAMIC_FLAGS = @LD_DYNAMIC_FLAGS@
121 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
126 LTLIBOBJS = @LTLIBOBJS@
128 MAKEINFO = @MAKEINFO@
134 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
135 PACKAGE_NAME = @PACKAGE_NAME@
136 PACKAGE_STRING = @PACKAGE_STRING@
137 PACKAGE_TARNAME = @PACKAGE_TARNAME@
138 PACKAGE_VERSION = @PACKAGE_VERSION@
139 PATH_SEPARATOR = @PATH_SEPARATOR@
140 PTH_STACK_GROWTH = @PTH_STACK_GROWTH@
143 SET_MAKE = @SET_MAKE@
145 SIMGRID_DEP = @SIMGRID_DEP@
146 SMPI_DEP = @SMPI_DEP@
150 abs_builddir = @abs_builddir@
151 abs_srcdir = @abs_srcdir@
152 abs_top_builddir = @abs_top_builddir@
153 abs_top_srcdir = @abs_top_srcdir@
154 ac_configure_args = @ac_configure_args@
155 ac_ct_CC = @ac_ct_CC@
156 ac_ct_CXX = @ac_ct_CXX@
157 am__include = @am__include@
158 am__leading_dot = @am__leading_dot@
159 am__quote = @am__quote@
161 am__untar = @am__untar@
164 build_alias = @build_alias@
165 build_cpu = @build_cpu@
166 build_id = @build_id@
167 build_os = @build_os@
168 build_vendor = @build_vendor@
169 builddir = @builddir@
171 datarootdir = @datarootdir@
174 exec_prefix = @exec_prefix@
176 host_alias = @host_alias@
177 host_cpu = @host_cpu@
179 host_vendor = @host_vendor@
181 includedir = @includedir@
183 install_sh = @install_sh@
185 libexecdir = @libexecdir@
186 localedir = @localedir@
187 localstatedir = @localstatedir@
190 oldincludedir = @oldincludedir@
193 program_transform_name = @program_transform_name@
195 pth_skaddr_makecontext = @pth_skaddr_makecontext@
196 pth_sksize_makecontext = @pth_sksize_makecontext@
198 sharedstatedir = @sharedstatedir@
200 sysconfdir = @sysconfdir@
202 target_alias = @target_alias@
203 target_cpu = @target_cpu@
204 target_os = @target_os@
205 target_vendor = @target_vendor@
206 top_builddir = @top_builddir@
207 top_srcdir = @top_srcdir@
208 EXTRA_DIST = basic_deployment.xml basic_platform.xml $(JAVA_SRC)
211 JAVA_SRC = Master.java Forwarder.java Slave.java BasicTest.java \
212 BasicTask.java FinalizeTask.java
214 JAVA_TESTS = BasicTest.class
215 TESTS = $(JAVA_TESTS)
218 @HAVE_JAVA_TRUE@noinst_JAVA = $(JAVA_SRC)
220 AM_JAVACFLAGS = -classpath $(top_srcdir)/src/simgrid.jar:.
221 @HAVE_JAVA_FALSE@TESTS_ENVIRONMENT = DO_NOT_HAVE_JAVA=1 $(srcdir)/../runtest
223 ##########################
224 # What to do on make check
225 # We need to rely on an external script (../runtest) because automake adds a ./ in front of the test name
226 # We need to override LD_LIBRARY_PATH so that the VM finds the libsimgrid4java.so
227 # We need to override the CLASSPATH to add simgrid.jar and current dir to the picture
228 # We also need to express dependencies manually (in each test dir)
230 @HAVE_JAVA_TRUE@TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \
231 @HAVE_JAVA_TRUE@ CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \
232 @HAVE_JAVA_TRUE@ $(srcdir)/../runtest
237 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../java_test.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps)
239 case '$(am__configure_deps)' in \
241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
246 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/java/basic/Makefile'; \
247 cd $(top_srcdir) && \
248 $(AUTOMAKE) --gnu examples/java/basic/Makefile
250 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
253 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
255 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
256 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
259 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
262 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
263 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
264 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
265 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
273 classnoinst.stamp: $(noinst_JAVA)
274 @list1='$?'; list2=; if test -n "$$list1"; then \
275 for p in $$list1; do \
276 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
277 list2="$$list2 $$d$$p"; \
279 echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) '"$$list2"; \
280 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $$list2; \
282 echo timestamp > classnoinst.stamp
285 -rm -f *.class classnoinst.stamp
293 check-TESTS: $(TESTS)
294 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
295 srcdir=$(srcdir); export srcdir; \
297 if test -n "$$list"; then \
298 for tst in $$list; do \
299 if test -f ./$$tst; then dir=./; \
300 elif test -f $$tst; then dir=; \
301 else dir="$(srcdir)/"; fi; \
302 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
303 all=`expr $$all + 1`; \
304 case " $(XFAIL_TESTS) " in \
306 xpass=`expr $$xpass + 1`; \
307 failed=`expr $$failed + 1`; \
308 echo "XPASS: $$tst"; \
311 echo "PASS: $$tst"; \
314 elif test $$? -ne 77; then \
315 all=`expr $$all + 1`; \
316 case " $(XFAIL_TESTS) " in \
318 xfail=`expr $$xfail + 1`; \
319 echo "XFAIL: $$tst"; \
322 failed=`expr $$failed + 1`; \
323 echo "FAIL: $$tst"; \
327 skip=`expr $$skip + 1`; \
328 echo "SKIP: $$tst"; \
331 if test "$$failed" -eq 0; then \
332 if test "$$xfail" -eq 0; then \
333 banner="All $$all tests passed"; \
335 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
338 if test "$$xpass" -eq 0; then \
339 banner="$$failed of $$all tests failed"; \
341 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
346 if test "$$skip" -ne 0; then \
347 skipped="($$skip tests were not run)"; \
348 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
349 dashes="$$skipped"; \
352 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
353 report="Please report to $(PACKAGE_BUGREPORT)"; \
354 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
357 dashes=`echo "$$dashes" | sed s/./=/g`; \
360 test -z "$$skipped" || echo "$$skipped"; \
361 test -z "$$report" || echo "$$report"; \
363 test "$$failed" -eq 0; \
366 distdir: $(DISTFILES)
367 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
368 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
369 list='$(DISTFILES)'; \
370 dist_files=`for file in $$list; do echo $$file; done | \
371 sed -e "s|^$$srcdirstrip/||;t" \
372 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
373 case $$dist_files in \
374 */*) $(MKDIR_P) `echo "$$dist_files" | \
375 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
378 for file in $$dist_files; do \
379 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
380 if test -d $$d/$$file; then \
381 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
382 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
383 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
385 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
387 test -f $(distdir)/$$file \
388 || cp -p $$d/$$file $(distdir)/$$file \
393 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
395 all-am: Makefile classnoinst.stamp
398 install-exec: install-exec-am
399 install-data: install-data-am
400 uninstall: uninstall-am
403 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
405 installcheck: installcheck-am
407 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
408 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
409 `test -z '$(STRIP)' || \
410 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
416 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
418 maintainer-clean-generic:
419 @echo "This command is intended for maintainers to use"
420 @echo "it deletes files that may require special tools to rebuild."
423 clean-am: clean-generic clean-libtool clean-noinstJAVA mostlyclean-am
425 distclean: distclean-am
427 distclean-am: clean-am distclean-generic
441 install-dvi: install-dvi-am
445 install-html: install-html-am
447 install-info: install-info-am
451 install-pdf: install-pdf-am
453 install-ps: install-ps-am
457 maintainer-clean: maintainer-clean-am
459 maintainer-clean-am: distclean-am maintainer-clean-generic
461 mostlyclean: mostlyclean-am
463 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
475 .MAKE: install-am install-strip
477 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
478 clean-libtool clean-noinstJAVA distclean distclean-generic \
479 distclean-libtool distdir dvi dvi-am html html-am info info-am \
480 install install-am install-data install-data-am install-dvi \
481 install-dvi-am install-exec install-exec-am install-html \
482 install-html-am install-info install-info-am install-man \
483 install-pdf install-pdf-am install-ps install-ps-am \
484 install-strip installcheck installcheck-am installdirs \
485 maintainer-clean maintainer-clean-generic mostlyclean \
486 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
487 uninstall uninstall-am
490 # declare that we must recompile everything before lauching tests
491 $(TESTS): classnoinst.stamp
494 @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
496 @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
499 # Tell versions [3.59,3.63) of GNU make to not export all variables.
500 # Otherwise a system limit (for SysV at least) may be exceeded.