2004-05-09 23:06:44 +00:00
|
|
|
# $Id: Makefile.am,v 1.24 2004/05/09 23:06:44 rocky Exp $
|
2003-03-24 19:01:09 +00:00
|
|
|
#
|
2004-02-29 04:41:57 +00:00
|
|
|
# Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
2003-03-24 19:01:09 +00: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 2 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, write to the Free Software
|
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
#
|
|
|
|
|
####################################################
|
|
|
|
|
# Things to regression testing
|
|
|
|
|
####################################################
|
|
|
|
|
#
|
2003-10-03 01:10:50 +00:00
|
|
|
#
|
|
|
|
|
# There's a problem with doing make distcheck for testdefault.
|
|
|
|
|
# A reminder of why I hate automake.
|
2004-05-07 10:57:50 +00:00
|
|
|
hack = check_sizeof testassert testischar testiso9660 testtoc
|
2003-10-03 01:10:50 +00:00
|
|
|
noinst_PROGRAMS = $(hack) testdefault
|
2003-08-17 05:31:19 +00:00
|
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS)
|
|
|
|
|
|
2004-05-07 10:57:50 +00:00
|
|
|
check_sizeof_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS)
|
2003-09-29 02:56:22 +00:00
|
|
|
testassert_LDADD = $(LIBCDIO_LIBS)
|
|
|
|
|
testdefault_LDADD = $(LIBCDIO_LIBS)
|
|
|
|
|
testischar_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS)
|
|
|
|
|
testiso9660_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS)
|
2004-05-07 10:57:50 +00:00
|
|
|
testtoc_LDADD = $(LIBCDIO_LIBS)
|
2003-08-17 05:31:19 +00:00
|
|
|
|
2004-02-29 04:41:57 +00:00
|
|
|
check_SCRIPTS = check_nrg.sh check_cue.sh check_cd_read.sh \
|
|
|
|
|
check_iso.sh check_opts.sh
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-10-03 01:10:50 +00:00
|
|
|
check_PROGRAMS = $(hack)
|
2003-08-17 05:31:19 +00:00
|
|
|
|
2003-04-19 19:12:06 +00:00
|
|
|
check_DATA = vcd_demo.right \
|
2003-04-24 02:45:04 +00:00
|
|
|
videocd.right videocd.nrg \
|
2004-05-04 02:06:48 +00:00
|
|
|
cdda.right cdda.toc cdda.cue cdda.bin \
|
2004-05-04 11:47:53 +00:00
|
|
|
isofs-m1.right isofs-m1.toc isofs-m1.cue isofs-m1.bin \
|
2003-04-14 08:54:50 +00:00
|
|
|
check_opts0.right check_opts1.right check_opts2.right \
|
|
|
|
|
check_opts3.right check_opts4.right check_opts5.right \
|
2003-09-20 00:28:31 +00:00
|
|
|
check_opts6.right check_opts7.right \
|
2004-02-29 15:04:27 +00:00
|
|
|
isofs-m1-read.right cdda-read.right \
|
2004-05-07 10:57:50 +00:00
|
|
|
t1.toc t2.toc t3.toc t4.toc t5.toc t6.toc t7.toc t8.toc t9.toc \
|
2004-05-08 22:01:37 +00:00
|
|
|
data1.toc data2.toc data5.toc data6.toc data7.toc \
|
2004-05-07 10:57:50 +00:00
|
|
|
bad-mode1.toc bad-msf-1.toc bad-msf-2.toc \
|
2004-05-09 23:06:44 +00:00
|
|
|
bad-cat1.toc bad-cat2.toc bad-cat3.toc \
|
2004-02-29 15:04:27 +00:00
|
|
|
copying.iso copying.right
|
2003-03-24 19:01:09 +00:00
|
|
|
|
|
|
|
|
EXTRA_DIST = $(check_SCRIPTS) $(check_DATA) \
|
2004-02-29 04:41:57 +00:00
|
|
|
check_common_fn check_cue.sh.in check_nrg.sh.in check_iso.sh.in
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-09-14 07:49:12 +00:00
|
|
|
TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
|
2003-09-14 09:34:17 +00:00
|
|
|
XFAIL_TESTS = testassert
|
2003-03-24 19:01:09 +00:00
|
|
|
|
|
|
|
|
MOSTLYCLEANFILES = core.* *.dump
|
2003-09-17 02:51:44 +00:00
|
|
|
|
2003-09-28 22:14:44 +00:00
|
|
|
# This is a really bad hack to make sure check_nrg and check_cue.sh
|
2003-09-17 02:51:44 +00:00
|
|
|
# are executable. Automake will remake check_nrg.sh and check_cue.sh
|
|
|
|
|
# but not run the configure default commands for them to make sure
|
|
|
|
|
# they are executable. You know it would be nice one could just set
|
|
|
|
|
# permissions and mode when it makes the files. I'm sure there's some
|
|
|
|
|
# cleaner a way to do this, but frankly I've wasted far too much of my
|
|
|
|
|
# life the crappy automess system that I've really lost interest in
|
|
|
|
|
# learning any more of this awful system than I need to.
|
|
|
|
|
check-am: make-executable
|
|
|
|
|
make-executable: check_nrg.sh check_cue.sh
|
|
|
|
|
chmod +x *.sh
|