rbcdio 0.01 → 0.02
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +77 -0
- data/INSTALL +35 -26
- data/Makefile.am +12 -11
- data/Makefile.in +65 -51
- data/NEWS +13 -1
- data/README +10 -9
- data/VERSION +1 -1
- data/config.guess +76 -39
- data/config.sub +71 -31
- data/configure +2361 -1802
- data/configure.ac +4 -4
- data/doc/created.rid +1 -1
- data/doc/fr_file_index.html +1 -0
- data/example/README +6 -1
- data/example/audio.rb +1 -2
- data/example/cd-read.rb +2 -3
- data/example/cdchange.rb +71 -0
- data/example/device.rb +2 -3
- data/example/drivers.rb +2 -3
- data/example/drives.rb +2 -3
- data/example/eject.rb +2 -3
- data/example/iso1.rb +2 -3
- data/example/iso2.rb +2 -3
- data/example/iso3.rb +2 -3
- data/example/tracks.rb +2 -3
- data/ext/cdio/Makefile +30 -16
- data/ext/cdio/extconf.rb +9 -1
- data/ext/cdio/rubycdio_wrap.c +3609 -1892
- data/ext/iso9660/Makefile +29 -15
- data/ext/iso9660/extconf.rb +7 -2
- data/ext/iso9660/rubyiso9660_wrap.c +3347 -1647
- data/install-sh +266 -82
- data/lib/cdio.rb +10 -10
- data/lib/iso9660.rb +5 -5
- data/missing +34 -27
- data/swig/device.swg +2 -2
- data/swig/rubycdio.swg +2 -2
- data/swig/rubyiso9660.swg +3 -3
- data/test/cdiotest.rb +9 -4
- data/test/isotest.rb +4 -2
- metadata +5 -3
data/ChangeLog
CHANGED
@@ -2,6 +2,83 @@
|
|
2
2
|
## autogenerated ChangeLog -- don't edit
|
3
3
|
##
|
4
4
|
|
5
|
+
2007-10-27 Saturday 11:18 Rocky Bernstein <rocky@gnu.org>
|
6
|
+
|
7
|
+
* INSTALL, NEWS: Revise for 0.02 release.
|
8
|
+
|
9
|
+
2007-10-14 Sunday 10:22 Rocky Bernstein <rocky@gnu.org>
|
10
|
+
|
11
|
+
* swig/: device.swg, rubycdio.swg: Update copyright.
|
12
|
+
|
13
|
+
2007-10-14 Sunday 01:45 Rocky Bernstein <rocky@gnu.org>
|
14
|
+
|
15
|
+
* Makefile.am: Don't use :=, = is more portable.
|
16
|
+
|
17
|
+
2007-10-13 Saturday 23:31 Rocky Bernstein <rocky@gnu.org>
|
18
|
+
|
19
|
+
* example/cdchange.rb: Remove require_gem update ChangeLog.
|
20
|
+
|
21
|
+
2007-10-13 Saturday 23:25 Rocky Bernstein <rocky@gnu.org>
|
22
|
+
|
23
|
+
* example/: audio.rb, cd-read.rb, device.rb, drivers.rb, drives.rb,
|
24
|
+
eject.rb, iso1.rb, iso2.rb, iso3.rb, tracks.rb: Remove
|
25
|
+
require_gem statements.
|
26
|
+
|
27
|
+
2007-10-13 Saturday 23:00 Rocky Bernstein <rocky@gnu.org>
|
28
|
+
|
29
|
+
* Makefile.am, NEWS, example/README, example/cdchange.rb,
|
30
|
+
lib/cdio.rb, lib/iso9660.rb: reduce doc warning messages
|
31
|
+
cdchange.rb: add example program from pycdio
|
32
|
+
|
33
|
+
2007-10-13 Saturday 17:11 Rocky Bernstein <rocky@gnu.org>
|
34
|
+
|
35
|
+
* Makefile.am, README, configure.ac, ext/cdio/extconf.rb,
|
36
|
+
ext/iso9660/extconf.rb: Mostly small changes Makefile.am: be
|
37
|
+
explicit about requiring mkmf configure.ac: typo extconf.rb: get
|
38
|
+
libs from pkg-config
|
39
|
+
|
40
|
+
2007-10-13 Saturday 09:23 Rocky Bernstein <rocky@gnu.org>
|
41
|
+
|
42
|
+
* NEWS, configure.ac, test/cdiotest.rb, test/isotest.rb: test/*:
|
43
|
+
reduce warnings by defining Mypath only once configure.ac, NEWS:
|
44
|
+
get ready for 0.02 release
|
45
|
+
|
46
|
+
2007-08-01 Wednesday 04:06 Rocky Bernstein <rocky@gnu.org>
|
47
|
+
|
48
|
+
* swig/rubyiso9660.swg: Memory allocation was off by one in the
|
49
|
+
name_translate function. This could lead to a buffer overflow
|
50
|
+
when the translated name is as long as the original. Patch by
|
51
|
+
Martin Ferrari on the Perl code.
|
52
|
+
|
53
|
+
2007-06-19 Tuesday 11:32 Rocky Bernstein <rocky@gnu.org>
|
54
|
+
|
55
|
+
* README: Small grammar changes.
|
56
|
+
|
57
|
+
2006-12-22 Friday 16:27 Rocky Bernstein <rocky@gnu.org>
|
58
|
+
|
59
|
+
* htdocs/index.html: Uncomment $Id: ChangeLog,v 1.7 2007/10/27 11:19:41 rocky Exp $ line.
|
60
|
+
|
61
|
+
2006-12-22 Friday 16:27 Rocky Bernstein <rocky@gnu.org>
|
62
|
+
|
63
|
+
* README, htdocs/index.html: Doc changes.
|
64
|
+
|
65
|
+
2006-12-21 Thursday 11:55 Rocky Bernstein <rocky@gnu.org>
|
66
|
+
|
67
|
+
* README, example/cd-read.rb, ext/cdio/extconf.rb,
|
68
|
+
ext/iso9660/extconf.rb: README: note ginstall weirdness on
|
69
|
+
Solaris ext/*/extconf.rb: Do add cygwin-specific libraries
|
70
|
+
example/cd-read.rb: trailing blank was messing up ruby magic
|
71
|
+
|
72
|
+
2006-12-16 Saturday 14:33 Rocky Bernstein <rocky@gnu.org>
|
73
|
+
|
74
|
+
* Rakefile: Add test/cdda.toc
|
75
|
+
|
76
|
+
2006-12-16 Saturday 14:29 Rocky Bernstein <rocky@gnu.org>
|
77
|
+
|
78
|
+
* Rakefile, example/device.rb, example/drivers.rb,
|
79
|
+
example/drives.rb: Rakefile: add Makefile. example/*.rb: print
|
80
|
+
an error message if no CD-ROM devices.
|
81
|
+
|
5
82
|
2006-12-16 Saturday 13:24 Rocky Bernstein <rocky@gnu.org>
|
6
83
|
|
7
84
|
* README, example/audio.rb, example/cd-read.rb, example/eject.rb,
|
data/INSTALL
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Installation Instructions
|
2
2
|
*************************
|
3
3
|
|
4
|
-
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005
|
5
|
-
Software Foundation, Inc.
|
4
|
+
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
5
|
+
2006 Free Software Foundation, Inc.
|
6
6
|
|
7
7
|
This file is free documentation; the Free Software Foundation gives
|
8
8
|
unlimited permission to copy, distribute and modify it.
|
@@ -10,7 +10,21 @@ unlimited permission to copy, distribute and modify it.
|
|
10
10
|
Basic Installation
|
11
11
|
==================
|
12
12
|
|
13
|
-
|
13
|
+
If you downloaded the rbcdio gem package or have access to
|
14
|
+
rubyforge.net "gem install rbcdio" may work.
|
15
|
+
|
16
|
+
Briefly, the shell commands `./configure; make; make test; make
|
17
|
+
install' should configure, build, test and install this package. On
|
18
|
+
systems which don't install GNU Make by default you may have to use
|
19
|
+
"gmake" instead of "make".
|
20
|
+
|
21
|
+
Alternatively to be more Ruby like, you can use "rake", "rake test"
|
22
|
+
and "rake package" to build, and test and create a gem package. To
|
23
|
+
install the gem, cd to pkg and "gem install rbcdio-*.gem."
|
24
|
+
|
25
|
+
On systems which don't install GNU Make by default you may have to
|
26
|
+
use The following more-detailed instructions are generic; see the
|
27
|
+
`README' file for instructions specific to this package.
|
14
28
|
|
15
29
|
The `configure' shell script attempts to guess correct values for
|
16
30
|
various system-dependent variables used during compilation. It uses
|
@@ -23,9 +37,9 @@ debugging `configure').
|
|
23
37
|
|
24
38
|
It can also use an optional file (typically called `config.cache'
|
25
39
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
26
|
-
the results of its tests to speed up reconfiguring.
|
40
|
+
the results of its tests to speed up reconfiguring. Caching is
|
27
41
|
disabled by default to prevent problems with accidental use of stale
|
28
|
-
cache files.
|
42
|
+
cache files.
|
29
43
|
|
30
44
|
If you need to do unusual things to compile the package, please try
|
31
45
|
to figure out how `configure' could check whether to do them, and mail
|
@@ -35,20 +49,17 @@ some point `config.cache' contains results you don't want to keep, you
|
|
35
49
|
may remove or edit it.
|
36
50
|
|
37
51
|
The file `configure.ac' (or `configure.in') is used to create
|
38
|
-
`configure' by a program called `autoconf'. You
|
39
|
-
|
40
|
-
|
52
|
+
`configure' by a program called `autoconf'. You need `configure.ac' if
|
53
|
+
you want to change it or regenerate `configure' using a newer version
|
54
|
+
of `autoconf'.
|
41
55
|
|
42
56
|
The simplest way to compile this package is:
|
43
57
|
|
44
58
|
1. `cd' to the directory containing the package's source code and type
|
45
|
-
`./configure' to configure the package for your system.
|
46
|
-
using `csh' on an old version of System V, you might need to type
|
47
|
-
`sh ./configure' instead to prevent `csh' from trying to execute
|
48
|
-
`configure' itself.
|
59
|
+
`./configure' to configure the package for your system.
|
49
60
|
|
50
|
-
Running `configure'
|
51
|
-
messages telling which features it is checking for.
|
61
|
+
Running `configure' might take a while. While running, it prints
|
62
|
+
some messages telling which features it is checking for.
|
52
63
|
|
53
64
|
2. Type `make' to compile the package.
|
54
65
|
|
@@ -78,7 +89,7 @@ details on some of the pertinent environment variables.
|
|
78
89
|
by setting variables in the command line or in the environment. Here
|
79
90
|
is an example:
|
80
91
|
|
81
|
-
./configure CC=
|
92
|
+
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
82
93
|
|
83
94
|
*Note Defining Variables::, for more details.
|
84
95
|
|
@@ -87,17 +98,15 @@ Compiling For Multiple Architectures
|
|
87
98
|
|
88
99
|
You can compile the package for more than one kind of computer at the
|
89
100
|
same time, by placing the object files for each architecture in their
|
90
|
-
own directory. To do this, you
|
91
|
-
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
101
|
+
own directory. To do this, you can use GNU `make'. `cd' to the
|
92
102
|
directory where you want the object files and executables to go and run
|
93
103
|
the `configure' script. `configure' automatically checks for the
|
94
104
|
source code in the directory that `configure' is in and in `..'.
|
95
105
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
for another architecture.
|
106
|
+
With a non-GNU `make', it is safer to compile the package for one
|
107
|
+
architecture at a time in the source code directory. After you have
|
108
|
+
installed the package for one architecture, use `make distclean' before
|
109
|
+
reconfiguring for another architecture.
|
101
110
|
|
102
111
|
Installation Names
|
103
112
|
==================
|
@@ -190,12 +199,12 @@ them in the `configure' command line, using `VAR=value'. For example:
|
|
190
199
|
./configure CC=/usr/local2/bin/gcc
|
191
200
|
|
192
201
|
causes the specified `gcc' to be used as the C compiler (unless it is
|
193
|
-
overridden in the site shell script).
|
202
|
+
overridden in the site shell script).
|
194
203
|
|
195
|
-
|
204
|
+
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
205
|
+
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
196
206
|
|
197
|
-
|
198
|
-
configuration-related scripts to be executed by `/bin/bash'.
|
207
|
+
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
199
208
|
|
200
209
|
`configure' Invocation
|
201
210
|
======================
|
data/Makefile.am
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# $Id: Makefile.am,v 1.
|
1
|
+
# $Id: Makefile.am,v 1.23 2007/10/14 01:45:54 rocky Exp $
|
2
2
|
#
|
3
|
-
# Copyright (C) 2006 Rocky Bernstein <rocky@
|
3
|
+
# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
4
4
|
#
|
5
5
|
# This program is free software; you can redistribute it and/or modify
|
6
6
|
# it under the terms of the GNU General Public License as published by
|
@@ -21,9 +21,9 @@
|
|
21
21
|
## which configure then turns into a Makefile ...
|
22
22
|
## which make can then use to produce stuff. Isn't configuration simple?
|
23
23
|
|
24
|
-
SWIG
|
25
|
-
SWIG_FLAGS
|
26
|
-
SO
|
24
|
+
SWIG = @SWIG@
|
25
|
+
SWIG_FLAGS = @SWIG_FLAGS@
|
26
|
+
SO = @SO@
|
27
27
|
CDIO_EXTCONF = $(top_builddir)/ext/cdio/extconf.rb
|
28
28
|
ISO_EXTCONF = $(top_builddir)/ext/iso9660/extconf.rb
|
29
29
|
|
@@ -59,6 +59,7 @@ DATA_FILES = data/copying.iso data/isofs-m1.cue data/isofs-m1.bin
|
|
59
59
|
EXAMPLE_FILES = \
|
60
60
|
example/README \
|
61
61
|
example/audio.rb \
|
62
|
+
example/cdchange.rb \
|
62
63
|
example/device.rb \
|
63
64
|
example/drives.rb \
|
64
65
|
example/eject.rb \
|
@@ -67,11 +68,11 @@ EXAMPLE_FILES = \
|
|
67
68
|
example/iso3.rb \
|
68
69
|
example/tracks.rb
|
69
70
|
|
70
|
-
CDIO_C
|
71
|
-
CDIO_OBJ
|
71
|
+
CDIO_C = $(top_builddir)/ext/cdio/rubycdio_wrap.c
|
72
|
+
CDIO_OBJ = $(top_builddir)/ext/cdio/rubycdio_wrap.o
|
72
73
|
|
73
|
-
ISO_C
|
74
|
-
ISO_OBJ
|
74
|
+
ISO_C = $(top_builddir)/ext/iso9660/rubyiso9660_wrap.c
|
75
|
+
ISO_OBJ = $(top_builddir)/ext/iso9660/rubyiso9660_wrap.o
|
75
76
|
|
76
77
|
RUBY = @RUBY@
|
77
78
|
RUBYCDIO = ext/cdio/rubycdio$(SO)
|
@@ -102,10 +103,10 @@ $(CDIO_C): $(CDIO_SRC)
|
|
102
103
|
$(SWIG) -o $(CDIO_C) -outdir $(top_builddir) -ruby $(SWIG_FLAGS) $<
|
103
104
|
|
104
105
|
$(RUBYCDIO): $(CDIO_C) $(CDIO_EXTCONF)
|
105
|
-
(cd ext/cdio && $(RUBY) extconf.rb && $(MAKE))
|
106
|
+
(cd ext/cdio && $(RUBY) -r mkmf extconf.rb && $(MAKE))
|
106
107
|
|
107
108
|
$(RUBYISO9660): $(ISO_C) $(ISO_EXTCONF)
|
108
|
-
(cd ext/iso9660 && $(RUBY) extconf.rb && $(MAKE))
|
109
|
+
(cd ext/iso9660 && $(RUBY) -r mkmf extconf.rb && $(MAKE))
|
109
110
|
|
110
111
|
$(ISO_C): $(ISO_SRC)
|
111
112
|
$(SWIG) -o $(ISO_C) -outdir $(top_builddir) -ruby $(SWIG_FLAGS) $<
|
data/Makefile.in
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.10 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
4
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
-
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
5
|
+
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
8
8
|
# with or without modifications, as long as this notice is preserved.
|
@@ -14,9 +14,9 @@
|
|
14
14
|
|
15
15
|
@SET_MAKE@
|
16
16
|
|
17
|
-
# $Id: Makefile.am,v 1.
|
17
|
+
# $Id: Makefile.am,v 1.23 2007/10/14 01:45:54 rocky Exp $
|
18
18
|
#
|
19
|
-
# Copyright (C) 2006 Rocky Bernstein <rocky@
|
19
|
+
# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
20
20
|
#
|
21
21
|
# This program is free software; you can redistribute it and/or modify
|
22
22
|
# it under the terms of the GNU General Public License as published by
|
@@ -33,15 +33,11 @@
|
|
33
33
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
34
34
|
# 02110-1301 USA.
|
35
35
|
#
|
36
|
-
srcdir = @srcdir@
|
37
|
-
top_srcdir = @top_srcdir@
|
38
36
|
VPATH = @srcdir@
|
39
37
|
pkgdatadir = $(datadir)/@PACKAGE@
|
40
38
|
pkglibdir = $(libdir)/@PACKAGE@
|
41
39
|
pkgincludedir = $(includedir)/@PACKAGE@
|
42
|
-
top_builddir = .
|
43
40
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
44
|
-
INSTALL = @INSTALL@
|
45
41
|
install_sh_DATA = $(install_sh) -c -m 644
|
46
42
|
install_sh_PROGRAM = $(install_sh) -c
|
47
43
|
install_sh_SCRIPT = $(install_sh) -c
|
@@ -55,18 +51,18 @@ PRE_UNINSTALL = :
|
|
55
51
|
POST_UNINSTALL = :
|
56
52
|
build_triplet = @build@
|
57
53
|
host_triplet = @host@
|
54
|
+
subdir = .
|
58
55
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
59
56
|
$(srcdir)/Makefile.in $(srcdir)/VERSION.in \
|
60
57
|
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
61
58
|
THANKS config.guess config.sub install-sh missing
|
62
|
-
subdir = .
|
63
59
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
64
60
|
am__aclocal_m4_deps = $(top_srcdir)/rubycdio.m4 \
|
65
61
|
$(top_srcdir)/configure.ac
|
66
62
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
67
63
|
$(ACLOCAL_M4)
|
68
64
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
69
|
-
configure.lineno
|
65
|
+
configure.lineno config.status.lineno
|
70
66
|
mkinstalldirs = $(install_sh) -d
|
71
67
|
CONFIG_CLEAN_FILES = VERSION
|
72
68
|
SOURCES =
|
@@ -83,8 +79,6 @@ GZIP_ENV = --best
|
|
83
79
|
distuninstallcheck_listfiles = find . -type f -print
|
84
80
|
distcleancheck_listfiles = find . -type f -print
|
85
81
|
ACLOCAL = @ACLOCAL@
|
86
|
-
AMDEP_FALSE = @AMDEP_FALSE@
|
87
|
-
AMDEP_TRUE = @AMDEP_TRUE@
|
88
82
|
AMTAR = @AMTAR@
|
89
83
|
AUTOCONF = @AUTOCONF@
|
90
84
|
AUTOHEADER = @AUTOHEADER@
|
@@ -102,6 +96,7 @@ ECHO_C = @ECHO_C@
|
|
102
96
|
ECHO_N = @ECHO_N@
|
103
97
|
ECHO_T = @ECHO_T@
|
104
98
|
EXEEXT = @EXEEXT@
|
99
|
+
INSTALL = @INSTALL@
|
105
100
|
INSTALL_DATA = @INSTALL_DATA@
|
106
101
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
107
102
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
@@ -113,9 +108,8 @@ LIBS = @LIBS@
|
|
113
108
|
LN_S = @LN_S@
|
114
109
|
LTLIBOBJS = @LTLIBOBJS@
|
115
110
|
MAINT = @MAINT@
|
116
|
-
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
117
|
-
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
118
111
|
MAKEINFO = @MAKEINFO@
|
112
|
+
MKDIR_P = @MKDIR_P@
|
119
113
|
OBJEXT = @OBJEXT@
|
120
114
|
PACKAGE = @PACKAGE@
|
121
115
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
@@ -131,16 +125,16 @@ RUBY_INC = @RUBY_INC@
|
|
131
125
|
RUBY_LIBS = @RUBY_LIBS@
|
132
126
|
SET_MAKE = @SET_MAKE@
|
133
127
|
SHELL = @SHELL@
|
134
|
-
SO
|
128
|
+
SO = @SO@
|
135
129
|
STRIP = @STRIP@
|
136
|
-
SWIG
|
137
|
-
SWIG_FLAGS
|
130
|
+
SWIG = @SWIG@
|
131
|
+
SWIG_FLAGS = @SWIG_FLAGS@
|
138
132
|
VERSION = @VERSION@
|
133
|
+
abs_builddir = @abs_builddir@
|
134
|
+
abs_srcdir = @abs_srcdir@
|
135
|
+
abs_top_builddir = @abs_top_builddir@
|
136
|
+
abs_top_srcdir = @abs_top_srcdir@
|
139
137
|
ac_ct_CC = @ac_ct_CC@
|
140
|
-
ac_ct_STRIP = @ac_ct_STRIP@
|
141
|
-
ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
|
142
|
-
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
143
|
-
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
144
138
|
am__include = @am__include@
|
145
139
|
am__leading_dot = @am__leading_dot@
|
146
140
|
am__quote = @am__quote@
|
@@ -152,13 +146,18 @@ build_alias = @build_alias@
|
|
152
146
|
build_cpu = @build_cpu@
|
153
147
|
build_os = @build_os@
|
154
148
|
build_vendor = @build_vendor@
|
149
|
+
builddir = @builddir@
|
155
150
|
datadir = @datadir@
|
151
|
+
datarootdir = @datarootdir@
|
152
|
+
docdir = @docdir@
|
153
|
+
dvidir = @dvidir@
|
156
154
|
exec_prefix = @exec_prefix@
|
157
155
|
host = @host@
|
158
156
|
host_alias = @host_alias@
|
159
157
|
host_cpu = @host_cpu@
|
160
158
|
host_os = @host_os@
|
161
159
|
host_vendor = @host_vendor@
|
160
|
+
htmldir = @htmldir@
|
162
161
|
includedir = @includedir@
|
163
162
|
infodir = @infodir@
|
164
163
|
install_sh = @install_sh@
|
@@ -168,16 +167,22 @@ libdir = @libdir@
|
|
168
167
|
libexecdir = @libexecdir@
|
169
168
|
libiso9660_CFLAGS = @libiso9660_CFLAGS@
|
170
169
|
libiso9660_LIBS = @libiso9660_LIBS@
|
170
|
+
localedir = @localedir@
|
171
171
|
localstatedir = @localstatedir@
|
172
172
|
mandir = @mandir@
|
173
173
|
mkdir_p = @mkdir_p@
|
174
174
|
oldincludedir = @oldincludedir@
|
175
|
+
pdfdir = @pdfdir@
|
175
176
|
prefix = @prefix@
|
176
177
|
program_transform_name = @program_transform_name@
|
178
|
+
psdir = @psdir@
|
177
179
|
sbindir = @sbindir@
|
178
180
|
sharedstatedir = @sharedstatedir@
|
181
|
+
srcdir = @srcdir@
|
179
182
|
sysconfdir = @sysconfdir@
|
180
183
|
target_alias = @target_alias@
|
184
|
+
top_builddir = @top_builddir@
|
185
|
+
top_srcdir = @top_srcdir@
|
181
186
|
CDIO_EXTCONF = $(top_builddir)/ext/cdio/extconf.rb
|
182
187
|
ISO_EXTCONF = $(top_builddir)/ext/iso9660/extconf.rb
|
183
188
|
|
@@ -211,6 +216,7 @@ DATA_FILES = data/copying.iso data/isofs-m1.cue data/isofs-m1.bin
|
|
211
216
|
EXAMPLE_FILES = \
|
212
217
|
example/README \
|
213
218
|
example/audio.rb \
|
219
|
+
example/cdchange.rb \
|
214
220
|
example/device.rb \
|
215
221
|
example/drives.rb \
|
216
222
|
example/eject.rb \
|
@@ -219,10 +225,10 @@ EXAMPLE_FILES = \
|
|
219
225
|
example/iso3.rb \
|
220
226
|
example/tracks.rb
|
221
227
|
|
222
|
-
CDIO_C
|
223
|
-
CDIO_OBJ
|
224
|
-
ISO_C
|
225
|
-
ISO_OBJ
|
228
|
+
CDIO_C = $(top_builddir)/ext/cdio/rubycdio_wrap.c
|
229
|
+
CDIO_OBJ = $(top_builddir)/ext/cdio/rubycdio_wrap.o
|
230
|
+
ISO_C = $(top_builddir)/ext/iso9660/rubyiso9660_wrap.c
|
231
|
+
ISO_OBJ = $(top_builddir)/ext/iso9660/rubyiso9660_wrap.o
|
226
232
|
RUBYCDIO = ext/cdio/rubycdio$(SO)
|
227
233
|
RUBYISO9660 = ext/iso9660/rubyiso9660$(SO)
|
228
234
|
EXTRA_DIST = $(CDIO_SRC) $(CDIO_C) $(ISO_SRC) $(ISO_C) $(CDIO_EXTCONF) \
|
@@ -294,7 +300,6 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
294
300
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
295
301
|
VERSION: $(top_builddir)/config.status $(srcdir)/VERSION.in
|
296
302
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
297
|
-
uninstall-info-am:
|
298
303
|
tags: TAGS
|
299
304
|
TAGS:
|
300
305
|
|
@@ -304,24 +309,22 @@ CTAGS:
|
|
304
309
|
|
305
310
|
distdir: $(DISTFILES)
|
306
311
|
$(am__remove_distdir)
|
307
|
-
mkdir $(distdir)
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
312
|
+
test -d $(distdir) || mkdir $(distdir)
|
313
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
314
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
315
|
+
list='$(DISTFILES)'; \
|
316
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
317
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
318
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
319
|
+
case $$dist_files in \
|
320
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
321
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
322
|
+
sort -u` ;; \
|
323
|
+
esac; \
|
324
|
+
for file in $$dist_files; do \
|
316
325
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
317
|
-
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
318
|
-
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
319
|
-
dir="/$$dir"; \
|
320
|
-
$(mkdir_p) "$(distdir)$$dir"; \
|
321
|
-
else \
|
322
|
-
dir=''; \
|
323
|
-
fi; \
|
324
326
|
if test -d $$d/$$file; then \
|
327
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
325
328
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
326
329
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
327
330
|
fi; \
|
@@ -335,7 +338,7 @@ distdir: $(DISTFILES)
|
|
335
338
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
336
339
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
337
340
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
338
|
-
! -type d ! -perm -444 -exec $(
|
341
|
+
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
339
342
|
|| chmod -R a+r $(distdir)
|
340
343
|
dist-gzip: distdir
|
341
344
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
@@ -410,7 +413,7 @@ distcheck: dist
|
|
410
413
|
$(am__remove_distdir)
|
411
414
|
@(echo "$(distdir) archives ready for distribution: "; \
|
412
415
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
413
|
-
sed -e
|
416
|
+
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
414
417
|
distuninstallcheck:
|
415
418
|
@cd $(distuninstallcheck_dir) \
|
416
419
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
@@ -477,12 +480,20 @@ info-am:
|
|
477
480
|
|
478
481
|
install-data-am:
|
479
482
|
|
483
|
+
install-dvi: install-dvi-am
|
484
|
+
|
480
485
|
install-exec-am:
|
481
486
|
|
487
|
+
install-html: install-html-am
|
488
|
+
|
482
489
|
install-info: install-info-am
|
483
490
|
|
484
491
|
install-man:
|
485
492
|
|
493
|
+
install-pdf: install-pdf-am
|
494
|
+
|
495
|
+
install-ps: install-ps-am
|
496
|
+
|
486
497
|
installcheck-am:
|
487
498
|
|
488
499
|
maintainer-clean: maintainer-clean-am
|
@@ -503,18 +514,21 @@ ps: ps-am
|
|
503
514
|
|
504
515
|
ps-am:
|
505
516
|
|
506
|
-
uninstall-am:
|
517
|
+
uninstall-am:
|
518
|
+
|
519
|
+
.MAKE: install-am install-strip
|
507
520
|
|
508
521
|
.PHONY: all all-am am--refresh check check-am clean clean-generic dist \
|
509
522
|
dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
|
510
523
|
distcheck distclean distclean-generic distcleancheck distdir \
|
511
524
|
distuninstallcheck dvi dvi-am html html-am info info-am \
|
512
|
-
install install-am install-data install-data-am install-
|
513
|
-
install-
|
525
|
+
install install-am install-data install-data-am install-dvi \
|
526
|
+
install-dvi-am install-exec install-exec-am install-html \
|
527
|
+
install-html-am install-info install-info-am install-man \
|
528
|
+
install-pdf install-pdf-am install-ps install-ps-am \
|
514
529
|
install-strip installcheck installcheck-am installdirs \
|
515
530
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
516
|
-
mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
|
517
|
-
uninstall-info-am
|
531
|
+
mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
|
518
532
|
|
519
533
|
|
520
534
|
.PHONY: test check ChangeLog doc rdoc, doc, rerdoc
|
@@ -533,10 +547,10 @@ $(CDIO_C): $(CDIO_SRC)
|
|
533
547
|
$(SWIG) -o $(CDIO_C) -outdir $(top_builddir) -ruby $(SWIG_FLAGS) $<
|
534
548
|
|
535
549
|
$(RUBYCDIO): $(CDIO_C) $(CDIO_EXTCONF)
|
536
|
-
(cd ext/cdio && $(RUBY) extconf.rb && $(MAKE))
|
550
|
+
(cd ext/cdio && $(RUBY) -r mkmf extconf.rb && $(MAKE))
|
537
551
|
|
538
552
|
$(RUBYISO9660): $(ISO_C) $(ISO_EXTCONF)
|
539
|
-
(cd ext/iso9660 && $(RUBY) extconf.rb && $(MAKE))
|
553
|
+
(cd ext/iso9660 && $(RUBY) -r mkmf extconf.rb && $(MAKE))
|
540
554
|
|
541
555
|
$(ISO_C): $(ISO_SRC)
|
542
556
|
$(SWIG) -o $(ISO_C) -outdir $(top_builddir) -ruby $(SWIG_FLAGS) $<
|