X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/feb0e932349c35037f51a93f3185c3d5d21357c7..c87c9d8cb9788a2060058caf618390993166dbf1:/examples/gras/timer/Makefile.am diff --git a/examples/gras/timer/Makefile.am b/examples/gras/timer/Makefile.am new file mode 100644 index 0000000000..d909385190 --- /dev/null +++ b/examples/gras/timer/Makefile.am @@ -0,0 +1,25 @@ +INCLUDES= -I$(top_srcdir)/include +AM_CFLAGS=-g +NAME=timer +PROCESSES= client + +TESTS= test_rl test_sg +EXTRA_DIST=$(NAME)_deployment.xml $(TESTS) + +# AUTOMAKE variable definition +noinst_PROGRAMS=timer_client timer_simulator + +timer_simulator_SOURCES= _timer_simulator.c timer.c +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 +