blob: 9b521deeb1504e5b6ab5ad8038c6df22ecdea3ee (
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
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
|
# $Id: Makefile.am,v 1.27 2008/08/31 13:38:22 flameeyes Exp $
#
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
# Copyright (C) 1998 Monty xiphmont@mit.edu
#
# 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/>.
transform = s,cd-paranoia,@CDPARANOIA_NAME@,
if BUILD_CD_PARANOIA
SUBDIRS = doc
GETOPT_C = getopt1.c getopt.c
EXTRA_DIST = usage.txt.in usage-copy.h pod2c.pl \
doc/FAQ.txt doc/overlapdef.txt $(GETOPT_C) getopt.h
noinst_HEADERS = header.h report.h $(GETOPT_H)
cd_paranoia_SOURCES = cd-paranoia.c \
buffering_write.c buffering_write.h \
header.c report.c usage.h utils.h version.h $(GETOPT_C)
cd_paranoia_LDADD = $(LIBCDIO_LIBS) $(LIBCDIO_CDDA_LIBS) $(LIBCDIO_PARANOIA_LIBS) $(LTLIBICONV)
cd_paranoia_DEPENDENCIES = $(LIBCDIO_DEPS) $(LIBCDIO_CDDA_LIBS) $(LIBCDIO_PARANOIA_LIBS)
bin_PROGRAMS = cd-paranoia
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS)
cd-paranoia.$(OBJEXT): usage.h
#: create header file used in help text: the "usage" help.
if HAVE_PERL
usage.h: usage.txt $(srcdir)/pod2c.pl
$(PERL) $(srcdir)/pod2c.pl usage.txt >usage.h
else
usage.h: usage-copy.h
cp usage-copy.h $@
endif
endif
MOSTLYCLEANFILES = usage.h usage.txt
|