1 INCLUDES= -I$(top_srcdir)/include
3 EXTRA_DIST=spawn.xml spawn.h
4 include $(top_srcdir)/examples/gras/tests.mk
6 # AUTOMAKE variable definition
7 noinst_PROGRAMS=spawn_child spawn_father spawn_simulator
9 spawn_simulator_SOURCES= _spawn_simulator.c spawn_father.c spawn_child.c spawn_common.c
10 spawn_simulator_LDADD= $(top_builddir)/src/libsimgrid.la
12 spawn_child_SOURCES= _spawn_child.c spawn_child.c spawn_common.c
13 spawn_child_LDADD= $(top_builddir)/src/libgras.la
15 spawn_father_SOURCES= _spawn_father.c spawn_father.c spawn_child.c spawn_common.c
16 spawn_father_LDADD= $(top_builddir)/src/libgras.la
18 # Take care of generatated sources
19 # (manually since the child is not in the deployment file, so we need an extra argument to the stub generator)
21 _spawn_father.c _spawn_child.c _spawn_simulator.c: $(srcdir)/spawn.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
22 [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ --extra-process=child spawn $(srcdir)/spawn.xml
24 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
25 make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
27 CLEANFILES = _spawn_simulator.c spawn.mk _spawn_father.c _spawn_child.c
28 MOSTLYCLEANFILES = spawn.trace
31 include $(top_srcdir)/acmacro/dist-files.mk