X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ac8124e5fcee52dc950d676fda4a219408ea8a6..c281d400a7c848c061c23bd01300073bac759e04:/examples/gras/chrono/Makefile.am diff --git a/examples/gras/chrono/Makefile.am b/examples/gras/chrono/Makefile.am index a9233c11a0..7b9b69399c 100644 --- a/examples/gras/chrono/Makefile.am +++ b/examples/gras/chrono/Makefile.am @@ -1,7 +1,7 @@ INCLUDES= -I$(top_srcdir)/include AM_CFLAGS=-g -TESTS= test_rl test_sg -EXTRA_DIST=chrono_deployment.xml +EXTRA_DIST=chrono.xml +include $(top_srcdir)/examples/gras/tests.mk # AUTOMAKE variable definition noinst_PROGRAMS=chrono_simulator chrono_multiplier @@ -12,14 +12,10 @@ chrono_simulator_LDADD= $(top_builddir)/src/libsimgrid.la chrono_multiplier_SOURCES= _chrono_multiplier.c chrono.c chrono_multiplier_LDADD= $(top_builddir)/src/libgras.la +# Take care of generatated sources +NAME=chrono +PROCESSES=multiplier +include $(top_srcdir)/examples/temps-gras-stub.mk -# cleanup temps -CLEANFILES= _chrono_simulator.c _chrono_multiplier.c - -# generate temps - -# A rule to generate the source file each time the deployment file changes -_chrono_multiplier.c _chrono_simulator.c: chrono_deployment.xml $(top_srcdir)/tools/gras/gras_stub_generator - $(top_srcdir)/tools/gras/gras_stub_generator chrono chrono_deployment.xml >/dev/null - +# Cruft include $(top_srcdir)/acmacro/dist-files.mk