Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revalidate some forgotten 32bit outputs after gras listener improvement
[simgrid.git] / examples / amok / Makefile.am
1 # Copyright (c) 2004-2007. The SimGrid team. All right reserved.
2
3 # This file is part of the SimGrid project. This is free software:
4 # You can redistribute and/or modify it under the terms of the
5 # GNU LGPL (v2.1) licence.
6
7
8 INCLUDES= -I$(top_srcdir)/include
9 AM_CFLAGS=-g
10
11 EXTRA_DIST=
12 noinst_PROGRAMS=
13
14 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
15 TESTS=
16 XFAIL_TESTS=
17
18 LDADD_SG=$(top_builddir)/src/libsimgrid.la
19 LDADD_RL=$(top_builddir)/src/libgras.la
20
21 ###################
22 # Bandwidth tests #
23 ###################
24 EXTRA_DIST+=bandwidth/bandwidth.xml
25 if GRAS_ARCH_32_BITS
26   TESTS += bandwidth/bandwidth_rl.tesh bandwidth/bandwidth_sg_32.tesh
27 else
28   TESTS += bandwidth/bandwidth_rl.tesh bandwidth/bandwidth_sg_64.tesh
29 endif
30 XFAIL_TESTS+=bandwidth/bandwidth_rl.tesh
31
32 noinst_PROGRAMS += \
33   bandwidth/bandwidth_maestro   \
34   bandwidth/bandwidth_sensor    \
35   bandwidth/bandwidth_simulator
36   
37 bandwidth_bandwidth_simulator_SOURCES=  bandwidth/bandwidth.c bandwidth/_bandwidth_simulator.c
38 bandwidth_bandwidth_maestro_SOURCES=    bandwidth/bandwidth.c bandwidth/_bandwidth_maestro.c
39 bandwidth_bandwidth_sensor_SOURCES=     bandwidth/bandwidth.c bandwidth/_bandwidth_sensor.c 
40
41 bandwidth_bandwidth_simulator_LDADD=    $(LDADD_SG)
42 bandwidth_bandwidth_maestro_LDADD=      $(LDADD_RL)
43 bandwidth_bandwidth_sensor_LDADD=       $(LDADD_RL)
44
45
46 # Take care of generatated sources
47 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@
48         cd bandwidth; $(abs_top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ bandwidth $(abs_top_srcdir)/examples/amok/bandwidth/bandwidth.xml
49
50 ###################
51 # saturate tests #
52 ###################
53 EXTRA_DIST+=saturate/saturate.xml
54
55 if GRAS_ARCH_32_BITS
56   TESTS       += saturate/saturate_rl.tesh saturate/saturate_sg_32.tesh
57 else
58   TESTS       += saturate/saturate_rl.tesh saturate/saturate_sg_64.tesh
59 endif
60 XFAIL_TESTS += saturate/saturate_rl.tesh 
61
62
63 noinst_PROGRAMS += \
64   saturate/saturate_maestro   \
65   saturate/saturate_sensor    \
66   saturate/saturate_simulator
67   
68 saturate_saturate_simulator_SOURCES=    saturate/saturate.c saturate/_saturate_simulator.c
69 saturate_saturate_maestro_SOURCES=      saturate/saturate.c saturate/_saturate_maestro.c
70 saturate_saturate_sensor_SOURCES=       saturate/saturate.c saturate/_saturate_sensor.c 
71
72 saturate_saturate_simulator_LDADD=      $(LDADD_SG)
73 saturate_saturate_maestro_LDADD=        $(LDADD_RL)
74 saturate_saturate_sensor_LDADD=         $(LDADD_RL)
75
76
77 # Take care of generatated sources
78 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@
79         cd saturate; $(abs_top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ saturate $(abs_top_srcdir)/examples/amok/saturate/saturate.xml
80
81
82
83 #########
84 # Cruft #
85 #########
86 EXTRA_DIST+=$(TESTS)
87 include $(top_srcdir)/acmacro/dist-files.mk