1# TOPSRCDIR allows to compile this testsuite for a clone (and different revision) of this 2# repository. If the environment variable topsrcdir is the top source directory of the clone, 3# compile this testsuite as: 4# 5# make TOPSRCDIR="$topsrcdir" 6# 7# Finally, if you also leave out TOPSRCDIR and just run 'make' then the testsuite 8# is compiled against the current source tree. 9 10AUTOMAKE_OPTIONS = foreign 11TOPSRCDIR = $(srcdir)/.. 12TOPBUILDDIR = $(builddir)/.. 13DEFINES = 14# include TOPBUILDIR for m4ri_config.h 15AM_CFLAGS = -I$(TOPSRCDIR) -I$(TOPBUILDDIR) -D_XOPEN_SOURCE=600 $(DEFINES) @OPENMP_CFLAGS@ @PAPI_CFLAGS@ 16 17STAGEDIR := $(realpath -s $(TOPBUILDDIR)/.libs) 18AM_LDFLAGS = -L$(STAGEDIR) -Wl,-rpath,$(STAGEDIR) -lm4ri $(LIBM) @PAPI_LDFLAGS@ @PAPI_LIBS@ -no-install 19 20test_smallops_SOURCES = test_smallops.c testing.c testing.h 21 22TESTS = test_elimination \ 23 test_multiplication \ 24 test_trsm \ 25 test_ple \ 26 test_solve \ 27 test_kernel \ 28 test_random \ 29 test_smallops \ 30 test_transpose \ 31 test_colswap \ 32 test_misc \ 33 test_invert \ 34 test_alignment \ 35 test_djb 36 37check_PROGRAMS = $(TESTS) 38 39