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@
135 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
136 PACKAGE_NAME = @PACKAGE_NAME@
137 PACKAGE_STRING = @PACKAGE_STRING@
138 PACKAGE_TARNAME = @PACKAGE_TARNAME@
139 PACKAGE_VERSION = @PACKAGE_VERSION@
140 PATH_SEPARATOR = @PATH_SEPARATOR@
141 PTH_STACK_GROWTH = @PTH_STACK_GROWTH@
144 SET_MAKE = @SET_MAKE@
146 SIMGRID_DEP = @SIMGRID_DEP@
147 SMPI_DEP = @SMPI_DEP@
151 abs_builddir = @abs_builddir@
152 abs_srcdir = @abs_srcdir@
153 abs_top_builddir = @abs_top_builddir@
154 abs_top_srcdir = @abs_top_srcdir@
155 ac_configure_args = @ac_configure_args@
156 ac_ct_CC = @ac_ct_CC@
157 ac_ct_CXX = @ac_ct_CXX@
158 am__include = @am__include@
159 am__leading_dot = @am__leading_dot@
160 am__quote = @am__quote@
162 am__untar = @am__untar@
165 build_alias = @build_alias@
166 build_cpu = @build_cpu@
167 build_id = @build_id@
168 build_os = @build_os@
169 build_vendor = @build_vendor@
170 builddir = @builddir@
172 datarootdir = @datarootdir@
175 exec_prefix = @exec_prefix@
177 host_alias = @host_alias@
178 host_cpu = @host_cpu@
180 host_vendor = @host_vendor@
182 includedir = @includedir@
184 install_sh = @install_sh@
186 libexecdir = @libexecdir@
187 localedir = @localedir@
188 localstatedir = @localstatedir@
191 oldincludedir = @oldincludedir@
194 program_transform_name = @program_transform_name@
196 pth_skaddr_makecontext = @pth_skaddr_makecontext@
197 pth_sksize_makecontext = @pth_sksize_makecontext@
199 sharedstatedir = @sharedstatedir@
201 sysconfdir = @sysconfdir@
203 target_alias = @target_alias@
204 target_cpu = @target_cpu@
205 target_os = @target_os@
206 target_vendor = @target_vendor@
207 top_builddir = @top_builddir@
208 top_srcdir = @top_srcdir@
209 EXTRA_DIST = basic_deployment.xml basic_platform.xml $(JAVA_SRC)
212 JAVA_SRC = Master.java Forwarder.java Slave.java BasicTest.java \
213 BasicTask.java FinalizeTask.java
215 JAVA_TESTS = BasicTest.class
216 TESTS = $(JAVA_TESTS)
219 @HAVE_JAVA_TRUE@noinst_JAVA = $(JAVA_SRC)
221 AM_JAVACFLAGS = -classpath $(top_srcdir)/src/simgrid.jar:.
222 @HAVE_JAVA_FALSE@TESTS_ENVIRONMENT = DO_NOT_HAVE_JAVA=1 $(srcdir)/../runtest
224 ##########################
225 # What to do on make check
226 # We need to rely on an external script (../runtest) because automake adds a ./ in front of the test name
227 # We need to override LD_LIBRARY_PATH so that the VM finds the libsimgrid4java.so
228 # We need to override the CLASSPATH to add simgrid.jar and current dir to the picture
229 # We also need to express dependencies manually (in each test dir)
231 @HAVE_JAVA_TRUE@TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \
232 @HAVE_JAVA_TRUE@ CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \
233 @HAVE_JAVA_TRUE@ $(srcdir)/../runtest
238 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../java_test.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps)
240 case '$(am__configure_deps)' in \
242 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
247 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/java/basic/Makefile'; \
248 cd $(top_srcdir) && \
249 $(AUTOMAKE) --gnu examples/java/basic/Makefile
251 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
254 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
256 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
257 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
260 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
261 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
263 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
264 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
265 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
266 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
274 classnoinst.stamp: $(noinst_JAVA)
275 @list1='$?'; list2=; if test -n "$$list1"; then \
276 for p in $$list1; do \
277 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
278 list2="$$list2 $$d$$p"; \
280 echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) '"$$list2"; \
281 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $$list2; \
283 echo timestamp > classnoinst.stamp
286 -rm -f *.class classnoinst.stamp
294 check-TESTS: $(TESTS)
295 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
296 srcdir=$(srcdir); export srcdir; \
298 if test -n "$$list"; then \
299 for tst in $$list; do \
300 if test -f ./$$tst; then dir=./; \
301 elif test -f $$tst; then dir=; \
302 else dir="$(srcdir)/"; fi; \
303 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
304 all=`expr $$all + 1`; \
305 case " $(XFAIL_TESTS) " in \
307 xpass=`expr $$xpass + 1`; \
308 failed=`expr $$failed + 1`; \
309 echo "XPASS: $$tst"; \
312 echo "PASS: $$tst"; \
315 elif test $$? -ne 77; then \
316 all=`expr $$all + 1`; \
317 case " $(XFAIL_TESTS) " in \
319 xfail=`expr $$xfail + 1`; \
320 echo "XFAIL: $$tst"; \
323 failed=`expr $$failed + 1`; \
324 echo "FAIL: $$tst"; \
328 skip=`expr $$skip + 1`; \
329 echo "SKIP: $$tst"; \
332 if test "$$failed" -eq 0; then \
333 if test "$$xfail" -eq 0; then \
334 banner="All $$all tests passed"; \
336 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
339 if test "$$xpass" -eq 0; then \
340 banner="$$failed of $$all tests failed"; \
342 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
347 if test "$$skip" -ne 0; then \
348 skipped="($$skip tests were not run)"; \
349 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
350 dashes="$$skipped"; \
353 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
354 report="Please report to $(PACKAGE_BUGREPORT)"; \
355 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
358 dashes=`echo "$$dashes" | sed s/./=/g`; \
361 test -z "$$skipped" || echo "$$skipped"; \
362 test -z "$$report" || echo "$$report"; \
364 test "$$failed" -eq 0; \
367 distdir: $(DISTFILES)
368 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
369 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
370 list='$(DISTFILES)'; \
371 dist_files=`for file in $$list; do echo $$file; done | \
372 sed -e "s|^$$srcdirstrip/||;t" \
373 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
374 case $$dist_files in \
375 */*) $(MKDIR_P) `echo "$$dist_files" | \
376 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
379 for file in $$dist_files; do \
380 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
381 if test -d $$d/$$file; then \
382 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
383 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
384 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
386 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
388 test -f $(distdir)/$$file \
389 || cp -p $$d/$$file $(distdir)/$$file \
394 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
396 all-am: Makefile classnoinst.stamp
399 install-exec: install-exec-am
400 install-data: install-data-am
401 uninstall: uninstall-am
404 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
406 installcheck: installcheck-am
408 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
409 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
410 `test -z '$(STRIP)' || \
411 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
417 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
419 maintainer-clean-generic:
420 @echo "This command is intended for maintainers to use"
421 @echo "it deletes files that may require special tools to rebuild."
424 clean-am: clean-generic clean-libtool clean-noinstJAVA mostlyclean-am
426 distclean: distclean-am
428 distclean-am: clean-am distclean-generic
442 install-dvi: install-dvi-am
446 install-html: install-html-am
448 install-info: install-info-am
452 install-pdf: install-pdf-am
454 install-ps: install-ps-am
458 maintainer-clean: maintainer-clean-am
460 maintainer-clean-am: distclean-am maintainer-clean-generic
462 mostlyclean: mostlyclean-am
464 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
476 .MAKE: install-am install-strip
478 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
479 clean-libtool clean-noinstJAVA distclean distclean-generic \
480 distclean-libtool distdir dvi dvi-am html html-am info info-am \
481 install install-am install-data install-data-am install-dvi \
482 install-dvi-am install-exec install-exec-am install-html \
483 install-html-am install-info install-info-am install-man \
484 install-pdf install-pdf-am install-ps install-ps-am \
485 install-strip installcheck installcheck-am installdirs \
486 maintainer-clean maintainer-clean-generic mostlyclean \
487 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
488 uninstall uninstall-am
491 # declare that we must recompile everything before lauching tests
492 $(TESTS): classnoinst.stamp
495 @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
497 @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
500 # Tell versions [3.59,3.63) of GNU make to not export all variables.
501 # Otherwise a system limit (for SysV at least) may be exceeded.