Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revalidate the output after the change inducing not waiting before launching the...
[simgrid.git] / examples / gras / synchro / Makefile.am
1 INCLUDES= -I$(top_srcdir)/include -I$(top_srcdir)/src/include
2
3 EXTRA_DIST=synchro.xml
4 include $(top_srcdir)/examples/gras/tests.mk
5
6 # AUTOMAKE variable definition
7 noinst_PROGRAMS=synchro_philosopher synchro_simulator
8
9 synchro_simulator_SOURCES=      _synchro_simulator.c philosopher.c
10 synchro_simulator_LDADD=        $(top_builddir)/src/libsimgrid.la
11
12 synchro_philosopher_SOURCES=    _synchro_philosopher.c  philosopher.c
13 synchro_philosopher_LDADD=      $(top_builddir)/src/libgras.la
14
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)
17
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
20
21 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
22         make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
23
24 CLEANFILES = _synchro_simulator.c synchro.mk _synchro_philosopher.c
25 MOSTLYCLEANFILES = synchro.trace
26
27 # Cruft
28 include $(top_srcdir)/acmacro/dist-files.mk