X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ac8124e5fcee52dc950d676fda4a219408ea8a6..1210f6edb4a08e7ad2c4b8fa8aa3a4d74183deb5:/examples/gras/timer/Makefile.am?ds=sidebyside diff --git a/examples/gras/timer/Makefile.am b/examples/gras/timer/Makefile.am index 3b90502ef9..5b812ae594 100644 --- a/examples/gras/timer/Makefile.am +++ b/examples/gras/timer/Makefile.am @@ -1,7 +1,5 @@ INCLUDES= -I$(top_srcdir)/include AM_CFLAGS=-g -NAME=timer -PROCESSES= client TESTS= test_rl test_sg EXTRA_DIST=$(NAME)_deployment.xml $(TESTS) @@ -15,12 +13,10 @@ timer_simulator_LDADD= $(top_builddir)/src/libsimgrid.la timer_client_SOURCES= _timer_client.c timer.c timer_client_LDADD= $(top_builddir)/src/libgras.la -# cleanup temps -MAINTAINERCLEANFILES = _$(NAME)_simulator.c _$(NAME)_client.c _$(NAME)_server.c - -# generate temps - -$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml $(top_srcdir)/tools/gras/gras_stub_generator - $(top_srcdir)/tools/gras/gras_stub_generator $(NAME) $(NAME)_deployment.xml >/dev/null +# Take care of generatated sources +NAME=timer +PROCESSES= client +include $(top_srcdir)/examples/temps-gras-stub.mk +# Cruft include $(top_srcdir)/acmacro/dist-files.mk