Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Massive mv to use cmake as the default compilation infrastructure.
[simgrid.git] / examples / gras / mmrpc / Makefile.am
index 46d2014..01eba1d 100644 (file)
@@ -1,17 +1,24 @@
+# Copyright (c) 2004-2007. The SimGrid team. All right reserved.
+
+# This file is part of the SimGrid project. This is free software:
+# You can redistribute and/or modify it under the terms of the
+# GNU LGPL (v2.1) licence.
+
+
 INCLUDES= -I$(top_srcdir)/include
-TESTS= test_rl test_sg
-EXTRA_DIST=mmrpc_deployment.xml $(TESTS)
+EXTRA_DIST=mmrpc.xml mmrpc.h 
+include $(top_srcdir)/examples/gras/tests.mk
 
 # AUTOMAKE variable definition
 noinst_PROGRAMS=mmrpc_client mmrpc_server mmrpc_simulator
 
-mmrpc_simulator_SOURCES=       _mmrpc_simulator.c mmrpc.c
+mmrpc_simulator_SOURCES=_mmrpc_simulator.c mmrpc_common.c mmrpc_client.c mmrpc_server.c
 mmrpc_simulator_LDADD= $(top_builddir)/src/libsimgrid.la
 
-mmrpc_client_SOURCES=  _mmrpc_client.c mmrpc.c
+mmrpc_client_SOURCES=  _mmrpc_client.c    mmrpc_common.c mmrpc_client.c 
 mmrpc_client_LDADD=    $(top_builddir)/src/libgras.la
 
-mmrpc_server_SOURCES=  _mmrpc_server.c mmrpc.c
+mmrpc_server_SOURCES=  _mmrpc_server.c    mmrpc_common.c                mmrpc_server.c
 mmrpc_server_LDADD=    $(top_builddir)/src/libgras.la
 
 # Take care of generatated sources