Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bddf4e4effbc49a525adcd6919d0e298749eeb1d
[simgrid.git] / teshsuite / Makefile.am
1 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/src/include
2 AM_CFLAGS = -g
3
4
5 CLEANFILES = gras/datadesc_usage.out datadesc_usage.out
6 EXTRA_DIST=run_tests.in \
7   gras/datadesc.little32 gras/datadesc.little32_4 \
8   gras/datadesc.little64\
9   gras/datadesc.big32 gras/datadesc.big32_8_4 gras/datadesc.big32_2 \
10   gras/mk_datadesc_structs.pl
11   
12
13 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
14 TESTS = xbt/parallel_log_crashtest.tesh     \
15         gras/trp_tcp_usage.tesh             \
16         gras/trp_file_usage.tesh            \
17         gras/datadesc_mem.tesh          \
18         gras/datadesc_rw.tesh           \
19         gras/datadesc_r_little32.tesh   \
20         gras/datadesc_r_little32_4.tesh \
21         gras/datadesc_r_little64.tesh   
22         
23 # Data sets still to regenerate:
24 #       gras/datadesc_usage_little32_4.tesh 
25 #           gras/datadesc_usage --read ./gras/datadesc.big32;     \
26 #           gras/datadesc_usage --read ./gras/datadesc.big32_8_4; \
27 #           gras/datadesc_usage --read ./gras/datadesc.big32_2;
28
29
30 noinst_PROGRAMS = \
31        xbt/parallel_log_crashtest \
32        \
33        gras/trp_tcp_client   gras/trp_tcp_server   \
34        gras/trp_file_client  gras/trp_file_server  \
35        gras/datadesc_usage   
36                                
37 LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la
38 LDADD_RL=$(abs_top_builddir)/src/libgras.la
39
40 # Try parallel logs 
41 xbt_parallel_log_crashtest_LDADD = $(LDADD_RL)
42
43 # Try raw communication facilities
44 gras_trp_tcp_client_LDADD=     $(LDADD_RL)
45 gras_trp_tcp_server_LDADD=     $(LDADD_RL)
46 gras_trp_file_client_LDADD=    $(LDADD_RL)
47 gras_trp_file_server_LDADD=    $(LDADD_RL)
48
49 # Try structured communication facilities
50 gras_datadesc_usage_SOURCES=   gras/datadesc_usage.c gras/datadesc_structs.c
51 gras_datadesc_usage_LDADD=     $(LDADD_RL)
52
53 gras/datadesc_structs.c: gras/mk_datadesc_structs.pl
54         cd gras ; perl ../$(top_srcdir)/teshsuite/gras/mk_datadesc_structs.pl > datadesc_structs.c
55
56
57 include $(top_srcdir)/acmacro/dist-files.mk