-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsrc-Makefile.am
44 lines (31 loc) · 1.02 KB
/
src-Makefile.am
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
# bin_PROGRAMS=pveclib_test
lib_LTLIBRARIES = libpvec.la
libpvec_la_SOURCES = tipowof10.c decpowof2.c
EXTRA_DIST =
# This rule is necessary because pvec_test needs to statically link
# .libs/libpvec.a and if make is executed in parallel (-jN) the
# pveclib_test rule may be run before .libs/libpvec.a is built.
.libs/libpvec.a: libpvec.la
# pveclib definitions
pveclibincludedir = $(includedir)/pveclib
# pveclib_test definitions
pveclib_testincludedir = $(includedir)/testsuite
# The headers in 'plibvec_HEADERS' are meant to be the ones installed
# on 'make install'
pveclibinclude_HEADERS = \
vec_common_ppc.h \
vec_int128_ppc.h
pveclib_la_INCLUDES = \
$(pveclibinclude_HEADERS)
pveclib_test_la_INCLUDES = \
$(pveclibinclude_HEADERS)
EXTRA_DIST += $(pveclib_la_INCLUDES)
# Test programs invoked with 'make check'
TESTS =
TESTS += pveclib_test
pveclib_test_SOURCES = \
testsuite/pveclib_test.c \
testsuite/arith128_print.c \
testsuite/arith128_test_i128.c
pveclib_test_LDADD = .libs/libpvec.a
check_PROGRAMS = $(TESTS)