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/>.
25 bin_PROGRAMS = recinf recsel recins recdel recset recfix recfmt \
26 csv2rec rec2csv $(MDB2REC)
28 COMMONSRC = recutl.h recutl.c
29 COMMONLIBS = $(top_builddir)/lib/librecutils.la $(top_builddir)/src/librec.la
32 COMMONLIBS += $(LTLIBGCRYPT)
37 AM_CFLAGS += -fprofile-arcs -ftest-coverage
40 AM_CPPFLAGS = -I$(top_builddir)/lib \
41 -I$(top_srcdir)/lib -I$(top_srcdir)/src \
42 -I$(top_srcdir)/libcsv -DLOCALEDIR=\"$(localedir)\" \
43 -DMDB_DATETIME=$(MDB_DATETIME)
45 recinf_SOURCES = $(COMMONSRC) \
47 recinf_LDADD = $(COMMONLIBS)
49 recsel_SOURCES = $(COMMONSRC) \
51 recsel_LDADD = $(COMMONLIBS)
53 recins_SOURCES = $(COMMONSRC) \
55 recins_LDADD = $(COMMONLIBS)
57 recdel_SOURCES = $(COMMONSRC) \
59 recdel_LDADD = $(COMMONLIBS)
61 recset_SOURCES = $(COMMONSRC) \
63 recset_LDADD = $(COMMONLIBS)
65 recfix_SOURCES = $(COMMONSRC) \
67 recfix_LDADD = $(COMMONLIBS)
69 recfmt_SOURCES = $(COMMONSRC) \
71 recfmt_LDADD = $(COMMONLIBS)
73 csv2rec_SOURCES = $(COMMONSRC) \
75 csv2rec_LDADD = $(COMMONLIBS) \
76 $(top_builddir)/libcsv/libcsv.la
78 rec2csv_SOURCES = $(COMMONSRC) \
80 rec2csv_LDADD = $(COMMONLIBS) \
81 $(top_builddir)/libcsv/libcsv.la
83 mdb2rec_SOURCES = $(COMMONSRC) \
85 mdb2rec_CFLAGS = $(GLIB_CFLAGS)
86 mdb2rec_LDADD = $(COMMONLIBS) $(MDBLIBS)