aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile.am
blob: 9427bf78cd44f8ba1950f9a710b13b5dc676d6f1 (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
27
28
29
30
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

lib_LTLIBRARIES = librefop.la

librefop_la_SOURCES = \
	fileop.c file-util.c \
	static-configurator.c \
	libredundancyfileop.c 

librefop_la_LBSADD = 

librefop_la_CFLAGS = \
	-g \
	-I$(top_srcdir)/include \
	-D_GNU_SOURCE 

librefop_la_LDFLAGS = \
	-export-symbols libredundancyfileop.sym -version-info 0:0:0

# configure option 
if ENABLE_ADDRESS_SANITIZER
CFLAGS   += -fsanitize=address
endif

if ENABLE_GCOV
CFLAGS   += -coverage
endif

CLEANFILES = *.gcda *.gcno