Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
b7419254f3b920a1a6cee174b203cb584e755ab2
[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              migration/migration.deploy \
21              gtnets/onelink-p.xml \
22              gtnets/onelink-d.xml \
23              gtnets/dogbone-d.xml \
24              gtnets/dogbone-p.xml \
25              gtnets/waxman-d.xml \
26              gtnets/waxman-p.xml \
27              parallel_task/test_ptask_deployment.xml \
28              parallel_task/test_ptask_platform.xml \
29              priority/deployment_priority.xml \
30              properties/deployment_properties.xml \
31              trace/test_trace_integration.xml \
32              trace/file.trace \
33              trace/test1.xml \
34              trace/test2.xml \
35              trace/test3.xml \
36              trace/test4.xml \
37              trace/test5.xml \
38              trace/test6.xml \
39              trace/test7.xml \
40              trace/test8.xml \
41              trace/test9.xml \
42              trace/test10.xml \
43              trace/test11.xml \
44              fafard_state.trace jupiter_state.trace link5_state.trace
45
46
47 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
48
49
50 TESTS = sendrecv/sendrecv_CLM03.tesh \
51         sendrecv/sendrecv_Vegas.tesh \
52         sendrecv/sendrecv_Reno.tesh \
53         suspend/suspend.tesh \
54         masterslave/masterslave.tesh \
55         masterslave/masterslave_forwarder.tesh \
56         masterslave/masterslave_failure.tesh \
57         masterslave/masterslave_bypass.tesh \
58         migration/migration.tesh \
59         parallel_task/parallel_task.tesh \
60         priority/priority.tesh \
61         properties/msg_prop.tesh \
62     trace/trace.tesh \
63         masterslave/masterslave_cpu_ti.tesh
64
65 if HAVE_GTNETS
66   TESTS += gtnets/gtnets.tesh
67 endif
68
69 CLEANFILES = sendrecv/*~ \
70              sendrecv/sendrecv \
71              suspend/*~ \
72              suspend/suspend \
73              masterslave/*~ \
74              masterslave/masterslave_forwarder \
75              masterslave/masterslave_failure \
76              masterslave/masterslave_bypass \
77              parallel_task/parallel_task \
78              parallel_task/test_ptask \
79              priority/priority \
80              properties/msg_prop \
81              trace/test_trace_integration
82
83 if HAVE_GTNETS
84              CLEANFILES += gtnets/gtnets
85 endif
86
87
88
89
90 noinst_PROGRAMS = sendrecv/sendrecv \
91                   suspend/suspend \
92                   masterslave/masterslave_forwarder \
93                   masterslave/masterslave_failure \
94                   masterslave/masterslave_bypass \
95                   migration/migration \
96                   parallel_task/parallel_task \
97                   parallel_task/test_ptask \
98                   priority/priority \
99                   properties/msg_prop \
100                   actions/actions \
101                   trace/test_trace_integration
102
103 if HAVE_GTNETS
104   noinst_PROGRAMS += gtnets/gtnets
105 endif
106
107
108 # property handle example
109 properties_msg_prop_SOURCES = properties/msg_prop.c
110 properties_msg_prop_LDADD   = $(top_builddir)/src/libsimgrid.la
111
112 # actions example
113 actions_actions_SOURCES = actions/actions.c
114 actions_actions_LDADD   = $(top_builddir)/src/libsimgrid.la
115
116 # migration example
117 migration_migration_SOURCES = migration/migration.c
118 migration_migration_LDADD   = $(top_builddir)/src/libsimgrid.la
119
120
121 # sendrecv simple example
122 sendrecv_sendrecv_SOURCES = sendrecv/sendrecv.c
123 sendrecv_sendrecv_LDADD   = $(top_builddir)/src/libsimgrid.la
124
125 # suspend/resume simple example
126 suspend_suspend_SOURCES = suspend/suspend.c
127 suspend_suspend_LDADD   = $(top_builddir)/src/libsimgrid.la
128
129 # parallel task example
130 parallel_task_parallel_task_SOURCES = parallel_task/parallel_task.c
131 parallel_task_parallel_task_LDADD   = $(top_builddir)/src/libsimgrid.la
132 parallel_task_test_ptask_SOURCES = parallel_task/test_ptask.c
133 parallel_task_test_ptask_LDADD   = $(top_builddir)/src/libsimgrid.la
134
135 # playing with priorities example
136 priority_priority_SOURCES = priority/priority.c
137 priority_priority_LDADD   = $(top_builddir)/src/libsimgrid.la
138
139 # master/slave application example using a forwarder module
140 masterslave_masterslave_forwarder_SOURCES = masterslave/masterslave_forwarder.c
141 masterslave_masterslave_forwarder_LDADD   = $(top_builddir)/src/libsimgrid.la
142
143 # master/slave application example with failures
144 masterslave_masterslave_failure_SOURCES = masterslave/masterslave_failure.c
145 masterslave_masterslave_failure_LDADD   = $(top_builddir)/src/libsimgrid.la
146
147 # bypass the surf xml parser
148 masterslave_masterslave_bypass_SOURCES = masterslave/masterslave_bypass.c
149 masterslave_masterslave_bypass_LDADD   = $(top_builddir)/src/libsimgrid.la
150
151 # bypass the surf xml parser
152 trace_test_trace_integration_SOURCES = trace/test_trace_integration.c
153 trace_test_trace_integration_LDADD   = $(top_builddir)/src/libsimgrid.la
154
155 # verify if the GTNETS feature is working
156 if HAVE_GTNETS
157 gtnets_gtnets_SOURCES  = gtnets/gtnets.c
158 gtnets_gtnets_LDADD   = $(top_builddir)/src/libsimgrid.la
159 else
160   EXTRA_DIST+= gtnets/gtnets.c
161 endif
162
163 EXTRA_DIST+=$(TESTS)
164 include $(top_srcdir)/acmacro/dist-files.mk