Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get ride of the testing to XML, since SG is now compiled without it
[simgrid.git] / examples / ping / Makefile.am
1 DISTCLEANFILES=Makefile.in
2 INCLUDES= -I$(top_srcdir)/src/include -g
3 EXTRA_DIST=test_rl test_sg ping_deployment.txt 
4 TESTS=test_rl test_sg
5
6 # AUTOMAKE variable definition
7 if HAVE_SG
8  noinst_PROGRAMS=ping_simulator ping_client ping_server 
9
10  ping_simulator_SOURCES=_ping_simulator.c ping.c
11  ping_simulator_LDADD=  $(top_srcdir)/src/base/libgrassg.a @LIBS_SimGrid@
12 else
13  noinst_PROGRAMS=ping_client ping_server
14 endif
15
16 ping_client_SOURCES=    _ping_client.c ping.c
17 ping_server_SOURCES=    _ping_server.c ping.c
18
19 ping_client_LDADD=      $(top_srcdir)/src/base/libgrasrl.a
20 ping_server_LDADD=      $(top_srcdir)/src/base/libgrasrl.a
21
22 # cleanup temps
23 CLEANFILES= _ping_simulator.c _ping_client.c _ping_server.c 
24
25 # generate temps
26 _ping_client.c _ping_server.c _ping_simulator.c: ping_deployment.txt $(top_srcdir)/src/examples/gras_stub_generator
27         $(top_srcdir)/src/examples/gras_stub_generator ping ping_deployment.txt >/dev/null
28