1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
AUTOMAKE_OPTIONS = foreign subdir-objects
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS=${SIMD_FLAGS} ${OPENMP_CFLAGS} ${DEBUG_FLAGS} ${M4RIE_M4RI_CFLAGS} ${M4RI_CFLAGS}
lib_LTLIBRARIES = libm4rie.la
libm4rie_la_SOURCES = m4rie/gf2e.c \
m4rie/mzed.c \
m4rie/newton_john.c \
m4rie/echelonform.c \
m4rie/strassen.c \
m4rie/mzd_slice.c \
m4rie/mzd_poly.c \
m4rie/mzd_ptr.c \
m4rie/karatsuba.c \
m4rie/blm.c \
m4rie/trsm.c \
m4rie/ple.c \
m4rie/conversion.c \
m4rie/conversion_slice8.c \
m4rie/conversion_slice16.c \
m4rie/conversion_cling8.c \
m4rie/conversion_cling16.c \
m4rie/mzd_slice_intro.inl \
m4rie/mzd_slice_outro.inl \
m4rie/mzed_intro.inl \
m4rie/mzed_outro.inl \
m4rie/trsm.inl
pkgincludesubdir = $(includedir)/m4rie
pkgincludesub_HEADERS = m4rie/gf2x.h \
m4rie/gf2e.h \
m4rie/mzed.h \
m4rie/m4rie.h \
m4rie/m4ri_functions.h \
m4rie/newton_john.h \
m4rie/echelonform.h \
m4rie/strassen.h \
m4rie/mzd_slice.h \
m4rie/mzd_poly.h \
m4rie/mzd_ptr.h \
m4rie/blm.h \
m4rie/trsm.h \
m4rie/ple.h \
m4rie/permutation.h \
m4rie/conversion.h
libm4rie_la_LDFLAGS = -release 0.0.$(RELEASE) -no-undefined ${M4RIE_M4RI_LDFLAGS}
libm4rie_la_LIBADD = -lm4ri
#testing
TESTCFLAGS = ${AM_CFLAGS} @CFLAGS@ ${M4RIE_M4RI_CFLAGS} ${M4RI_CFLAGS} -I./tests
TESTLIBADD = -lm4ri -lm4rie -lm
TESTLDADD =
TESTLDFLAGS = ${M4RIE_M4RI_LDFLAGS}
check_PROGRAMS = test_trsm test_elimination test_multiplication test_smallops test_ple
test_elimination_SOURCES = tests/test_elimination.c tests/testing.h
test_elimination_LDADD = ${TESTLDADD} ${TESTLIBADD}
test_elimination_LDFLAGS = ${TESTLDFLAGS}
test_elimination_CFLAGS = ${TESTCFLAGS}
test_multiplication_SOURCES = tests/test_multiplication.c tests/testing.h
test_multiplication_LDADD = ${TESTLDADD} ${TESTLIBADD}
test_multiplication_LDFLAGS = ${TESTLDFLAGS}
test_multiplication_CFLAGS = ${TESTCFLAGS}
test_smallops_SOURCES = tests/test_smallops.c tests/testing.h
test_smallops_LDADD = ${TESTLDADD} ${TESTLIBADD}
test_smallops_LDFLAGS = ${TESTLDFLAGS}
test_smallops_CFLAGS = ${TESTCFLAGS}
test_trsm_SOURCES = tests/test_trsm.c tests/testing.h
test_trsm_LDADD = ${TESTLDADD} ${TESTLIBADD}
test_trsm_LDFLAGS = ${TESTLDFLAGS}
test_trsm_CFLAGS = ${TESTCFLAGS}
test_ple_SOURCES = tests/test_ple.c tests/testing.h
test_ple_LDADD = ${TESTLDADD} ${TESTLIBADD}
test_ple_LDFLAGS = ${TESTLDFLAGS}
test_ple_CFLAGS = ${TESTCFLAGS}
TESTS = test_trsm test_elimination test_multiplication test_smallops test_ple
# benchmarketing
SUBDIRS = . bench
clean-local:
(cd tests; make clean; cd ..)
|