2004-10-24 11:20:30 +00:00
|
|
|
# $Id: Makefile.am,v 1.21 2004/10/24 11:20:30 rocky Exp $
|
2003-03-24 19:01:09 +00:00
|
|
|
#
|
2004-02-25 10:11:06 +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
|
|
|
|
|
#
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
## which configure then turns into a Makefile ...
|
|
|
|
|
## which make can then use to produce stuff. Isn't configuration simple?
|
|
|
|
|
|
2004-10-24 11:20:30 +00:00
|
|
|
EXTRA_DIST = config.rpath codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 libpopt.m4 THANKS README.libcdio libcdio.spec.in libcdio.spec \
|
2003-09-28 22:11:00 +00:00
|
|
|
example/README
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-09-28 22:11:00 +00:00
|
|
|
SUBDIRS = doc include lib src test example
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-04-21 10:17:50 +00:00
|
|
|
# pkg-config(1) related rules
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2003-08-17 05:31:19 +00:00
|
|
|
pkgconfig_DATA = libiso9660.pc libcdio.pc
|
2003-04-21 10:17:50 +00:00
|
|
|
|
|
|
|
|
$(pkgconfig_DATA): config.status
|
|
|
|
|
|
2003-04-19 19:12:06 +00:00
|
|
|
# List of additional files for expanded regression tests
|
|
|
|
|
DISTFILES_REGRESSION = tests/monvoisin.nrg tests/monvoisin.right \
|
2003-04-22 01:34:20 +00:00
|
|
|
tests/svcdgs.nrg tests/svcdgs.nrg \
|
2003-04-19 19:12:06 +00:00
|
|
|
tests/svcd_ogt_test_ntsc.bin \
|
|
|
|
|
tests/svcd_ogt_test_ntsc.cue \
|
|
|
|
|
tests/svcd_ogt_test_ntsc.right \
|
2003-04-20 15:34:31 +00:00
|
|
|
tests/vcd_demo.bin tests/vcd_demo.cue \
|
|
|
|
|
tests/vcd_demo.right
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-04-22 01:34:20 +00:00
|
|
|
REGRESSION_VERSION = 1.1
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-04-19 19:12:06 +00:00
|
|
|
distdir_regression = ../$(PACKAGE)-$(REGRESSION_VERSION)-tests
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-11-09 13:56:42 +00:00
|
|
|
doxygen:
|
|
|
|
|
-( cd ${top_srcdir}/doc/doxygen && /bin/sh ${srcdir}/run_doxygen )
|
|
|
|
|
|
2003-04-19 19:12:06 +00:00
|
|
|
dist-regression: distdir-regression
|
|
|
|
|
cd $(distdir) && $(AMTAR) chof - tests | GZIP=$(GZIP_ENV) gzip -c >$(distdir_regression).tar.gz
|
|
|
|
|
$(am__remove_distdir)
|
|
|
|
|
|
|
|
|
|
distdir-regression: $(DISTFILES_REGRESSION)
|
|
|
|
|
$(am__remove_distdir)
|
|
|
|
|
mkdir $(distdir)
|
|
|
|
|
@list='$(DISTFILES_REGRESSION)'; for file in $$list; do \
|
|
|
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
|
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
|
|
|
dir="/$$dir"; \
|
|
|
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
|
|
|
|
else \
|
|
|
|
|
dir=''; \
|
|
|
|
|
fi; \
|
|
|
|
|
if test -d $$d/$$file; then \
|
|
|
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
|
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
|
|
|
fi; \
|
|
|
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
|
|
|
else \
|
|
|
|
|
test -f $(distdir_regressoin)/$$file \
|
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|
|
|
|| exit 1; \
|
|
|
|
|
fi; \
|
|
|
|
|
done
|
|
|
|
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
|
|
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
|
|
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
|
|
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
|
|
|
|
|| chmod -R a+r $(distdir)
|
2003-09-19 04:38:39 +00:00
|
|
|
|
|
|
|
|
check_nrg.sh: $(top_builddir)/config.status check_nrg.sh.in
|
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
|
chmod +x config_nrg.sh
|
|
|
|
|
check_cue.sh: $(top_builddir)/config.status check_cue.sh.in
|
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
2004-02-29 15:42:30 +00:00
|
|
|
chmod +x config_cue.sh
|
|
|
|
|
|
|
|
|
|
check_iso.sh: $(top_builddir)/config.status check_iso.sh.in
|
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
|
chmod +x config_iso.sh
|
2003-09-19 04:38:39 +00:00
|
|
|
|
|
|
|
|
make-executable:
|
2004-02-25 10:11:06 +00:00
|
|
|
|
|
|
|
|
# cvs2cl
|
|
|
|
|
MAINTAINERCLEANFILES = ChangeLog
|
|
|
|
|
|
|
|
|
|
if MAINTAINER_MODE
|
|
|
|
|
|
|
|
|
|
.PHONY: ChangeLog
|
|
|
|
|
ChangeLog:
|
|
|
|
|
$(CVS2CL) -W 450 --header $(srcdir)/cvs2cl_header --utc -w -I ChangeLog --usermap $(srcdir)/cvs2cl_usermap -P
|
|
|
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS=-I .
|
|
|
|
|
|
|
|
|
|
endif
|