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
28 surf/maxmin_bench surf/lmm_usage \
29 surf/trace_usage surf/surf_usage surf/surf_usage2
31 simdag_tests = simdag/sd_test
33 check_PROGRAMS = $(xbt_tests) $(SG_tests) $(simdag_tests)
34 check_SCRIPTS = run_tests
37 test: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
39 valgrind: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
42 # LDADD_UTILS is still a separate var to distinguish core tester from RL tester
43 LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la
44 LDADD_RL=$(abs_top_builddir)/src/libgras.la
46 xbt_log_usage_LDADD= $(LDADD_RL)
48 xbt_heap_bench_LDADD= $(LDADD_RL)
50 xbt_graphxml_usage_LDADD= $(LDADD_SG)
52 xbt_context_usage_LDADD= $(LDADD_SG)
54 surf_maxmin_bench_LDADD= $(LDADD_SG)
55 surf_lmm_usage_LDADD= $(LDADD_SG)
56 surf_trace_usage_LDADD= $(LDADD_SG)
57 surf_surf_usage_LDADD= $(LDADD_SG)
58 surf_surf_usage2_LDADD= $(LDADD_SG)
60 simdag_sd_test_LDADD= $(LDADD_SG)
62 include $(top_srcdir)/acmacro/dist-files.mk