2010-01-20 20:57:43 -05:00
|
|
|
# Copyright (C) 2009, 2010 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/>.
|
|
|
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS) $(LIBISO9660_CFLAGS)
|
2010-01-20 20:57:43 -05:00
|
|
|
DATA_DIR = $(abs_top_srcdir)/test/data
|
|
|
|
|
|
|
|
|
|
bincue_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
|
|
|
|
bincue_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-26 11:20:55 -05:00
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2009-12-31 13:28:11 -05:00
|
|
|
mmc_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
2010-01-20 20:57:43 -05:00
|
|
|
mmc_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"
|
2009-12-31 13:28:11 -05:00
|
|
|
|
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-20 21:14:22 -05:00
|
|
|
hack = bincue freebsd gnu_linux mmc osx realpath solaris win32
|
|
|
|
|
check_PROGRAMS = $(hack)
|
2009-12-26 11:20:55 -05:00
|
|
|
|
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
|
|
2010-01-20 21:14:22 -05:00
|
|
|
EXTRA_DIST = bincue.c.in
|
|
|
|
|
|
2009-12-26 11:20:55 -05:00
|
|
|
MOSTLYCLEANFILES = core core.* *.dump cdda-orig.wav cdda-try.wav *.raw
|
|
|
|
|
|
|
|
|
|
test: check-am
|
|
|
|
|
|