+# 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=can_deployment.xml $(TESTS)
+EXTRA_DIST=can_tests.c types.h can.xml $(TESTS)
# AUTOMAKE variable definition
-noinst_PROGRAMS=can_node can_simulator
+noinst_PROGRAMS=can_node can_start_war can_simulator
-can_simulator_SOURCES= _can_simulator.c can.c
+can_simulator_SOURCES= _can_simulator.c can.c # can_tests.c
can_simulator_LDADD= $(top_builddir)/src/libsimgrid.la
-can_node_SOURCES= _can_node.c can.c
+can_node_SOURCES= _can_node.c can.c # can_tests.c
can_node_LDADD= $(top_builddir)/src/libgras.la
+can_start_war_SOURCES= _can_node.c can.c # can_tests.c
+can_start_war_LDADD= $(top_builddir)/src/libgras.la
+
# Take care of generatated sources
NAME=can
-PROCESSES=node
+PROCESSES=node start_war
include $(top_srcdir)/examples/temps-gras-stub.mk
# Cruft