Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update Makefile.am so that all tesh files are distributed as well as other xml/trace...
[simgrid.git] / examples / amok / Makefile.am
index d1968c2..3a7f223 100644 (file)
@@ -1,3 +1,10 @@
+# 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
 
@@ -37,7 +44,7 @@ bandwidth_bandwidth_sensor_LDADD=     $(LDADD_RL)
 
 # Take care of generatated sources
 bandwidth/_bandwidth_simulator.c bandwidth/_bandwidth_sensor.c bandwidth/_bandwidth_maestro.c : bandwidth/bandwidth.c bandwidth/bandwidth.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
-       cd bandwidth; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ bandwidth $(srcdir)/../bandwidth/bandwidth.xml
+       cd bandwidth; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ bandwidth ../$(top_srcdir)/examples/amok/bandwidth/bandwidth.xml
 
 ###################
 # saturate tests #
@@ -65,11 +72,12 @@ saturate_saturate_sensor_LDADD=     $(LDADD_RL)
 
 # Take care of generatated sources
 saturate/_saturate_simulator.c saturate/_saturate_sensor.c saturate/_saturate_maestro.c : saturate/saturate.c saturate/saturate.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
-       cd saturate; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ saturate $(srcdir)/../saturate/saturate.xml
+       cd saturate; ../$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ saturate ../$(top_srcdir)/examples/amok/saturate/saturate.xml
 
 
 
 #########
 # Cruft #
 #########
+EXTRA_DIST=$(TESTS)
 include $(top_srcdir)/acmacro/dist-files.mk