Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
win32 cross-compil needs love
[simgrid.git] / examples / gras / chrono / Makefile.am
index 973e7efb6f2ac7f6e4a1aea5955a2baa313c3b98..211f8404eec2cc2ac75d61a85d61360cae64dc1a 100644 (file)
@@ -1,6 +1,6 @@
 INCLUDES= -I$(top_srcdir)/include
 AM_CFLAGS=-g
-#TESTS= test_rl test_sg
+TESTS= test_rl test_sg
 EXTRA_DIST=chrono_deployment.xml
 
 # AUTOMAKE variable definition
@@ -19,6 +19,7 @@ CLEANFILES= _chrono_simulator.c _chrono_multiplier.c
 # generate temps
 
 # A rule to generate the source file each time the deployment file changes
-_chrono_multiplier.c _chrono_simulator.c: chrono_deployment.xml $(top_srcdir)/tools/gras/gras_stub_generator
-       $(top_srcdir)/tools/gras/gras_stub_generator chrono chrono_deployment.xml >/dev/null
+_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
 
+include $(top_srcdir)/acmacro/dist-files.mk