rbcdio 0.02 → 0.03

Sign up to get free protection for your applications and to get access to all the features.
data/example/audio.rb CHANGED
@@ -1,26 +1,24 @@
1
1
  #!/usr/bin/env ruby
2
- # $Id: audio.rb,v 1.10 2007/10/13 23:25:41 rocky Exp $
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
- # Copyright (C) 2006 Rocky Bernstein <rocky@gnu.org>
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
- # This program is free software; you can redistribute it and/or modify
11
- # it under the terms of the GNU General Public License as published by
12
- # the Free Software Foundation; either version 2 of the License, or
13
- # (at your option) any later version.
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.11 2007/10/13 23:25:41 rocky Exp $
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
- # Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
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
- # This program is free software; you can redistribute it and/or modify
11
- # it under the terms of the GNU General Public License as published by
12
- # the Free Software Foundation; either version 2 of the License, or
13
- # (at your option) any later version.
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
- #$Id: cdchange.rb,v 1.2 2007/10/13 23:31:51 rocky Exp $ -*- Python -*-
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
- # Copyright (C) 2007 Rocky Bernstein <rocky@gnu.org>
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 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.11 2007/10/13 23:25:41 rocky Exp $
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
- # Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
6
+ # Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
7
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 2 of the License, or
11
- # (at your option) any later version.
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
- # 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.
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.11 2007/10/13 23:25:41 rocky Exp $
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
- # Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
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
- # This program is free software; you can redistribute it and/or modify
11
- # it under the terms of the GNU General Public License as published by
12
- # the Free Software Foundation; either version 2 of the License, or
13
- # (at your option) any later version.
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.11 2007/10/13 23:25:41 rocky Exp $
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
- # Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
6
+ # Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
7
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 2 of the License, or
11
- # (at your option) any later version.
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
- # 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.
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.10 2007/10/13 23:25:41 rocky Exp $
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; you can redistribute it and/or modify
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; either version 2 of the License, or
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; if not, write to the Free Software
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.8 2007/10/13 23:25:41 rocky Exp $
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; you can redistribute it and/or modify
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; either version 2 of the License, or
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; if not, write to the Free Software
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.8 2007/10/13 23:25:42 rocky Exp $
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; you can redistribute it and/or modify
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; either version 2 of the License, or
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; if not, write to the Free Software
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.11 2007/10/13 23:25:42 rocky Exp $
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
- # Copyright (C) 2006, 2007 Rocky Bernstein <rocky@gnu.org>
6
+ # Copyright (C) 2006, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
7
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 2 of the License, or
11
- # (at your option) any later version.
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
- # 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.
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/i586-linux
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 = $(DESTDIR)/usr
12
- sitedir = $(libdir)/ruby/site_ruby
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 = $(DESTDIR)/usr/sbin
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 = $(DESTDIR)/usr/share
24
- includedir = $(DESTDIR)/usr/include
25
- infodir = $(DESTDIR)/usr/share/info
22
+ datadir = $(datarootdir)
23
+ includedir = $(prefix)/include
24
+ infodir = $(prefix)/share/info
26
25
  sysconfdir = $(DESTDIR)/etc
27
- mandir = $(DESTDIR)/usr/share/man
28
- libdir = $(DESTDIR)/usr/lib
29
- sharedstatedir = $(DESTDIR)/usr/com
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
- vendorarchdir = $(vendorlibdir)/$(vendorarch)
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 = $(DESTDIR)/usr/lib
35
+ libexecdir = $(prefix)/lib/ruby1.8
39
36
 
40
- CC = gcc
37
+ CC = cc
41
38
  LIBRUBY = $(LIBRUBY_SO)
42
39
  LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
43
- LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L. -L$(libdir) -l$(RUBY_SO_NAME)
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 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -g -fno-strict-aliasing -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. -rdynamic -Wl,-export-dynamic
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 = ruby
57
- RUBY_SO_NAME = ruby
58
- arch = i586-linux
59
- sitearch = i586-linux
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/ruby
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'.' -L'$(libdir)' -Wl,-R'$(libdir)'
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