rbcdio 0.02 → 0.03
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +34 -1
- data/INSTALL +26 -35
- data/Makefile.am +17 -15
- data/Makefile.in +54 -62
- data/NEWS +6 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/config.guess +49 -43
- data/config.sub +17 -7
- data/configure +64 -91
- data/configure.ac +3 -6
- data/doc/created.rid +1 -1
- data/example/audio.rb +13 -15
- data/example/cd-read.rb +13 -15
- data/example/cdchange.rb +14 -16
- data/example/device.rb +13 -14
- data/example/drivers.rb +13 -15
- data/example/eject.rb +13 -14
- data/example/iso1.rb +7 -8
- data/example/iso2.rb +7 -8
- data/example/iso3.rb +7 -8
- data/example/tracks.rb +13 -14
- data/ext/cdio/Makefile +24 -28
- data/ext/cdio/rubycdio_wrap.c +1263 -183
- data/ext/iso9660/Makefile +24 -28
- data/ext/iso9660/rubyiso9660_wrap.c +1050 -176
- data/install-sh +82 -266
- data/lib/cdio.rb +45 -46
- data/lib/iso9660.rb +13 -15
- data/missing +27 -34
- data/swig/audio.swg +12 -13
- data/swig/compat.swg +12 -13
- data/swig/device.swg +12 -14
- data/swig/device_const.swg +12 -13
- data/swig/disc.swg +12 -13
- data/swig/read.swg +12 -14
- data/swig/rubycdio.swg +12 -14
- data/swig/rubyiso9660.swg +12 -14
- data/swig/track.swg +12 -13
- data/swig/types.swg +12 -13
- metadata +47 -40
data/example/audio.rb
CHANGED
@@ -1,26 +1,24 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: audio.rb,v 1.
|
2
|
+
# $Id: audio.rb,v 1.11 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# A program to show use of audio controls. See cdda-player from the
|
5
5
|
# libcdio distribution for a more complete program.
|
6
6
|
|
7
|
+
# Copyright (C) 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
7
8
|
#
|
8
|
-
#
|
9
|
+
# This program is free software: you can redistribute it and/or modify
|
10
|
+
# it under the terms of the GNU General Public License as published by
|
11
|
+
# the Free Software Foundation, either version 3 of the License, or
|
12
|
+
# (at your option) any later version.
|
9
13
|
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
# This program is distributed in the hope that it will be useful,
|
16
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18
|
-
# GNU General Public License for more details.
|
19
|
-
#
|
20
|
-
# You should have received a copy of the GNU General Public License
|
21
|
-
# along with this program; if not, write to the Free Software
|
22
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
14
|
+
# This program is distributed in the hope that it will be useful,
|
15
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
+
# GNU General Public License for more details.
|
23
18
|
#
|
19
|
+
# You should have received a copy of the GNU General Public License
|
20
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
v
|
24
22
|
mypath = File.dirname(__FILE__)
|
25
23
|
if(File::exists?(mypath + "/../ext/cdio/rubycdio.so"))
|
26
24
|
$: << File.dirname(__FILE__) + '/../ext/cdio'
|
data/example/cd-read.rb
CHANGED
@@ -1,26 +1,24 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: cd-read.rb,v 1.
|
2
|
+
# $Id: cd-read.rb,v 1.12 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# A program to read CD blocks. See read-cd from the libcdio distribution
|
5
5
|
# more complete program.
|
6
6
|
|
7
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
7
8
|
#
|
8
|
-
#
|
9
|
+
# This program is free software: you can redistribute it and/or modify
|
10
|
+
# it under the terms of the GNU General Public License as published by
|
11
|
+
# the Free Software Foundation, either version 3 of the License, or
|
12
|
+
# (at your option) any later version.
|
9
13
|
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
# This program is distributed in the hope that it will be useful,
|
16
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18
|
-
# GNU General Public License for more details.
|
19
|
-
#
|
20
|
-
# You should have received a copy of the GNU General Public License
|
21
|
-
# along with this program; if not, write to the Free Software
|
22
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
14
|
+
# This program is distributed in the hope that it will be useful,
|
15
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
+
# GNU General Public License for more details.
|
23
18
|
#
|
19
|
+
# You should have received a copy of the GNU General Public License
|
20
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
|
24
22
|
mypath = File.dirname(__FILE__)
|
25
23
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
26
24
|
$: << File.dirname(__FILE__) + '/../lib'
|
data/example/cdchange.rb
CHANGED
@@ -1,25 +1,23 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
# $Id: cdchange.rb,v 1.3 2008/05/02 13:05:39 karl Exp $ -*- Python -*-
|
3
3
|
#
|
4
4
|
# A Program to show CD media changing
|
5
|
+
|
6
|
+
# Copyright (C) 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
5
7
|
#
|
8
|
+
# This program is free software: you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation, either version 3 of the License, or
|
11
|
+
# (at your option) any later version.
|
6
12
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
# the Free Software Foundation; either version 2 of the License, or
|
12
|
-
# (at your option) any later version.
|
13
|
-
#
|
14
|
-
# This program is distributed in the hope that it will be useful,
|
15
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
-
# GNU General Public License for more details.
|
18
|
-
#
|
19
|
-
# You should have received a copy of the GNU General Public License
|
20
|
-
# along with this program; if not, write to the Free Software
|
21
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
22
17
|
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
|
23
21
|
mypath = File.dirname(__FILE__)
|
24
22
|
|
25
23
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
data/example/device.rb
CHANGED
@@ -1,24 +1,23 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: device.rb,v 1.
|
2
|
+
# $Id: device.rb,v 1.12 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# A Program to show CD-ROM device information
|
5
5
|
|
6
|
-
#
|
6
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
7
7
|
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
8
|
+
# This program is free software: you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation, either version 3 of the License, or
|
11
|
+
# (at your option) any later version.
|
12
12
|
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
# You should have received a copy of the GNU General Public License
|
19
|
-
# along with this program; if not, write to the Free Software
|
20
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
21
17
|
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
|
22
21
|
mypath = File.dirname(__FILE__)
|
23
22
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
24
23
|
$: << File.dirname(__FILE__) + '/../ext/cdio'
|
data/example/drivers.rb
CHANGED
@@ -1,26 +1,24 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: drivers.rb,v 1.
|
2
|
+
# $Id: drivers.rb,v 1.12 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# Program to read CD blocks. See read-cd from the libcdio distribution
|
5
5
|
# for a more complete program.
|
6
6
|
|
7
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
7
8
|
#
|
8
|
-
#
|
9
|
+
# This program is free software: you can redistribute it and/or modify
|
10
|
+
# it under the terms of the GNU General Public License as published by
|
11
|
+
# the Free Software Foundation, either version 3 of the License, or
|
12
|
+
# (at your option) any later version.
|
9
13
|
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
# This program is distributed in the hope that it will be useful,
|
16
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18
|
-
# GNU General Public License for more details.
|
19
|
-
#
|
20
|
-
# You should have received a copy of the GNU General Public License
|
21
|
-
# along with this program; if not, write to the Free Software
|
22
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
14
|
+
# This program is distributed in the hope that it will be useful,
|
15
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
+
# GNU General Public License for more details.
|
23
18
|
#
|
19
|
+
# You should have received a copy of the GNU General Public License
|
20
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
|
24
22
|
mypath = File.dirname(__FILE__)
|
25
23
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
26
24
|
$: << File.dirname(__FILE__) + '/../ext/cdio'
|
data/example/eject.rb
CHANGED
@@ -1,24 +1,23 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: eject.rb,v 1.
|
2
|
+
# $Id: eject.rb,v 1.12 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# A program to eject and close CD-ROM drive
|
5
5
|
|
6
|
-
#
|
6
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
7
7
|
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
8
|
+
# This program is free software: you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation, either version 3 of the License, or
|
11
|
+
# (at your option) any later version.
|
12
12
|
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
# You should have received a copy of the GNU General Public License
|
19
|
-
# along with this program; if not, write to the Free Software
|
20
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
21
17
|
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
|
22
21
|
mypath = File.dirname(__FILE__)
|
23
22
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
24
23
|
$: << File.dirname(__FILE__) + '/../lib'
|
data/example/iso1.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: iso1.rb,v 1.
|
2
|
+
# $Id: iso1.rb,v 1.11 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# A simple program to show using libiso9660 to list files in a directory of
|
5
5
|
# an ISO-9660 image.
|
@@ -8,21 +8,20 @@
|
|
8
8
|
# use in the listing. Otherwise a compiled-in default ISO 9660 image
|
9
9
|
# name (that comes with the libcdio distribution) will be used.
|
10
10
|
|
11
|
-
# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
11
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
12
12
|
#
|
13
|
-
# This program is free software
|
13
|
+
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU General Public License as published by
|
15
|
-
# the Free Software Foundation
|
15
|
+
# the Free Software Foundation, either version 3 of the License, or
|
16
16
|
# (at your option) any later version.
|
17
|
-
#
|
17
|
+
#
|
18
18
|
# This program is distributed in the hope that it will be useful,
|
19
19
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
20
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
21
|
# GNU General Public License for more details.
|
22
|
-
#
|
22
|
+
#
|
23
23
|
# You should have received a copy of the GNU General Public License
|
24
|
-
# along with this program
|
25
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
24
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
26
25
|
|
27
26
|
mypath = File.dirname(__FILE__)
|
28
27
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
data/example/iso2.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: iso2.rb,v 1.
|
2
|
+
# $Id: iso2.rb,v 1.9 2008/05/02 13:05:39 karl Exp $
|
3
3
|
# A program to show using iso9660 to extract a file
|
4
4
|
# from an ISO-9660 image.
|
5
5
|
#
|
@@ -7,21 +7,20 @@
|
|
7
7
|
# use in the extraction. Otherwise a compiled in default ISO 9660
|
8
8
|
# image name (that comes with the libcdio distribution) will be used.
|
9
9
|
|
10
|
-
# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
10
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
11
11
|
#
|
12
|
-
# This program is free software
|
12
|
+
# This program is free software: you can redistribute it and/or modify
|
13
13
|
# it under the terms of the GNU General Public License as published by
|
14
|
-
# the Free Software Foundation
|
14
|
+
# the Free Software Foundation, either version 3 of the License, or
|
15
15
|
# (at your option) any later version.
|
16
|
-
#
|
16
|
+
#
|
17
17
|
# This program is distributed in the hope that it will be useful,
|
18
18
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
19
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20
20
|
# GNU General Public License for more details.
|
21
|
-
#
|
21
|
+
#
|
22
22
|
# You should have received a copy of the GNU General Public License
|
23
|
-
# along with this program
|
24
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
23
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
25
24
|
|
26
25
|
mypath = File.dirname(__FILE__)
|
27
26
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
data/example/iso3.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: iso3.rb,v 1.
|
2
|
+
# $Id: iso3.rb,v 1.9 2008/05/02 13:05:39 karl Exp $
|
3
3
|
#
|
4
4
|
# A program to show using ISO9660::IFS to extract a file
|
5
5
|
# from an ISO-9660 image.
|
@@ -8,21 +8,20 @@
|
|
8
8
|
# use in the extraction. Otherwise a compiled in default ISO 9660
|
9
9
|
# image name (that comes with the libcdio distribution) will be used.
|
10
10
|
|
11
|
-
# Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
|
11
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
12
12
|
#
|
13
|
-
# This program is free software
|
13
|
+
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU General Public License as published by
|
15
|
-
# the Free Software Foundation
|
15
|
+
# the Free Software Foundation, either version 3 of the License, or
|
16
16
|
# (at your option) any later version.
|
17
|
-
#
|
17
|
+
#
|
18
18
|
# This program is distributed in the hope that it will be useful,
|
19
19
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
20
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
21
|
# GNU General Public License for more details.
|
22
|
-
#
|
22
|
+
#
|
23
23
|
# You should have received a copy of the GNU General Public License
|
24
|
-
# along with this program
|
25
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
24
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
26
25
|
|
27
26
|
mypath = File.dirname(__FILE__)
|
28
27
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
data/example/tracks.rb
CHANGED
@@ -1,24 +1,23 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# $Id: tracks.rb,v 1.
|
2
|
+
# $Id: tracks.rb,v 1.12 2008/05/02 13:05:40 karl Exp $
|
3
3
|
#
|
4
4
|
# A program to show CD information
|
5
5
|
|
6
|
-
#
|
6
|
+
# Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
7
7
|
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
8
|
+
# This program is free software: you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation, either version 3 of the License, or
|
11
|
+
# (at your option) any later version.
|
12
12
|
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
# You should have received a copy of the GNU General Public License
|
19
|
-
# along with this program; if not, write to the Free Software
|
20
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
21
17
|
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
|
22
21
|
mypath = File.dirname(__FILE__)
|
23
22
|
if(File::exists?(mypath + "/../lib/cdio.rb"))
|
24
23
|
$: << File.dirname(__FILE__) + '/../lib'
|
data/ext/cdio/Makefile
CHANGED
@@ -4,62 +4,58 @@ SHELL = /bin/sh
|
|
4
4
|
#### Start of system configuration section. ####
|
5
5
|
|
6
6
|
srcdir = .
|
7
|
-
topdir = /usr/lib/ruby/1.8/
|
7
|
+
topdir = /usr/lib/ruby/1.8/i486-linux
|
8
8
|
hdrdir = $(topdir)
|
9
9
|
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
10
|
prefix = $(DESTDIR)/usr/local
|
11
|
-
exec_prefix = $(
|
12
|
-
sitedir = $(
|
11
|
+
exec_prefix = $(prefix)
|
12
|
+
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
13
13
|
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
14
14
|
docdir = $(datarootdir)/doc/$(PACKAGE)
|
15
15
|
dvidir = $(docdir)
|
16
16
|
datarootdir = $(prefix)/share
|
17
17
|
archdir = $(rubylibdir)/$(arch)
|
18
|
-
sbindir = $(
|
18
|
+
sbindir = $(exec_prefix)/sbin
|
19
19
|
psdir = $(docdir)
|
20
|
-
vendordir = $(libdir)/ruby/vendor_ruby
|
21
20
|
localedir = $(datarootdir)/locale
|
22
21
|
htmldir = $(docdir)
|
23
|
-
datadir = $(
|
24
|
-
includedir = $(
|
25
|
-
infodir = $(
|
22
|
+
datadir = $(datarootdir)
|
23
|
+
includedir = $(prefix)/include
|
24
|
+
infodir = $(prefix)/share/info
|
26
25
|
sysconfdir = $(DESTDIR)/etc
|
27
|
-
mandir = $(
|
28
|
-
libdir = $(
|
29
|
-
sharedstatedir = $(
|
26
|
+
mandir = $(prefix)/share/man
|
27
|
+
libdir = $(exec_prefix)/lib
|
28
|
+
sharedstatedir = $(prefix)/com
|
30
29
|
oldincludedir = $(DESTDIR)/usr/include
|
31
30
|
pdfdir = $(docdir)
|
32
31
|
sitearchdir = $(sitelibdir)/$(sitearch)
|
33
|
-
|
34
|
-
bindir = $(DESTDIR)/usr/bin
|
32
|
+
bindir = $(exec_prefix)/bin
|
35
33
|
localstatedir = $(DESTDIR)/var
|
36
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
37
34
|
sitelibdir = $(sitedir)/$(ruby_version)
|
38
|
-
libexecdir = $(
|
35
|
+
libexecdir = $(prefix)/lib/ruby1.8
|
39
36
|
|
40
|
-
CC =
|
37
|
+
CC = cc
|
41
38
|
LIBRUBY = $(LIBRUBY_SO)
|
42
39
|
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
43
|
-
LIBRUBYARG_SHARED = -
|
40
|
+
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
44
41
|
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
45
42
|
|
46
43
|
RUBY_EXTCONF_H =
|
47
|
-
CFLAGS = -fPIC -
|
44
|
+
CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 -fPIC
|
48
45
|
INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
49
46
|
CPPFLAGS =
|
50
47
|
CXXFLAGS = $(CFLAGS)
|
51
|
-
DLDFLAGS = -L.
|
48
|
+
DLDFLAGS = -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic
|
52
49
|
LDSHARED = $(CC) -shared
|
53
50
|
AR = ar
|
54
51
|
EXEEXT =
|
55
52
|
|
56
|
-
RUBY_INSTALL_NAME =
|
57
|
-
RUBY_SO_NAME =
|
58
|
-
arch =
|
59
|
-
sitearch =
|
60
|
-
vendorarch = i586-linux
|
53
|
+
RUBY_INSTALL_NAME = ruby1.8
|
54
|
+
RUBY_SO_NAME = ruby1.8
|
55
|
+
arch = i486-linux
|
56
|
+
sitearch = i486-linux
|
61
57
|
ruby_version = 1.8
|
62
|
-
ruby = /usr/bin/
|
58
|
+
ruby = /usr/bin/ruby1.8
|
63
59
|
RUBY = $(ruby)
|
64
60
|
RM = rm -f
|
65
61
|
MAKEDIRS = mkdir -p
|
@@ -73,17 +69,17 @@ COPY = cp
|
|
73
69
|
preload =
|
74
70
|
|
75
71
|
libpath = . $(libdir)
|
76
|
-
LIBPATH = -L
|
72
|
+
LIBPATH = -L"." -L"$(libdir)"
|
77
73
|
DEFFILE =
|
78
74
|
|
79
|
-
CLEANFILES =
|
75
|
+
CLEANFILES = mkmf.log
|
80
76
|
DISTCLEANFILES =
|
81
77
|
|
82
78
|
extout =
|
83
79
|
extout_prefix =
|
84
80
|
target_prefix =
|
85
81
|
LOCAL_LIBS = -L/usr/local/lib -lcdio -lm
|
86
|
-
LIBS = $(LIBRUBYARG_SHARED) -ldl -lcrypt -lm -lc
|
82
|
+
LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lcrypt -lm -lc
|
87
83
|
SRCS = rubycdio_wrap.c
|
88
84
|
OBJS = rubycdio_wrap.o
|
89
85
|
TARGET = rubycdio
|