Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Get ready for release
[simgrid.git] / examples / bandwidth / Makefile.am
1 INCLUDES= -I$(top_srcdir)/include
2 AM_CFLAGS=-g
3 TESTS=test_rl test_sg
4 EXTRA_DIST=bandwidth_deployment.txt $(TESTS)
5
6 if HAVE_SG
7   check_PROGRAMS=bandwidth_maestro bandwidth_sensor bandwidth_simulator
8   
9   bandwidth_simulator_SOURCES=  _bandwidth_simulator.c bandwidth.c
10   bandwidth_simulator_LDADD=    $(top_builddir)/src/libgrassg.la $(top_builddir)/src/amok/libamok.la @LIBS_SimGrid@ 
11 else
12   check_PROGRAMS=bandwidth_maestro bandwidth_sensor
13 endif
14
15 bandwidth_maestro_SOURCES=      _bandwidth_maestro.c bandwidth.c
16 bandwidth_sensor_SOURCES=       _bandwidth_sensor.c bandwidth.c
17
18 bandwidth_maestro_LDADD=        $(top_builddir)/src/libgrasrl.la $(top_builddir)/src/amok/libamok.la
19 bandwidth_sensor_LDADD=         $(top_builddir)/src/libgrasrl.la $(top_builddir)/src/amok/libamok.la
20
21 # cleanup temps
22 MAINTAINERCLEANFILES=_bandwidth_simulator.c _bandwidth_maestro.c _bandwidth_sensor.c
23
24 # generate temps
25 _bandwidth_maestro.c _bandwidth_sensor.c _bandwidth_simulator.c: bandwidth_deployment.txt
26         $(top_srcdir)/examples/gras_stub_generator bandwidth bandwidth_deployment.txt >/dev/null