Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adapt to API changes on gras_os_sleep
[simgrid.git] / examples / gras / timer / Makefile.am
1 INCLUDES= -I$(top_srcdir)/include
2 AM_CFLAGS=-g
3 NAME=timer
4 PROCESSES= client
5
6 TESTS= test_rl test_sg
7 EXTRA_DIST=$(NAME)_deployment.xml $(TESTS)
8
9 # AUTOMAKE variable definition
10 noinst_PROGRAMS=timer_client timer_simulator
11
12 timer_simulator_SOURCES=        _timer_simulator.c timer.c
13 timer_simulator_LDADD=  $(top_builddir)/src/libsimgrid.la
14
15 timer_client_SOURCES=   _timer_client.c timer.c
16 timer_client_LDADD=     $(top_builddir)/src/libgras.la
17
18 # cleanup temps
19 MAINTAINERCLEANFILES = _$(NAME)_simulator.c _$(NAME)_client.c _$(NAME)_server.c 
20
21 # generate temps
22
23 $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml $(top_srcdir)/tools/gras/gras_stub_generator
24         $(top_srcdir)/tools/gras/gras_stub_generator $(NAME) $(NAME)_deployment.xml >/dev/null
25