4 # Copyright (C) 2009-2019 Jose E. Marchesi
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 lib_LTLIBRARIES = librec.la
21 include_HEADERS = rec.h
23 librec_la_SOURCES = rec.c \
49 librec_la_SOURCES += rec-crypt.c
51 librec_la_SOURCES += rec-crypt-dummy.c
54 BUILT_SOURCES = rec-sex-tab.h
59 AM_CFLAGS += -fprofile-arcs -ftest-coverage
62 AM_LDFLAGS = -no-undefined
63 AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \
64 -DLOCALEDIR=\"$(localedir)\"
65 librec_la_LDFLAGS = -version-info 1:0:0
66 librec_la_LIBADD = $(top_builddir)/lib/librecutils.la \
70 librec_la_LIBADD += $(LTLIBGCRYPT)
74 AM_CPPFLAGS += -DREMOTE_DESCRIPTORS
75 librec_la_LIBADD += $(CURLLIBS)
79 AM_CPPFLAGS += -DUUID_TYPE
80 librec_la_LIBADD += $(UUIDLIBS)