Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup MSG after simulation
[simgrid.git] / examples / saturate / Makefile.am
1 INCLUDES= -I$(top_srcdir)/include
2 AM_CFLAGS=-g
3
4 TESTS=test_rl test_sg
5 EXTRA_DIST=saturate_deployment.txt $(TESTS)
6
7 if HAVE_SG
8  check_PROGRAMS=saturate_simulator saturate_sensor saturate_maestro
9
10  saturate_simulator_SOURCES=_saturate_simulator.c saturate.c
11  saturate_simulator_LDADD=      $(top_builddir)/src/libgrassg.la @LIBS_SimGrid@ # $(top_srcdir)/src/modules/libgrasmodules.la
12 else
13  check_PROGRAMS=saturate_sensor saturate_maestro
14 endif
15
16 saturate_sensor_SOURCES=          _saturate_sensor.c saturate.c
17 saturate_maestro_SOURCES=         _saturate_maestro.c saturate.c
18
19 saturate_sensor_LDADD=            $(top_srcdir)/src/libgrasrl.la # $(top_srcdir)/src/modules/libgrasmodules.a
20 saturate_maestro_LDADD=           $(top_srcdir)/src/libgrasrl.la # $(top_srcdir)/src/modules/libgrasmodules.a
21
22 # cleanup templates
23 CLEANFILES= _saturate_simulator.c _saturate_sensor.c _saturate_maestro.c 
24
25 # generate templates 
26 _saturate_sensor.c _saturate_maestro.c _saturate_simulator.c: saturate_deployment.txt
27         $(top_srcdir)/examples/gras_stub_generator saturate saturate_deployment.txt >/dev/null
28
29
30
31