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/ping_pong
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 = ping_pong_deployment.xml ping_pong_platform.xml \
225 JAVA_SRC = Sender.java Receiver.java PingPongTask.java PingPongTest.java
226 JAVA_TESTS = PingPongTest.class
227 TESTS = $(JAVA_TESTS)
230 @HAVE_JAVA_TRUE@noinst_JAVA = $(JAVA_SRC)
232 AM_JAVACFLAGS = -classpath $(top_srcdir)/src/simgrid.jar:.
233 @HAVE_JAVA_FALSE@TESTS_ENVIRONMENT = DO_NOT_HAVE_JAVA=1 $(srcdir)/../runtest
235 ##########################
236 # What to do on make check
237 # We need to rely on an external script (../runtest) because automake adds a ./ in front of the test name
238 # We need to override LD_LIBRARY_PATH so that the VM finds the libsimgrid4java.so
239 # We need to override the CLASSPATH to add simgrid.jar and current dir to the picture
240 # We also need to express dependencies manually (in each test dir)
242 @HAVE_JAVA_TRUE@TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \
243 @HAVE_JAVA_TRUE@ CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \
244 @HAVE_JAVA_TRUE@ $(srcdir)/../runtest
249 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../java_test.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps)
251 case '$(am__configure_deps)' in \
253 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
258 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/java/ping_pong/Makefile'; \
259 cd $(top_srcdir) && \
260 $(AUTOMAKE) --gnu examples/java/ping_pong/Makefile
262 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
265 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
267 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
268 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
271 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
272 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
274 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
275 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
276 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
277 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
285 classnoinst.stamp: $(noinst_JAVA)
286 @list1='$?'; list2=; if test -n "$$list1"; then \
287 for p in $$list1; do \
288 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
289 list2="$$list2 $$d$$p"; \
291 echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) '"$$list2"; \
292 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $$list2; \
294 echo timestamp > classnoinst.stamp
297 -rm -f *.class classnoinst.stamp
305 check-TESTS: $(TESTS)
306 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
307 srcdir=$(srcdir); export srcdir; \
309 if test -n "$$list"; then \
310 for tst in $$list; do \
311 if test -f ./$$tst; then dir=./; \
312 elif test -f $$tst; then dir=; \
313 else dir="$(srcdir)/"; fi; \
314 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
315 all=`expr $$all + 1`; \
316 case " $(XFAIL_TESTS) " in \
318 xpass=`expr $$xpass + 1`; \
319 failed=`expr $$failed + 1`; \
320 echo "XPASS: $$tst"; \
323 echo "PASS: $$tst"; \
326 elif test $$? -ne 77; then \
327 all=`expr $$all + 1`; \
328 case " $(XFAIL_TESTS) " in \
330 xfail=`expr $$xfail + 1`; \
331 echo "XFAIL: $$tst"; \
334 failed=`expr $$failed + 1`; \
335 echo "FAIL: $$tst"; \
339 skip=`expr $$skip + 1`; \
340 echo "SKIP: $$tst"; \
343 if test "$$failed" -eq 0; then \
344 if test "$$xfail" -eq 0; then \
345 banner="All $$all tests passed"; \
347 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
350 if test "$$xpass" -eq 0; then \
351 banner="$$failed of $$all tests failed"; \
353 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
358 if test "$$skip" -ne 0; then \
359 skipped="($$skip tests were not run)"; \
360 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
361 dashes="$$skipped"; \
364 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
365 report="Please report to $(PACKAGE_BUGREPORT)"; \
366 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
369 dashes=`echo "$$dashes" | sed s/./=/g`; \
372 test -z "$$skipped" || echo "$$skipped"; \
373 test -z "$$report" || echo "$$report"; \
375 test "$$failed" -eq 0; \
378 distdir: $(DISTFILES)
379 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
380 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381 list='$(DISTFILES)'; \
382 dist_files=`for file in $$list; do echo $$file; done | \
383 sed -e "s|^$$srcdirstrip/||;t" \
384 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
385 case $$dist_files in \
386 */*) $(MKDIR_P) `echo "$$dist_files" | \
387 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
390 for file in $$dist_files; do \
391 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
392 if test -d $$d/$$file; then \
393 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
394 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
395 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
397 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
399 test -f $(distdir)/$$file \
400 || cp -p $$d/$$file $(distdir)/$$file \
405 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
407 all-am: Makefile classnoinst.stamp
410 install-exec: install-exec-am
411 install-data: install-data-am
412 uninstall: uninstall-am
415 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
417 installcheck: installcheck-am
419 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
420 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
421 `test -z '$(STRIP)' || \
422 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
428 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
430 maintainer-clean-generic:
431 @echo "This command is intended for maintainers to use"
432 @echo "it deletes files that may require special tools to rebuild."
435 clean-am: clean-generic clean-libtool clean-noinstJAVA mostlyclean-am
437 distclean: distclean-am
439 distclean-am: clean-am distclean-generic
453 install-dvi: install-dvi-am
457 install-html: install-html-am
459 install-info: install-info-am
463 install-pdf: install-pdf-am
465 install-ps: install-ps-am
469 maintainer-clean: maintainer-clean-am
471 maintainer-clean-am: distclean-am maintainer-clean-generic
473 mostlyclean: mostlyclean-am
475 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
487 .MAKE: install-am install-strip
489 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
490 clean-libtool clean-noinstJAVA distclean distclean-generic \
491 distclean-libtool distdir dvi dvi-am html html-am info info-am \
492 install install-am install-data install-data-am install-dvi \
493 install-dvi-am install-exec install-exec-am install-html \
494 install-html-am install-info install-info-am install-man \
495 install-pdf install-pdf-am install-ps install-ps-am \
496 install-strip installcheck installcheck-am installdirs \
497 maintainer-clean maintainer-clean-generic mostlyclean \
498 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
499 uninstall uninstall-am
502 # declare that we must recompile everything before lauching tests
503 $(TESTS): classnoinst.stamp
506 @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
508 @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
511 # Tell versions [3.59,3.63) of GNU make to not export all variables.
512 # Otherwise a system limit (for SysV at least) may be exceeded.