Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding a masterslave example with failures.
[simgrid.git] / examples / msg / Makefile.am
1 INCLUDES  = -I$(top_srcdir)/include
2 AM_CFLAGS = -g
3
4 EXTRA_DIST = msg_platform.xml \
5              small_platform.xml \
6              sendrecv/platform_sendrecv.xml \
7              sendrecv/deployment_sendrecv.xml \
8              suspend/deployment_suspend.xml \
9              masterslave/deployment_masterslave_forwarder.xml \
10              masterslave/deployment_masterslave.xml \
11              gtnets/r-n200-f50-s4-2-d.xml \
12              gtnets/onelink-p.xml \
13              gtnets/onelink-d.xml \
14              gtnets/r-n200-f50-s4-2-p.xml \
15              gtnets/dogbone-d.xml \
16              gtnets/dogbone-p.xml
17
18
19 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
20
21
22 TESTS = sendrecv/sendrecv_KCCFLN05.tesh \
23         sendrecv/sendrecv_Vegas.tesh \
24         sendrecv/sendrecv_Reno.tesh \
25         suspend/suspend.tesh \
26         masterslave/masterslave.tesh \
27         masterslave/masterslave_forwarder.tesh
28         #masterslave/masterslave_bypass.tesh
29
30 if HAVE_SDP
31   BROKEN_TESTS = sendrecv/sendrecv_SDP.tesh
32 endif
33 if HAVE_GTNETS
34 endif
35
36 CLEANFILES = sendrecv/*~ \
37              sendrecv/sendrecv \
38              suspend/*~ \
39              suspend/suspend \
40              masterslave/*~ \
41              masterslave/masterslave \
42              masterslave/masterslave_forwarder 
43              #masterslave/masterslave_bypass
44
45 if HAVE_GTNETS
46              CLEANFILES += gtnets/gtnets 
47 endif
48
49
50
51
52 bin_PROGRAMS = sendrecv/sendrecv \
53                suspend/suspend \
54                masterslave/masterslave \
55                masterslave/masterslave_forwarder \
56                masterslave/masterslave_failure
57                #masterslave/masterslave_bypass
58
59 if HAVE_GTNETS
60                bin_PROGRAMS += gtnets/gtnets 
61 endif
62
63
64
65 # sendrecv simple example
66 sendrecv_sendrecv_SOURCES = sendrecv/sendrecv.c
67 sendrecv_sendrecv_LDADD   = $(top_builddir)/src/libsimgrid.la
68
69 # suspend/resume simple example
70 suspend_suspend_SOURCES = suspend/suspend.c
71 suspend_suspend_LDADD   = $(top_builddir)/src/libsimgrid.la
72
73 # master/slave application example
74 masterslave_masterslave_SOURCES = masterslave/masterslave.c
75 masterslave_masterslave_LDADD   = $(top_builddir)/src/libsimgrid.la
76
77 # master/slave application example using a forwarder module
78 masterslave_masterslave_forwarder_SOURCES = masterslave/masterslave_forwarder.c
79 masterslave_masterslave_forwarder_LDADD   = $(top_builddir)/src/libsimgrid.la
80
81 # master/slave application example with failures
82 masterslave_masterslave_failure_SOURCES = masterslave/masterslave_failure.c
83 masterslave_masterslave_failure_LDADD   = $(top_builddir)/src/libsimgrid.la
84
85 # bypass the surf xml parser
86 #masterslave_masterslave_bypass_SOURCES = masterslave/masterslave_bypass.c
87 #masterslave_masterslave_bypass_LDADD   = $(top_builddir)/src/libsimgrid.la
88
89 # verify if the GTNETS feature is working
90 if HAVE_GTNETS
91 gtnets_gtnets_SOURCES = gtnets/gtnets.c
92 gtnets_gtnets_LDADD   = $(top_builddir)/src/libsimgrid.la
93 else
94   EXTRA_DIST+= gtnets/gtnets.c
95 endif
96
97 include $(top_srcdir)/acmacro/dist-files.mk