Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
win32 cross-compil needs love
[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 ../../../tools/gras/gras_stub_generator@EXEEXT@
24         [ x@EXEEXT@ = x ] || exenv=wine; $$exenv ../../../tools/gras/gras_stub_generator $(NAME) $(srcdir)/$(NAME)_deployment.xml >/dev/null
25
26 include $(top_srcdir)/acmacro/dist-files.mk