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/suspend
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/libtool.m4 \
61 $(top_srcdir)/acmacro/ltoptions.m4 \
62 $(top_srcdir)/acmacro/ltsugar.m4 \
63 $(top_srcdir)/acmacro/ltversion.m4 \
64 $(top_srcdir)/acmacro/lt~obsolete.m4 \
65 $(top_srcdir)/acmacro/print_null.m4 \
66 $(top_srcdir)/acmacro/va_copy.m4 $(top_srcdir)/configure.ac
67 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69 mkinstalldirs = $(install_sh) -d
70 CONFIG_HEADER = $(top_builddir)/src/gras_config.h
74 CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH
75 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
77 ADDR2LINE = @ADDR2LINE@
79 AM_CPPFLAGS = @AM_CPPFLAGS@
83 AUTOHEADER = @AUTOHEADER@
88 CCDEPMODE = @CCDEPMODE@
94 CXXDEPMODE = @CXXDEPMODE@
96 CYGPATH_W = @CYGPATH_W@
101 DSYMUTIL = @DSYMUTIL@
111 GCJDEPMODE = @GCJDEPMODE@
112 GCJFLAGS = @GCJFLAGS@
113 GRAS_DEP = @GRAS_DEP@
116 INSTALL_DATA = @INSTALL_DATA@
117 INSTALL_PROGRAM = @INSTALL_PROGRAM@
118 INSTALL_SCRIPT = @INSTALL_SCRIPT@
119 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
125 LD_DYNAMIC_FLAGS = @LD_DYNAMIC_FLAGS@
128 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
134 LTLIBOBJS = @LTLIBOBJS@
136 MAKEINFO = @MAKEINFO@
145 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
146 PACKAGE_NAME = @PACKAGE_NAME@
147 PACKAGE_STRING = @PACKAGE_STRING@
148 PACKAGE_TARNAME = @PACKAGE_TARNAME@
149 PACKAGE_VERSION = @PACKAGE_VERSION@
150 PATH_SEPARATOR = @PATH_SEPARATOR@
151 PTH_STACK_GROWTH = @PTH_STACK_GROWTH@
154 SET_MAKE = @SET_MAKE@
156 SIMGRID_DEP = @SIMGRID_DEP@
157 SMPI_DEP = @SMPI_DEP@
161 abs_builddir = @abs_builddir@
162 abs_srcdir = @abs_srcdir@
163 abs_top_builddir = @abs_top_builddir@
164 abs_top_srcdir = @abs_top_srcdir@
165 ac_configure_args = @ac_configure_args@
166 ac_ct_CC = @ac_ct_CC@
167 ac_ct_CXX = @ac_ct_CXX@
168 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
169 am__include = @am__include@
170 am__leading_dot = @am__leading_dot@
171 am__quote = @am__quote@
173 am__untar = @am__untar@
176 build_alias = @build_alias@
177 build_cpu = @build_cpu@
178 build_id = @build_id@
179 build_os = @build_os@
180 build_vendor = @build_vendor@
181 builddir = @builddir@
183 datarootdir = @datarootdir@
186 exec_prefix = @exec_prefix@
188 host_alias = @host_alias@
189 host_cpu = @host_cpu@
191 host_vendor = @host_vendor@
193 includedir = @includedir@
195 install_sh = @install_sh@
197 libexecdir = @libexecdir@
198 localedir = @localedir@
199 localstatedir = @localstatedir@
203 oldincludedir = @oldincludedir@
206 program_transform_name = @program_transform_name@
208 pth_skaddr_makecontext = @pth_skaddr_makecontext@
209 pth_sksize_makecontext = @pth_sksize_makecontext@
211 sharedstatedir = @sharedstatedir@
213 sysconfdir = @sysconfdir@
215 target_alias = @target_alias@
216 target_cpu = @target_cpu@
217 target_os = @target_os@
218 target_vendor = @target_vendor@
219 top_builddir = @top_builddir@
220 top_srcdir = @top_srcdir@
221 EXTRA_DIST = suspend_deployment.xml suspend_platform.xml $(JAVA_SRC)
224 JAVA_SRC = DreamMaster.java LazyGuy.java SuspendTest.java
225 JAVA_TESTS = SuspendTest.class
226 TESTS = $(JAVA_TESTS)
229 @HAVE_JAVA_TRUE@noinst_JAVA = $(JAVA_SRC)
231 AM_JAVACFLAGS = -classpath $(top_srcdir)/src/simgrid.jar:.
232 @HAVE_JAVA_FALSE@TESTS_ENVIRONMENT = DO_NOT_HAVE_JAVA=1 $(srcdir)/../runtest
234 ##########################
235 # What to do on make check
236 # We need to rely on an external script (../runtest) because automake adds a ./ in front of the test name
237 # We need to override LD_LIBRARY_PATH so that the VM finds the libsimgrid4java.so
238 # We need to override the CLASSPATH to add simgrid.jar and current dir to the picture
239 # We also need to express dependencies manually (in each test dir)
241 @HAVE_JAVA_TRUE@TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \
242 @HAVE_JAVA_TRUE@ CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \
243 @HAVE_JAVA_TRUE@ $(srcdir)/../runtest
248 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../java_test.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps)
250 case '$(am__configure_deps)' in \
252 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
257 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/java/suspend/Makefile'; \
258 cd $(top_srcdir) && \
259 $(AUTOMAKE) --gnu examples/java/suspend/Makefile
261 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
264 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
266 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
267 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
270 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
271 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
273 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
274 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
275 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
276 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
284 classnoinst.stamp: $(noinst_JAVA)
285 @list1='$?'; list2=; if test -n "$$list1"; then \
286 for p in $$list1; do \
287 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
288 list2="$$list2 $$d$$p"; \
290 echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) '"$$list2"; \
291 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $$list2; \
293 echo timestamp > classnoinst.stamp
296 -rm -f *.class classnoinst.stamp
304 check-TESTS: $(TESTS)
305 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
306 srcdir=$(srcdir); export srcdir; \
308 if test -n "$$list"; then \
309 for tst in $$list; do \
310 if test -f ./$$tst; then dir=./; \
311 elif test -f $$tst; then dir=; \
312 else dir="$(srcdir)/"; fi; \
313 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
314 all=`expr $$all + 1`; \
315 case " $(XFAIL_TESTS) " in \
317 xpass=`expr $$xpass + 1`; \
318 failed=`expr $$failed + 1`; \
319 echo "XPASS: $$tst"; \
322 echo "PASS: $$tst"; \
325 elif test $$? -ne 77; then \
326 all=`expr $$all + 1`; \
327 case " $(XFAIL_TESTS) " in \
329 xfail=`expr $$xfail + 1`; \
330 echo "XFAIL: $$tst"; \
333 failed=`expr $$failed + 1`; \
334 echo "FAIL: $$tst"; \
338 skip=`expr $$skip + 1`; \
339 echo "SKIP: $$tst"; \
342 if test "$$failed" -eq 0; then \
343 if test "$$xfail" -eq 0; then \
344 banner="All $$all tests passed"; \
346 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
349 if test "$$xpass" -eq 0; then \
350 banner="$$failed of $$all tests failed"; \
352 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
357 if test "$$skip" -ne 0; then \
358 skipped="($$skip tests were not run)"; \
359 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
360 dashes="$$skipped"; \
363 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
364 report="Please report to $(PACKAGE_BUGREPORT)"; \
365 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
368 dashes=`echo "$$dashes" | sed s/./=/g`; \
371 test -z "$$skipped" || echo "$$skipped"; \
372 test -z "$$report" || echo "$$report"; \
374 test "$$failed" -eq 0; \
377 distdir: $(DISTFILES)
378 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
379 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
380 list='$(DISTFILES)'; \
381 dist_files=`for file in $$list; do echo $$file; done | \
382 sed -e "s|^$$srcdirstrip/||;t" \
383 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
384 case $$dist_files in \
385 */*) $(MKDIR_P) `echo "$$dist_files" | \
386 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
389 for file in $$dist_files; do \
390 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
391 if test -d $$d/$$file; then \
392 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
393 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
394 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
396 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
398 test -f $(distdir)/$$file \
399 || cp -p $$d/$$file $(distdir)/$$file \
404 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
406 all-am: Makefile classnoinst.stamp
409 install-exec: install-exec-am
410 install-data: install-data-am
411 uninstall: uninstall-am
414 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
416 installcheck: installcheck-am
418 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
419 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
420 `test -z '$(STRIP)' || \
421 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
427 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
429 maintainer-clean-generic:
430 @echo "This command is intended for maintainers to use"
431 @echo "it deletes files that may require special tools to rebuild."
434 clean-am: clean-generic clean-libtool clean-noinstJAVA mostlyclean-am
436 distclean: distclean-am
438 distclean-am: clean-am distclean-generic
452 install-dvi: install-dvi-am
456 install-html: install-html-am
458 install-info: install-info-am
462 install-pdf: install-pdf-am
464 install-ps: install-ps-am
468 maintainer-clean: maintainer-clean-am
470 maintainer-clean-am: distclean-am maintainer-clean-generic
472 mostlyclean: mostlyclean-am
474 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
486 .MAKE: install-am install-strip
488 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
489 clean-libtool clean-noinstJAVA distclean distclean-generic \
490 distclean-libtool distdir dvi dvi-am html html-am info info-am \
491 install install-am install-data install-data-am install-dvi \
492 install-dvi-am install-exec install-exec-am install-html \
493 install-html-am install-info install-info-am install-man \
494 install-pdf install-pdf-am install-ps install-ps-am \
495 install-strip installcheck installcheck-am installdirs \
496 maintainer-clean maintainer-clean-generic mostlyclean \
497 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
498 uninstall uninstall-am
501 # declare that we must recompile everything before lauching tests
502 $(TESTS): classnoinst.stamp
505 @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
507 @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
510 # Tell versions [3.59,3.63) of GNU make to not export all variables.
511 # Otherwise a system limit (for SysV at least) may be exceeded.