Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
No need to install the test programs, right?
[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         parallel_task/parallel_task.tesh \
30         priority/priority.tesh
31
32
33 if HAVE_SDP
34   BROKEN_TESTS = sendrecv/sendrecv_SDP.tesh
35 endif
36 if HAVE_GTNETS
37 endif
38
39 CLEANFILES = sendrecv/*~ \
40              sendrecv/sendrecv \
41              suspend/*~ \
42              suspend/suspend \
43              masterslave/*~ \
44              masterslave/masterslave \
45              masterslave/masterslave_forwarder \
46              masterslave/masterslave_bypass \
47              parallel_task/parallel_task \
48              priority/priority
49
50 if HAVE_GTNETS
51              CLEANFILES += gtnets/gtnets 
52 endif
53
54
55
56
57 noinst_PROGRAMS = sendrecv/sendrecv \
58                   suspend/suspend \
59                   masterslave/masterslave \
60                   masterslave/masterslave_forwarder \
61                   masterslave/masterslave_failure \
62                   masterslave/masterslave_bypass \
63                   parallel_task/parallel_task \
64                   priority/priority
65
66 if HAVE_GTNETS
67   noinst_PROGRAMS += gtnets/gtnets 
68 endif
69
70
71
72 # sendrecv simple example
73 sendrecv_sendrecv_SOURCES = sendrecv/sendrecv.c
74 sendrecv_sendrecv_LDADD   = $(top_builddir)/src/libsimgrid.la
75
76 # suspend/resume simple example
77 suspend_suspend_SOURCES = suspend/suspend.c
78 suspend_suspend_LDADD   = $(top_builddir)/src/libsimgrid.la
79
80 # parallel task example
81 parallel_task_parallel_task_SOURCES = parallel_task/parallel_task.c
82 parallel_task_parallel_task_LDADD   = $(top_builddir)/src/libsimgrid.la
83
84 # playing with priorities example
85 priority_priority_SOURCES = priority/priority.c
86 priority_priority_LDADD   = $(top_builddir)/src/libsimgrid.la
87
88 # master/slave application example
89 masterslave_masterslave_SOURCES = masterslave/masterslave.c
90 masterslave_masterslave_LDADD   = $(top_builddir)/src/libsimgrid.la
91
92 # master/slave application example using a forwarder module
93 masterslave_masterslave_forwarder_SOURCES = masterslave/masterslave_forwarder.c
94 masterslave_masterslave_forwarder_LDADD   = $(top_builddir)/src/libsimgrid.la
95
96 # master/slave application example with failures
97 masterslave_masterslave_failure_SOURCES = masterslave/masterslave_failure.c
98 masterslave_masterslave_failure_LDADD   = $(top_builddir)/src/libsimgrid.la
99
100 # bypass the surf xml parser
101 masterslave_masterslave_bypass_SOURCES = masterslave/masterslave_bypass.c
102 masterslave_masterslave_bypass_LDADD   = $(top_builddir)/src/libsimgrid.la
103
104 # verify if the GTNETS feature is working
105 if HAVE_GTNETS
106 gtnets_gtnets_SOURCES = gtnets/gtnets.c
107 gtnets_gtnets_LDADD   = $(top_builddir)/src/libsimgrid.la
108 else
109   EXTRA_DIST+= gtnets/gtnets.c
110 endif
111
112 include $(top_srcdir)/acmacro/dist-files.mk