Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let's be VPATH friendly
[simgrid.git] / examples / amok / Makefile.in
index 47093b6..4f57cc6 100644 (file)
 
 @SET_MAKE@
 
+# Copyright (c) 2004-2007. The SimGrid team. All right reserved.
+
+# This file is part of the SimGrid project. This is free software:
+# You can redistribute and/or modify it under the terms of the
+# GNU LGPL (v2.1) licence.
+
 # Makefile chunk which allows to display the files which should be included
 # into the distribution.
 
@@ -44,6 +50,10 @@ noinst_PROGRAMS = bandwidth/bandwidth_maestro$(EXEEXT) \
        saturate/saturate_maestro$(EXEEXT) \
        saturate/saturate_sensor$(EXEEXT) \
        saturate/saturate_simulator$(EXEEXT)
+@GRAS_ARCH_32_BITS_TRUE@am__append_1 = bandwidth/bandwidth_rl.tesh bandwidth/bandwidth_sg_32.tesh
+@GRAS_ARCH_32_BITS_FALSE@am__append_2 = bandwidth/bandwidth_rl.tesh bandwidth/bandwidth_sg_64.tesh
+@GRAS_ARCH_32_BITS_TRUE@am__append_3 = saturate/saturate_rl.tesh saturate/saturate_sg_32.tesh
+@GRAS_ARCH_32_BITS_FALSE@am__append_4 = saturate/saturate_rl.tesh saturate/saturate_sg_64.tesh
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
        $(top_srcdir)/acmacro/dist-files.mk
 subdir = examples/amok
@@ -267,8 +277,8 @@ AM_CFLAGS = -g
 ###################
 EXTRA_DIST = bandwidth/bandwidth.xml saturate/saturate.xml
 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
-TESTS = bandwidth/bandwidth_rl.tesh bandwidth/bandwidth_sg.tesh \
-       saturate/saturate_rl.tesh saturate/saturate_sg.tesh
+TESTS = $(am__append_1) $(am__append_2) $(am__append_3) \
+       $(am__append_4)
 XFAIL_TESTS = 
 LDADD_SG = $(top_builddir)/src/libsimgrid.la
 LDADD_RL = $(top_builddir)/src/libgras.la
@@ -759,11 +769,11 @@ uninstall-am:
 
 # Take care of generatated sources
 bandwidth/_bandwidth_simulator.c bandwidth/_bandwidth_sensor.c bandwidth/_bandwidth_maestro.c : bandwidth/bandwidth.c bandwidth/bandwidth.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
-       cd bandwidth; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ bandwidth $(srcdir)/../bandwidth/bandwidth.xml
+       cd bandwidth; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ bandwidth ../$(top_srcdir)/examples/amok/bandwidth/bandwidth.xml
 
 # Take care of generatated sources
 saturate/_saturate_simulator.c saturate/_saturate_sensor.c saturate/_saturate_maestro.c : saturate/saturate.c saturate/saturate.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
-       cd saturate; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ saturate $(srcdir)/../saturate/saturate.xml
+       cd saturate; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ saturate ../$(top_srcdir)/examples/amok/saturate/saturate.xml
 
 dist-files:
        @for n in $(DISTFILES) ; do echo $(SRCFILE)$$n; done