Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
first draft of the action runner
[simgrid.git] / examples / msg / 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 = msg_platform.xml \
12              small_platform.xml \
13              small_platform_with_failures.xml \
14              jupiter_state.trace link5_state.trace \
15              sendrecv/platform_sendrecv.xml \
16              sendrecv/deployment_sendrecv.xml \
17              suspend/deployment_suspend.xml \
18              masterslave/deployment_masterslave_forwarder.xml \
19              masterslave/deployment_masterslave.xml \
20              gtnets/r-n200-f50-s4-2-d.xml \
21              gtnets/onelink-p.xml \
22              gtnets/onelink-d.xml \
23              gtnets/r-n200-f50-s4-2-p.xml \
24              gtnets/dogbone-d.xml \
25              gtnets/dogbone-p.xml \
26              parallel_task/test_ptask_deployment.xml \
27              parallel_task/test_ptask_platform.xml \
28              priority/deployment_priority.xml \
29              properties/deployment_properties.xml
30
31
32 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
33
34
35 TESTS = sendrecv/sendrecv_CLM03.tesh \
36         sendrecv/sendrecv_Vegas.tesh \
37         sendrecv/sendrecv_Reno.tesh \
38         suspend/suspend.tesh \
39         masterslave/masterslave.tesh \
40         masterslave/masterslave_forwarder.tesh \
41         masterslave/masterslave_failure.tesh \
42         masterslave/masterslave_bypass.tesh \
43         parallel_task/parallel_task.tesh \
44         priority/priority.tesh \
45         properties/msg_prop.tesh
46
47
48 if HAVE_SDP
49   BROKEN_TESTS = sendrecv/sendrecv_SDP.tesh
50 endif
51 if HAVE_GTNETS
52   TESTS += gtnets/gtnets.tesh
53 endif
54
55 CLEANFILES = sendrecv/*~ \
56              sendrecv/sendrecv \
57              suspend/*~ \
58              suspend/suspend \
59              masterslave/*~ \
60              masterslave/masterslave_forwarder \
61              masterslave/masterslave_failure \
62              masterslave/masterslave_bypass \
63              parallel_task/parallel_task \
64              parallel_task/test_ptask \
65              priority/priority \
66              properties/msg_prop
67
68 if HAVE_GTNETS
69              CLEANFILES += gtnets/gtnets gtnets/gtnets_kayo
70 endif
71
72
73
74
75 noinst_PROGRAMS = sendrecv/sendrecv \
76                   suspend/suspend \
77                   masterslave/masterslave_forwarder \
78                   masterslave/masterslave_failure \
79                   masterslave/masterslave_bypass \
80                   parallel_task/parallel_task \
81                   parallel_task/test_ptask \
82                   priority/priority \
83                   properties/msg_prop \
84                   actions/actions
85
86 if HAVE_GTNETS
87   noinst_PROGRAMS += gtnets/gtnets gtnets/gtnets_kayo
88 endif
89
90
91 # property handle example
92 properties_msg_prop_SOURCES = properties/msg_prop.c
93 properties_msg_prop_LDADD   = $(top_builddir)/src/libsimgrid.la
94
95 # actions example
96 actions_actions_SOURCES = actions/actions.c
97 actions_actions_LDADD   = $(top_builddir)/src/libsimgrid.la
98
99
100 # sendrecv simple example
101 sendrecv_sendrecv_SOURCES = sendrecv/sendrecv.c
102 sendrecv_sendrecv_LDADD   = $(top_builddir)/src/libsimgrid.la
103
104 # suspend/resume simple example
105 suspend_suspend_SOURCES = suspend/suspend.c
106 suspend_suspend_LDADD   = $(top_builddir)/src/libsimgrid.la
107
108 # parallel task example
109 parallel_task_parallel_task_SOURCES = parallel_task/parallel_task.c
110 parallel_task_parallel_task_LDADD   = $(top_builddir)/src/libsimgrid.la
111 parallel_task_test_ptask_SOURCES = parallel_task/test_ptask.c
112 parallel_task_test_ptask_LDADD   = $(top_builddir)/src/libsimgrid.la
113
114 # playing with priorities example
115 priority_priority_SOURCES = priority/priority.c
116 priority_priority_LDADD   = $(top_builddir)/src/libsimgrid.la
117
118 # master/slave application example using a forwarder module
119 masterslave_masterslave_forwarder_SOURCES = masterslave/masterslave_forwarder.c
120 masterslave_masterslave_forwarder_LDADD   = $(top_builddir)/src/libsimgrid.la
121
122 # master/slave application example with failures
123 masterslave_masterslave_failure_SOURCES = masterslave/masterslave_failure.c
124 masterslave_masterslave_failure_LDADD   = $(top_builddir)/src/libsimgrid.la
125
126 # bypass the surf xml parser
127 masterslave_masterslave_bypass_SOURCES = masterslave/masterslave_bypass.c
128 masterslave_masterslave_bypass_LDADD   = $(top_builddir)/src/libsimgrid.la
129
130 # verify if the GTNETS feature is working
131 if HAVE_GTNETS
132 gtnets_gtnets_SOURCES  = gtnets/gtnets.c
133 gtnets_gtnets_kayo_SOURCES  = gtnets/gtnets_kayo.c
134 gtnets_gtnets_LDADD   = $(top_builddir)/src/libsimgrid.la
135 gtnets_gtnets_kayo_LDADD   = $(top_builddir)/src/libsimgrid.la
136 else
137   EXTRA_DIST+= gtnets/gtnets.c gtnets/gtnets_kayo.c
138 endif
139
140 EXTRA_DIST+=$(TESTS)
141 include $(top_srcdir)/acmacro/dist-files.mk