1 # Makefile.in generated by automake 1.10 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006 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 #########################
18 # How to compile the code
19 # All this to only get a dumb javac *java... Automake still have issues with java
21 # Makefile chunk which allows to display the files which should be included
22 # into the distribution.
24 # It is intended to be included in all Makefile.am
26 pkgdatadir = $(datadir)/@PACKAGE@
27 pkglibdir = $(libdir)/@PACKAGE@
28 pkgincludedir = $(includedir)/@PACKAGE@
29 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30 install_sh_DATA = $(install_sh) -c -m 644
31 install_sh_PROGRAM = $(install_sh) -c
32 install_sh_SCRIPT = $(install_sh) -c
33 INSTALL_HEADER = $(INSTALL_DATA)
34 transform = $(program_transform_name)
41 build_triplet = @build@
43 target_triplet = @target@
44 DIST_COMMON = $(srcdir)/../java_test.mk $(srcdir)/Makefile.am \
45 $(srcdir)/Makefile.in $(top_srcdir)/acmacro/dist-files.mk
46 subdir = examples/java/ping_pong
47 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48 am__aclocal_m4_deps = $(top_srcdir)/acmacro/ac_func_snprintf.m4 \
49 $(top_srcdir)/acmacro/compiler-flags.m4 \
50 $(top_srcdir)/acmacro/context.m4 \
51 $(top_srcdir)/acmacro/fancy_configury.m4 \
52 $(top_srcdir)/acmacro/flex.m4 \
53 $(top_srcdir)/acmacro/gras_arch.m4 \
54 $(top_srcdir)/acmacro/print_null.m4 \
55 $(top_srcdir)/acmacro/va_copy.m4 $(top_srcdir)/configure.ac
56 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 mkinstalldirs = $(install_sh) -d
59 CONFIG_HEADER = $(top_builddir)/src/gras_config.h
63 CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH
64 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
66 ADDR2LINE = @ADDR2LINE@
68 AM_CFLAGS = @AM_CFLAGS@
72 AUTOHEADER = @AUTOHEADER@
77 CCDEPMODE = @CCDEPMODE@
83 CXXDEPMODE = @CXXDEPMODE@
85 CYGPATH_W = @CYGPATH_W@
98 GCJDEPMODE = @GCJDEPMODE@
100 GRAS_DEP = @GRAS_DEP@
102 GTNETS_CFLAGS = @GTNETS_CFLAGS@
103 GTNETS_LDFLAGS = @GTNETS_LDFLAGS@
105 INSTALL_DATA = @INSTALL_DATA@
106 INSTALL_PROGRAM = @INSTALL_PROGRAM@
107 INSTALL_SCRIPT = @INSTALL_SCRIPT@
108 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
113 LD_DYNAMIC_FLAGS = @LD_DYNAMIC_FLAGS@
116 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
121 LTLIBOBJS = @LTLIBOBJS@
123 MAKEINFO = @MAKEINFO@
129 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
130 PACKAGE_NAME = @PACKAGE_NAME@
131 PACKAGE_STRING = @PACKAGE_STRING@
132 PACKAGE_TARNAME = @PACKAGE_TARNAME@
133 PACKAGE_VERSION = @PACKAGE_VERSION@
134 PATH_SEPARATOR = @PATH_SEPARATOR@
135 PTH_STACK_GROWTH = @PTH_STACK_GROWTH@
137 SET_MAKE = @SET_MAKE@
139 SIMGRID_DEP = @SIMGRID_DEP@
143 abs_builddir = @abs_builddir@
144 abs_srcdir = @abs_srcdir@
145 abs_top_builddir = @abs_top_builddir@
146 abs_top_srcdir = @abs_top_srcdir@
147 ac_configure_args = @ac_configure_args@
148 ac_ct_CC = @ac_ct_CC@
149 ac_ct_CXX = @ac_ct_CXX@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
154 am__untar = @am__untar@
157 build_alias = @build_alias@
158 build_cpu = @build_cpu@
159 build_id = @build_id@
160 build_os = @build_os@
161 build_vendor = @build_vendor@
162 builddir = @builddir@
164 datarootdir = @datarootdir@
167 exec_prefix = @exec_prefix@
169 host_alias = @host_alias@
170 host_cpu = @host_cpu@
172 host_vendor = @host_vendor@
174 includedir = @includedir@
176 install_sh = @install_sh@
178 libexecdir = @libexecdir@
179 localedir = @localedir@
180 localstatedir = @localstatedir@
183 oldincludedir = @oldincludedir@
186 program_transform_name = @program_transform_name@
188 pth_skaddr_makecontext = @pth_skaddr_makecontext@
189 pth_sksize_makecontext = @pth_sksize_makecontext@
191 sharedstatedir = @sharedstatedir@
193 sysconfdir = @sysconfdir@
195 target_alias = @target_alias@
196 target_cpu = @target_cpu@
197 target_os = @target_os@
198 target_vendor = @target_vendor@
199 top_builddir = @top_builddir@
200 top_srcdir = @top_srcdir@
201 EXTRA_DIST = ping_pong_deployment.xml ping_pong_platform.xml surfxml.dtd
204 noinst_JAVA = Sender.java Receiver.java PingPongTask.java PingPongTest.java
208 TESTS = PingPongTest.class
210 CLASSPATH = $(top_srcdir)/src/java
211 AM_JAVACFLAGS = -I$(top_srcdir)/src/java
213 ##########################
214 # What to do on make check
215 # We need to rely on an external script (../runtest) because automake adds a ./ in front of the test name
216 # We need to override LD_LIBRARY_PATH so that the VM finds the libsimgrid4java.so
217 # We need to override the CLASSPATH to add simgrid.jar and current dir to the picture
218 # We also need to express dependencies manually (in each test dir)
220 TESTS_ENVIRONMENT = LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \
221 CLASSPATH=".:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \
227 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../java_test.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps)
229 case '$(am__configure_deps)' in \
231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
236 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/java/ping_pong/Makefile'; \
237 cd $(top_srcdir) && \
238 $(AUTOMAKE) --gnu examples/java/ping_pong/Makefile
240 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
243 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
245 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
246 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
249 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
252 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
253 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
254 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
255 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
263 classnoinst.stamp: $(noinst_JAVA)
264 @list1='$?'; list2=; if test -n "$$list1"; then \
265 for p in $$list1; do \
266 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
267 list2="$$list2 $$d$$p"; \
269 echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) '"$$list2"; \
270 $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS) $(JAVACFLAGS) $$list2; \
272 echo timestamp > classnoinst.stamp
275 -rm -f *.class classnoinst.stamp
283 check-TESTS: $(TESTS)
284 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
285 srcdir=$(srcdir); export srcdir; \
287 if test -n "$$list"; then \
288 for tst in $$list; do \
289 if test -f ./$$tst; then dir=./; \
290 elif test -f $$tst; then dir=; \
291 else dir="$(srcdir)/"; fi; \
292 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
293 all=`expr $$all + 1`; \
294 case " $(XFAIL_TESTS) " in \
296 xpass=`expr $$xpass + 1`; \
297 failed=`expr $$failed + 1`; \
298 echo "XPASS: $$tst"; \
301 echo "PASS: $$tst"; \
304 elif test $$? -ne 77; then \
305 all=`expr $$all + 1`; \
306 case " $(XFAIL_TESTS) " in \
308 xfail=`expr $$xfail + 1`; \
309 echo "XFAIL: $$tst"; \
312 failed=`expr $$failed + 1`; \
313 echo "FAIL: $$tst"; \
317 skip=`expr $$skip + 1`; \
318 echo "SKIP: $$tst"; \
321 if test "$$failed" -eq 0; then \
322 if test "$$xfail" -eq 0; then \
323 banner="All $$all tests passed"; \
325 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
328 if test "$$xpass" -eq 0; then \
329 banner="$$failed of $$all tests failed"; \
331 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
336 if test "$$skip" -ne 0; then \
337 skipped="($$skip tests were not run)"; \
338 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
339 dashes="$$skipped"; \
342 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
343 report="Please report to $(PACKAGE_BUGREPORT)"; \
344 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
347 dashes=`echo "$$dashes" | sed s/./=/g`; \
350 test -z "$$skipped" || echo "$$skipped"; \
351 test -z "$$report" || echo "$$report"; \
353 test "$$failed" -eq 0; \
356 distdir: $(DISTFILES)
357 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
358 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
359 list='$(DISTFILES)'; \
360 dist_files=`for file in $$list; do echo $$file; done | \
361 sed -e "s|^$$srcdirstrip/||;t" \
362 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
363 case $$dist_files in \
364 */*) $(MKDIR_P) `echo "$$dist_files" | \
365 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
368 for file in $$dist_files; do \
369 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
370 if test -d $$d/$$file; then \
371 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
372 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
373 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
375 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
377 test -f $(distdir)/$$file \
378 || cp -p $$d/$$file $(distdir)/$$file \
383 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
385 all-am: Makefile classnoinst.stamp
388 install-exec: install-exec-am
389 install-data: install-data-am
390 uninstall: uninstall-am
393 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
395 installcheck: installcheck-am
397 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
398 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
399 `test -z '$(STRIP)' || \
400 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
406 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
408 maintainer-clean-generic:
409 @echo "This command is intended for maintainers to use"
410 @echo "it deletes files that may require special tools to rebuild."
413 clean-am: clean-generic clean-libtool clean-noinstJAVA mostlyclean-am
415 distclean: distclean-am
417 distclean-am: clean-am distclean-generic
431 install-dvi: install-dvi-am
435 install-html: install-html-am
437 install-info: install-info-am
441 install-pdf: install-pdf-am
443 install-ps: install-ps-am
447 maintainer-clean: maintainer-clean-am
449 maintainer-clean-am: distclean-am maintainer-clean-generic
451 mostlyclean: mostlyclean-am
453 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
465 .MAKE: install-am install-strip
467 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
468 clean-libtool clean-noinstJAVA distclean distclean-generic \
469 distclean-libtool distdir dvi dvi-am html html-am info info-am \
470 install install-am install-data install-data-am install-dvi \
471 install-dvi-am install-exec install-exec-am install-html \
472 install-html-am install-info install-info-am install-man \
473 install-pdf install-pdf-am install-ps install-ps-am \
474 install-strip installcheck installcheck-am installdirs \
475 maintainer-clean maintainer-clean-generic mostlyclean \
476 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
477 uninstall uninstall-am
480 # declare that we must recompile everything before lauching tests
481 $(TESTS): classnoinst.stamp
484 @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done
486 @for n in $(DIST_SUBDIRS) ; do if [ x$$n != x. ] ; then $(MAKE) -C $$n dist-files SRCFILE=$(SRCFILE)$$n/ ; fi; done
490 # Tell versions [3.59,3.63) of GNU make to not export all variables.
491 # Otherwise a system limit (for SysV at least) may be exceeded.