File: Makefile.am

package info (click to toggle)
recutils 1.9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,328 kB
  • sloc: ansic: 80,756; sh: 11,649; yacc: 1,978; makefile: 323; lex: 225; sed: 16
file content (89 lines) | stat: -rw-r--r-- 2,457 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# utils/ Makefile.am
# GNU rec

# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
# 2018, 2019, 2020, 2022 Jose E. Marchesi

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

if COMPILE_MDB2REC
   MDB2REC = mdb2rec
else
   MDB2REC =
endif

bin_PROGRAMS = recinf recsel recins recdel recset recfix recfmt \
               csv2rec rec2csv $(MDB2REC)

COMMONSRC = recutl.h recutl.c
COMMONLIBS = $(top_builddir)/lib/librecutils.la $(top_builddir)/src/librec.la

if CRYPT
  COMMONLIBS += $(LTLIBGCRYPT)
endif

AM_CFLAGS =
if USE_COVERAGE
  AM_CFLAGS += -fprofile-arcs -ftest-coverage
endif

AM_CPPFLAGS = -I$(top_builddir)/lib \
              -I$(top_srcdir)/lib -I$(top_srcdir)/src \
              -I$(top_srcdir)/libcsv -DLOCALEDIR=\"$(localedir)\" \
              -DMDB_DATETIME=$(MDB_DATETIME)

recinf_SOURCES = $(COMMONSRC) \
                 recinf.c
recinf_LDADD = $(COMMONLIBS)

recsel_SOURCES = $(COMMONSRC) \
                 recsel.c
recsel_LDADD = $(COMMONLIBS)

recins_SOURCES = $(COMMONSRC) \
                 recins.c
recins_LDADD = $(COMMONLIBS)

recdel_SOURCES = $(COMMONSRC) \
                 recdel.c
recdel_LDADD = $(COMMONLIBS)

recset_SOURCES = $(COMMONSRC) \
                 recset.c
recset_LDADD = $(COMMONLIBS)

recfix_SOURCES = $(COMMONSRC) \
                 recfix.c
recfix_LDADD = $(COMMONLIBS)

recfmt_SOURCES = $(COMMONSRC) \
                 recfmt.c
recfmt_LDADD = $(COMMONLIBS)

csv2rec_SOURCES = $(COMMONSRC) \
                  csv2rec.c
csv2rec_LDADD = $(COMMONLIBS) \
                $(top_builddir)/libcsv/libcsv.la

rec2csv_SOURCES = $(COMMONSRC) \
                  rec2csv.c
rec2csv_LDADD = $(COMMONLIBS) \
                $(top_builddir)/libcsv/libcsv.la

mdb2rec_SOURCES = $(COMMONSRC) \
                  mdb2rec.c
mdb2rec_CFLAGS = $(GLIB_CFLAGS)
mdb2rec_LDADD = $(COMMONLIBS) $(MDBLIBS)

# End of Makefile.am