1 # Copyright (c) 2004-2007. The SimGrid team. All right reserved.
3 # This file is part of the SimGrid project. This is free software:
4 # You can redistribute and/or modify it under the terms of the
5 # GNU LGPL (v2.1) licence.
8 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/src/include
11 CLEANFILES = *~ test a.out *.o testgraph.xml testgraph.dot
12 DISTCLEANFILES = gras/.libs/* xbt/.libs/* surf/.libs/* msg/.libs/* simdag/.libs/*
14 EXTRA_DIST=run_tests.in \
16 surf/trace_A.txt surf/trace_B.txt surf/trace_A_failure.txt surf/platform.xml\
17 simdag/availability_tremblay.txt simdag/small_platform_variable.xml
27 surf/maxmin_bench surf/lmm_usage \
28 surf/trace_usage surf/surf_usage surf/surf_usage2
30 simdag_tests = simdag/sd_test
32 check_PROGRAMS = $(xbt_tests) $(SG_tests) $(simdag_tests)
33 check_SCRIPTS = run_tests
36 test: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
38 valgrind: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
41 # LDADD_UTILS is still a separate var to distinguish core tester from RL tester
42 LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la
43 LDADD_RL=$(abs_top_builddir)/src/libgras.la
45 xbt_log_usage_LDADD= $(LDADD_RL)
47 xbt_heap_bench_LDADD= $(LDADD_RL)
49 xbt_graphxml_usage_LDADD= $(LDADD_SG)
52 surf_maxmin_bench_LDADD= $(LDADD_SG)
53 surf_lmm_usage_LDADD= $(LDADD_SG)
54 surf_trace_usage_LDADD= $(LDADD_SG)
55 surf_surf_usage_LDADD= $(LDADD_SG)
56 surf_surf_usage2_LDADD= $(LDADD_SG)
58 simdag_sd_test_LDADD= $(LDADD_SG)
60 include $(top_srcdir)/acmacro/dist-files.mk