Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Gtnets file that cope with previous Kayo Fujiwara experiments. The bandwidth share...
[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
85 if HAVE_GTNETS
86   noinst_PROGRAMS += gtnets/gtnets gtnets/gtnets_kayo
87 endif
88
89
90 # property handle example
91 properties_msg_prop_SOURCES = properties/msg_prop.c
92 properties_msg_prop_LDADD   = $(top_builddir)/src/libsimgrid.la
93
94
95 # sendrecv simple example
96 sendrecv_sendrecv_SOURCES = sendrecv/sendrecv.c
97 sendrecv_sendrecv_LDADD   = $(top_builddir)/src/libsimgrid.la
98
99 # suspend/resume simple example
100 suspend_suspend_SOURCES = suspend/suspend.c
101 suspend_suspend_LDADD   = $(top_builddir)/src/libsimgrid.la
102
103 # parallel task example
104 parallel_task_parallel_task_SOURCES = parallel_task/parallel_task.c
105 parallel_task_parallel_task_LDADD   = $(top_builddir)/src/libsimgrid.la
106 parallel_task_test_ptask_SOURCES = parallel_task/test_ptask.c
107 parallel_task_test_ptask_LDADD   = $(top_builddir)/src/libsimgrid.la
108
109 # playing with priorities example
110 priority_priority_SOURCES = priority/priority.c
111 priority_priority_LDADD   = $(top_builddir)/src/libsimgrid.la
112
113 # master/slave application example using a forwarder module
114 masterslave_masterslave_forwarder_SOURCES = masterslave/masterslave_forwarder.c
115 masterslave_masterslave_forwarder_LDADD   = $(top_builddir)/src/libsimgrid.la
116
117 # master/slave application example with failures
118 masterslave_masterslave_failure_SOURCES = masterslave/masterslave_failure.c
119 masterslave_masterslave_failure_LDADD   = $(top_builddir)/src/libsimgrid.la
120
121 # bypass the surf xml parser
122 masterslave_masterslave_bypass_SOURCES = masterslave/masterslave_bypass.c
123 masterslave_masterslave_bypass_LDADD   = $(top_builddir)/src/libsimgrid.la
124
125 # verify if the GTNETS feature is working
126 if HAVE_GTNETS
127 gtnets_gtnets_SOURCES  = gtnets/gtnets.c
128 gtnets_gtnets_kayo_SOURCES  = gtnets/gtnets_kayo.c
129 gtnets_gtnets_LDADD   = $(top_builddir)/src/libsimgrid.la
130 gtnets_gtnets_kayo_LDADD   = $(top_builddir)/src/libsimgrid.la
131 else
132   EXTRA_DIST+= gtnets/gtnets.c gtnets/gtnets_kayo.c
133 endif
134
135 EXTRA_DIST+=$(TESTS)
136 include $(top_srcdir)/acmacro/dist-files.mk