X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e744b1ef9431d71b562caa0163c7d31e72dfcf64..cf0cc38d8036303ec0886ac6361e8e2b62ff0514:/examples/bandwidth/Makefile.am diff --git a/examples/bandwidth/Makefile.am b/examples/bandwidth/Makefile.am index 4a3d360530..f172e6c350 100644 --- a/examples/bandwidth/Makefile.am +++ b/examples/bandwidth/Makefile.am @@ -14,20 +14,10 @@ bandwidth_maestro_LDADD= $(top_builddir)/src/libgras.la $(top_builddir)/src/amok bandwidth_sensor_SOURCES= _bandwidth_sensor.c bandwidth.c bandwidth_sensor_LDADD= $(top_builddir)/src/libgras.la $(top_builddir)/src/amok/libamok.la -# cleanup temps -CLEANFILES=_bandwidth_simulator.c _bandwidth_maestro.c _bandwidth_sensor.c \ - bandwidth.Makefile.local bandwidth.Makefile.remote bandwidth.deploy.sh - -MOSTLYCLEANFILES = bandwidth.trace - -# generate temps +# Take care of generatated sources NAME=bandwidth PROCESSES= maestro sensor +include $(top_srcdir)/examples/temps-gras-stub.mk -$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml ../../../tools/gras/gras_stub_generator@EXEEXT@ - [ x@EXEEXT@ = x ] || exenv=wine; $$exenv ../../../tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME)_deployment.xml >/dev/null - -../../../tools/gras/gras_stub_generator@EXEEXT@: - make -C ../../../tools/gras/ gras_stub_generator@EXEEXT@ - +# Cruft include $(top_srcdir)/acmacro/dist-files.mk