1## Process this file with automake to produce Makefile.in
2
3## Since these programs are defined in the TESTS variable, they will be run
4## when 'make check' is invoked.
5TESTS = AllTests
6check_PROGRAMS = $(TESTS)
7
8## AllTests is dependent on these files being available (in the event of a
9## VPATH build, they should be copied to the build directory).
10check_DATA = TestDDaceUserInputSamplerData
11
12## AllTests is dependent upon these sources being compiled.
13## Add TestMarsAnalyzer to the link object list iff ENABLE_STANDALONE has
14## been set!
15AllTests_SOURCES = AllTests.cpp \
16                   arrcmp.cpp \
17                   suite.cpp \
18                   TestDDaceArraySampler.cpp \
19                   TestDDaceBoxBehnkenSampler.cpp \
20                   TestDDaceCentralCompositeSampler.cpp \
21                   TestDDaceFactorialSampler.cpp \
22                   TestDDaceLHSampler.cpp \
23                   TestDDaceOALHSampler.cpp \
24                   TestDDaceOASampler.cpp \
25                   TestDDaceRandomSampler.cpp \
26                   TestDDaceSamplePoint.cpp  \
27                   TestDDaceSampler.cpp \
28                   TestDDaceUserInputSampler.cpp \
29                   TestDistribution.cpp \
30                   TestFactor.cpp \
31                   TestMainEffectsAnalyzer.cpp \
32                   TestMainEffectsConverter.cpp \
33                   TestMainEffectsExcelOutput.cpp
34if ENABLE_STANDALONE
35AllTests_SOURCES += TestMarsAnalyzer.cpp
36endif
37AllTests_SOURCES += TestMean.cpp \
38		    TestNormalDistribution.cpp
39if ENABLE_STANDALONE
40AllTests_SOURCES += TestOneWayANOVA.cpp
41endif
42AllTests_SOURCES += TestPseudoRandom.cpp \
43		    test.cpp \
44		    TestResponse.cpp \
45		    TestStdDeviation.cpp \
46		    TestUniformDistribution.cpp
47
48## We need to link against the DDACE and F77 libraries.
49AllTests_LDADD = $(top_builddir)/src/libddace.la $(FLIBS)
50if WITH_GSL
51AllTests_LDADD += $(GSL_LDFLAGS)
52endif
53
54## Include directory for DDACE headers.
55INCLUDES = -I$(top_srcdir)/include
56
57## Remove any other files created during a build in this directory.
58CLEANFILES = funcApprox.dat marsOutput.txt runTestLog.txt *_Log *.xml
59
60## Remove the Makefile.in when doing 'make maintainer-clean'.
61MAINTAINERCLEANFILES = Makefile.in
62
63## make clean extension to handle compiler cache directories and the like.
64clean-local:
65	-rm -rf ii_files/ SunWS_cache/ so_locations
66
67## Other files which must be included in the distribution.
68EXTRA_DIST = TestDDaceUserInputSamplerData
69