]> git.proxmox.com Git - ceph.git/blame - ceph/src/erasure-code/jerasure/gf-complete/src/Makefile.am
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / erasure-code / jerasure / gf-complete / src / Makefile.am
CommitLineData
7c673cae
FG
1# GF-Complete 'core' AM file
2# Creates the library
3
4AUTOMAKE_OPTIONS = subdir-objects
5
6AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
7
8# avoid using SIMD_FLAGS for code that calls strcmp as new gcc
9# versions will use SIMD for the strcmp implementation. Instead
10# we create a static library just for gf_method that is not compiled
11# with SIMD_FLAGS, this static library will get linked into gf_complete.so
12noinst_LTLIBRARIES = libgf_util.la
13libgf_util_la_SOURCES = gf_method.c
14libgf_util_la_CFLAGS = -O3 -fPIC -Wsign-compare
15
16# we narrowly use SIMD_FLAGS for code that needs it
17lib_LTLIBRARIES = libgf_complete.la
18libgf_complete_la_SOURCES = gf.c gf_wgen.c gf_w4.c gf_w8.c gf_w16.c gf_w32.c \
19 gf_w64.c gf_w128.c gf_rand.c gf_general.c gf_cpu.c
20libgf_complete_la_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC -Wsign-compare
21libgf_complete_la_LIBADD = libgf_util.la
22
23if HAVE_NEON
24libgf_complete_la_SOURCES += neon/gf_w4_neon.c \
25 neon/gf_w8_neon.c \
26 neon/gf_w16_neon.c \
27 neon/gf_w32_neon.c \
28 neon/gf_w64_neon.c
29endif
30
31libgf_complete_la_LDFLAGS = -version-info 1:0:0
32