2012-03-25 20:11:11 -04:00
|
|
|
# Copyright (C) 2009, 2010, 2012 Rocky Bernstein <rocky@gnu.org>
|
2009-12-26 11:20:55 -05:00
|
|
|
#
|
|
|
|
|
# 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/>.
|
|
|
|
|
|
2012-03-25 20:11:11 -04:00
|
|
|
INCLUDES = $(LIBCDIO_CFLAGS) $(LIBISO9660_CFLAGS)
|
2010-01-20 20:57:43 -05:00
|
|
|
DATA_DIR = $(abs_top_srcdir)/test/data
|
|
|
|
|
|
2011-12-11 10:24:55 -05:00
|
|
|
abs_path_SOURCES = abs_path.c
|
|
|
|
|
abs_path_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
abs_path_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
|
|
|
|
|
2010-01-24 06:01:24 -05:00
|
|
|
bincue_SOURCES = helper.c bincue.c
|
2010-01-20 20:57:43 -05:00
|
|
|
bincue_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
bincue_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-26 11:20:55 -05:00
|
|
|
|
2010-01-24 06:01:24 -05:00
|
|
|
cdrdao_SOURCES = helper.c cdrdao.c
|
2010-01-23 23:20:12 -05:00
|
|
|
cdrdao_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
cdrdao_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
|
|
|
|
|
2010-01-06 02:15:32 -05:00
|
|
|
freebsd_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
freebsd_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2010-01-06 02:15:32 -05:00
|
|
|
|
2010-01-16 16:44:12 -05:00
|
|
|
realpath_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
realpath_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2010-01-14 05:58:08 -05:00
|
|
|
|
2010-01-24 06:01:24 -05:00
|
|
|
gnu_linux_SOURCES= helper.c gnu_linux.c
|
2009-12-26 15:01:26 -05:00
|
|
|
gnu_linux_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
gnu_linux_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-26 15:01:26 -05:00
|
|
|
|
2010-02-10 22:30:37 -05:00
|
|
|
mmc_read_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
mmc_read_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
|
|
|
|
|
|
|
|
|
mmc_write_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
mmc_write_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-31 13:28:11 -05:00
|
|
|
|
2010-01-24 06:01:24 -05:00
|
|
|
nrg_SOURCES = helper.c nrg.c
|
2010-01-21 02:58:19 -05:00
|
|
|
nrg_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
nrg_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
|
|
|
|
|
2009-12-26 15:01:26 -05:00
|
|
|
osx_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
osx_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-26 11:20:55 -05:00
|
|
|
|
|
|
|
|
solaris_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
solaris_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-26 11:20:55 -05:00
|
|
|
|
2009-12-26 15:01:26 -05:00
|
|
|
win32_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
win32_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-26 14:21:21 -05:00
|
|
|
|
2010-01-21 02:58:19 -05:00
|
|
|
check_PROGRAMS = \
|
2011-12-11 10:24:55 -05:00
|
|
|
abs_path bincue cdrdao freebsd gnu_linux \
|
2010-02-10 22:30:37 -05:00
|
|
|
mmc_read mmc_write nrg \
|
2010-01-21 02:58:19 -05:00
|
|
|
osx realpath solaris win32
|
2009-12-26 11:20:55 -05:00
|
|
|
|
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
|
|
2010-01-21 02:58:19 -05:00
|
|
|
EXTRA_DIST = \
|
|
|
|
|
bincue.c.in \
|
2010-01-24 06:01:24 -05:00
|
|
|
helper.c \
|
2010-02-09 03:31:28 -05:00
|
|
|
helper.h \
|
2010-01-23 23:20:12 -05:00
|
|
|
cdrdao.c.in \
|
2010-01-21 02:58:19 -05:00
|
|
|
nrg.c.in
|
2010-01-20 21:14:22 -05:00
|
|
|
|
2010-01-21 02:58:19 -05:00
|
|
|
MOSTLYCLEANFILES = \
|
|
|
|
|
$(check_PROGRAMS) \
|
|
|
|
|
core core.* *.dump cdda-orig.wav cdda-try.wav *.raw
|
2009-12-26 11:20:55 -05:00
|
|
|
|
|
|
|
|
test: check-am
|
|
|
|
|
|