X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dcba8eddcfba041ff11c94eb1e8fff4cfd25550d..a66f9dfbda188f773b18fb9dfdb26ae9956503cc:/examples/bandwidth/Makefile.am diff --git a/examples/bandwidth/Makefile.am b/examples/bandwidth/Makefile.am index d920698f8a..f172e6c350 100644 --- a/examples/bandwidth/Makefile.am +++ b/examples/bandwidth/Makefile.am @@ -1,20 +1,23 @@ -DISTCLEANFILES=Makefile.in -INCLUDES= -I$(top_srcdir)/src/include - -noinst_PROGRAMS=bandwidth_simulator bandwidth_maestro bandwidth_sensor +INCLUDES= -I$(top_srcdir)/include +AM_CFLAGS=-g +TESTS=test_rl test_sg +EXTRA_DIST=bandwidth_deployment.txt $(TESTS) +noinst_PROGRAMS=bandwidth_maestro bandwidth_sensor bandwidth_simulator + bandwidth_simulator_SOURCES= _bandwidth_simulator.c bandwidth.c -bandwidth_maestro_SOURCES= _bandwidth_maestro.c bandwidth.c -bandwidth_sensor_SOURCES= _bandwidth_sensor.c bandwidth.c +bandwidth_simulator_LDADD= $(top_builddir)/src/libsimgrid.la $(top_builddir)/src/amok/libamok.la +bandwidth_maestro_SOURCES= _bandwidth_maestro.c bandwidth.c +bandwidth_maestro_LDADD= $(top_builddir)/src/libgras.la $(top_builddir)/src/amok/libamok.la -bandwidth_simulator_LDADD= $(top_srcdir)/src/Core/libgrassg.a $(top_srcdir)/src/modules/libgrasmodules.a @LIBS_SimGrid@ @LIBS_XML@ -bandwidth_maestro_LDADD= $(top_srcdir)/src/Core/libgrasrl.a $(top_srcdir)/src/modules/libgrasmodules.a -bandwidth_sensor_LDADD= $(top_srcdir)/src/Core/libgrasrl.a $(top_srcdir)/src/modules/libgrasmodules.a +bandwidth_sensor_SOURCES= _bandwidth_sensor.c bandwidth.c +bandwidth_sensor_LDADD= $(top_builddir)/src/libgras.la $(top_builddir)/src/amok/libamok.la -# cleanup temps -CLEANFILES=_bandwidth_simulator.c _bandwidth_maestro.c _bandwidth_sensor.c +# Take care of generatated sources +NAME=bandwidth +PROCESSES= maestro sensor +include $(top_srcdir)/examples/temps-gras-stub.mk -# generate temps -_bandwidth_maestro.c _bandwidth_sensor.c _bandwidth_simulator.c: bandwidth_deployment.txt - $(top_srcdir)/src/examples/gras_stub_generator bandwidth bandwidth_deployment.txt >/dev/null +# Cruft +include $(top_srcdir)/acmacro/dist-files.mk