X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/146abd86a237e18c43320ed134bc7a3aa20bde00..db9e1e77f7d08a187ac8e5588e42b3358879de9f:/examples/gras/chrono/Makefile.am diff --git a/examples/gras/chrono/Makefile.am b/examples/gras/chrono/Makefile.am index 23d946f34e..0f26124986 100644 --- a/examples/gras/chrono/Makefile.am +++ b/examples/gras/chrono/Makefile.am @@ -1,7 +1,14 @@ +# Copyright (c) 2004-2007. The SimGrid team. All right reserved. + +# This file is part of the SimGrid project. This is free software: +# You can redistribute and/or modify it under the terms of the +# GNU LGPL (v2.1) licence. + + INCLUDES= -I$(top_srcdir)/include AM_CFLAGS=-g -TESTS= test_rl test_sg -EXTRA_DIST=chrono_deployment.xml +EXTRA_DIST=chrono.xml +include $(top_srcdir)/examples/gras/tests.mk # AUTOMAKE variable definition noinst_PROGRAMS=chrono_simulator chrono_multiplier @@ -12,20 +19,10 @@ chrono_simulator_LDADD= $(top_builddir)/src/libsimgrid.la chrono_multiplier_SOURCES= _chrono_multiplier.c chrono.c chrono_multiplier_LDADD= $(top_builddir)/src/libgras.la +# Take care of generatated sources +NAME=chrono +PROCESSES=multiplier +include $(top_srcdir)/examples/temps-gras-stub.mk -# cleanup temps -CLEANFILES = _chrono_simulator.c _chrono_multiplier.c \ - chrono.Makefile.local chrono.Makefile.remote chrono.deploy.sh - -MOSTLYCLEANFILES = chrono.trace - -# generate temps - -# A rule to generate the source file each time the deployment file changes -_chrono_multiplier.c _chrono_simulator.c: chrono_deployment.xml ../../../tools/gras/gras_stub_generator@EXEEXT@ - [ x@EXEEXT@ = x ] || exenv=wine; $$exenv ../../../tools/gras/gras_stub_generator chrono $(srcdir)/chrono_deployment.xml >/dev/null - -../../../tools/gras/gras_stub_generator@EXEEXT@: - make -C ../../../tools/gras/ gras_stub_generator@EXEEXT@ - +# Cruft include $(top_srcdir)/acmacro/dist-files.mk