Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
put the parts common to each gras/amok example in one file and load it from the other...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 23 Jun 2005 15:12:03 +0000 (15:12 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 23 Jun 2005 15:12:03 +0000 (15:12 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1393 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/temps-gras-stub.mk [new file with mode: 0644]

diff --git a/examples/temps-gras-stub.mk b/examples/temps-gras-stub.mk
new file mode 100644 (file)
index 0000000..17ed4ec
--- /dev/null
@@ -0,0 +1,15 @@
+## Generate the temp source files on need
+##
+
+$(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@
+
+##
+## Cleanups
+CLEANFILES = _$(NAME)_simulator.c  $(NAME).Makefile.local $(NAME).Makefile.remote $(NAME).deploy.sh \
+             $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c)
+
+MOSTLYCLEANFILES = $(NAME).trace