Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
compile with -g; do not compile by default, but only on make check
[simgrid.git] / examples / bandwidth / Makefile.am
1 DISTCLEANFILES=Makefile.in
2 INCLUDES= -I$(top_srcdir)/src/include
3 AM_CFLAGS=-g
4
5 check_PROGRAMS=bandwidth_simulator bandwidth_maestro bandwidth_sensor
6
7 bandwidth_simulator_SOURCES=    _bandwidth_simulator.c bandwidth.c
8 bandwidth_maestro_SOURCES=      _bandwidth_maestro.c bandwidth.c
9 bandwidth_sensor_SOURCES=       _bandwidth_sensor.c bandwidth.c
10
11
12 bandwidth_simulator_LDADD=      $(top_srcdir)/src/base/libgrassg.a $(top_srcdir)/src/modules/libgrasmodules.a @LIBS_SimGrid@ 
13 bandwidth_maestro_LDADD=        $(top_srcdir)/src/base/libgrasrl.a $(top_srcdir)/src/modules/libgrasmodules.a
14 bandwidth_sensor_LDADD=         $(top_srcdir)/src/base/libgrasrl.a $(top_srcdir)/src/modules/libgrasmodules.a
15
16 # cleanup temps
17 CLEANFILES=_bandwidth_simulator.c _bandwidth_maestro.c _bandwidth_sensor.c
18
19 # generate temps
20 _bandwidth_maestro.c _bandwidth_sensor.c _bandwidth_simulator.c: bandwidth_deployment.txt
21         $(top_srcdir)/src/examples/gras_stub_generator bandwidth bandwidth_deployment.txt >/dev/null