X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cb7d8706b79be9387ba60abdc12b536a9e8727b4..d95d93298e8bb71b312af6d0d9ad70e6b1644e74:/examples/gras/spawn/Makefile.in diff --git a/examples/gras/spawn/Makefile.in b/examples/gras/spawn/Makefile.in index 49541b90a0..1a0b4e83f0 100644 --- a/examples/gras/spawn/Makefile.in +++ b/examples/gras/spawn/Makefile.in @@ -53,8 +53,7 @@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/acmacro/dist-files.mk \ - $(top_srcdir)/examples/gras/tests.mk \ - $(top_srcdir)/examples/temps-gras-stub.mk + $(top_srcdir)/examples/gras/tests.mk noinst_PROGRAMS = spawn_child$(EXEEXT) spawn_father$(EXEEXT) \ spawn_simulator$(EXEEXT) subdir = examples/gras/spawn @@ -253,19 +252,13 @@ spawn_child_SOURCES = _spawn_child.c spawn_child.c spawn_common spawn_child_LDADD = $(top_builddir)/src/libgras.la spawn_father_SOURCES = _spawn_father.c spawn_father.c spawn_child.c spawn_common.c spawn_father_LDADD = $(top_builddir)/src/libgras.la - -# Take care of generatated sources -NAME = spawn -PROCESSES = child father -CLEANFILES = _$(NAME)_simulator.c $(NAME).mk $(NAME).Makefile.local $(NAME).Makefile.remote $(NAME).deploy.sh \ - $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) - -MOSTLYCLEANFILES = $(NAME).trace +CLEANFILES = _spawn_simulator.c spawn.mk _spawn_father.c _spawn_child.c +MOSTLYCLEANFILES = spawn.trace all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/examples/gras/tests.mk $(top_srcdir)/examples/temps-gras-stub.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/examples/gras/tests.mk $(top_srcdir)/acmacro/dist-files.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -616,8 +609,11 @@ force: .PHONY: test_sg_32 test_SG_64 test_rl -$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME).xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ - [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME).xml +# Take care of generatated sources +# (manually since the child is not in the deployment file, so we need an extra argument to the stub generator) + +_spawn_father.c _spawn_child.c _spawn_simulator.c: $(srcdir)/spawn.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ + [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ --extra-process=child spawn $(srcdir)/spawn.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@: make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@