Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
revalidate the 64bits test outputs after the listener modification
[simgrid.git] / examples / gras / timer / Makefile.am
index 3b90502..abd8db1 100644 (file)
@@ -1,10 +1,15 @@
+# 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
 AM_CFLAGS=-g
-NAME=timer
-PROCESSES= client
 
-TESTS= test_rl test_sg
-EXTRA_DIST=$(NAME)_deployment.xml $(TESTS)
+EXTRA_DIST=$(NAME).xml $(TESTS)
+include $(top_srcdir)/examples/gras/tests.mk
 
 # AUTOMAKE variable definition
 noinst_PROGRAMS=timer_client timer_simulator
@@ -15,12 +20,10 @@ timer_simulator_LDADD=      $(top_builddir)/src/libsimgrid.la
 timer_client_SOURCES=  _timer_client.c timer.c
 timer_client_LDADD=    $(top_builddir)/src/libgras.la
 
-# cleanup temps
-MAINTAINERCLEANFILES = _$(NAME)_simulator.c _$(NAME)_client.c _$(NAME)_server.c 
-
-# generate temps
-
-$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml $(top_srcdir)/tools/gras/gras_stub_generator
-       $(top_srcdir)/tools/gras/gras_stub_generator $(NAME) $(NAME)_deployment.xml >/dev/null
+# Take care of generatated sources
+NAME=timer
+PROCESSES= client
+include $(top_srcdir)/examples/temps-gras-stub.mk
 
+# Cruft
 include $(top_srcdir)/acmacro/dist-files.mk