Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
revalidate the 64bits test outputs after the listener modification
[simgrid.git] / examples / gras / spawn / Makefile.am
1 # Copyright (c) 2004-2007. The SimGrid team. All right reserved.
2
3 # This file is part of the SimGrid project. This is free software:
4 # You can redistribute and/or modify it under the terms of the
5 # GNU LGPL (v2.1) licence.
6
7
8 INCLUDES= -I$(top_srcdir)/include
9
10 EXTRA_DIST=spawn.xml spawn.h
11 include $(top_srcdir)/examples/gras/tests.mk
12
13 # AUTOMAKE variable definition
14 noinst_PROGRAMS=spawn_child spawn_father spawn_simulator
15
16 spawn_simulator_SOURCES=        _spawn_simulator.c spawn_father.c spawn_child.c spawn_common.c
17 spawn_simulator_LDADD=  $(top_builddir)/src/libsimgrid.la
18
19 spawn_child_SOURCES=    _spawn_child.c                  spawn_child.c spawn_common.c
20 spawn_child_LDADD=      $(top_builddir)/src/libgras.la
21
22 spawn_father_SOURCES=   _spawn_father.c  spawn_father.c spawn_child.c spawn_common.c
23 spawn_father_LDADD=     $(top_builddir)/src/libgras.la
24
25 # Take care of generatated sources
26 # (manually since the child is not in the deployment file, so we need an extra argument to the stub generator)
27
28 _spawn_father.c _spawn_child.c _spawn_simulator.c: $(srcdir)/spawn.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
29         [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ --extra-process=child spawn $(srcdir)/spawn.xml
30
31 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
32         make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
33
34 CLEANFILES = _spawn_simulator.c spawn.mk _spawn_father.c _spawn_child.c
35 MOSTLYCLEANFILES = spawn.trace
36
37 # Cruft
38 include $(top_srcdir)/acmacro/dist-files.mk