summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 2bbbca1382f6eb36b25c44ccc50eed19f2132b25 (plain)
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
SUBDIRS = builtin/xor_codes

lib_LTLIBRARIES = liberasurecode.la

INCLUDES = \
		-I$(top_srcdir)/include/erasurecode \
		-I$(top_srcdir)/include/xor_codes

# liberasurecode params
liberasurecode_la_SOURCES = \
		erasurecode.c \
		erasurecode_helpers.c \
		erasurecode_preprocessing.c \
		erasurecode_postprocessing.c \
		utils/chksum/crc32.c \
		utils/chksum/alg_sig.c \
		backends/xor/flat_xor_hd.c \
		backends/jerasure/jerasure_rs_vand.c

liberasurecode_la_CPPFLAGS = -Werror
liberasurecode_la_LIBADD = \
		builtin/xor_codes/libXorcode.la -lpthread -lm

# Version format  (C - A).(A).(R) for C:R:A input
liberasurecode_la_LDFLAGS = -rpath '$(libdir)' -version-info 9:10:9