1 INCLUDES= -I$(top_srcdir)/include -I$(top_srcdir)/src/include
4 include $(top_srcdir)/examples/gras/tests.mk
6 # AUTOMAKE variable definition
7 noinst_PROGRAMS=synchro_philosopher synchro_simulator
9 synchro_simulator_SOURCES= _synchro_simulator.c philosopher.c
10 synchro_simulator_LDADD= $(top_builddir)/src/libsimgrid.la
12 synchro_philosopher_SOURCES= _synchro_philosopher.c philosopher.c
13 synchro_philosopher_LDADD= $(top_builddir)/src/libgras.la
15 # Take care of generatated sources
16 # (manually since the child is not in the deployment file, so we need an extra argument to the stub generator)
18 _synchro_simulator.c _synchro_philosopher.c: $(srcdir)/synchro.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
19 [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ synchro $(srcdir)/synchro.xml
21 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
22 make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
24 CLEANFILES = _synchro_simulator.c synchro.mk _synchro_philosopher.c
25 MOSTLYCLEANFILES = synchro.trace
28 include $(top_srcdir)/acmacro/dist-files.mk