libxml-ruby 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,23 @@
1
+ == 1.1.3 / 2009-03-18 Charlie Savage
2
+
3
+ * Improve performance 10 to 20% by turning on libxml2's dictionary
4
+ feature that allows parsers to reuse previously parsed strings.
5
+
6
+ * Fix XML::Node#remove! to work correctly with libxml's dictionary feature.
7
+
8
+ * Correctly set up parser context options.
9
+
10
+ * Simplify DOM modification code (Node#next=, Node#prev=, Node#sibling=) and
11
+ update documenation.
12
+
13
+ * Deprecated Node#add_child and Node#child=, use Node#<< instead
14
+
15
+ * Fix documentation for Node#<<
16
+
17
+ * Added Document#import to enable moving nodes from one document
18
+ to another document.
19
+
20
+
1
21
  == 1.1.2 / 2009-03-12 Charlie Savage
2
22
 
3
23
  * Added XML::Node#inner_xml helper method.
data/ext/libxml/build.log CHANGED
@@ -1,4 +1,4 @@
1
- rake aborted!
2
- No Rakefile found (looking for: build.rake)
3
- c:/Development/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2343:in `raw_load_rakefile'
4
- (See full trace by running task with --trace)
1
+ rake aborted!
2
+ No Rakefile found (looking for: build.rake)
3
+ c:/Development/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2343:in `raw_load_rakefile'
4
+ (See full trace by running task with --trace)
@@ -1,278 +1,278 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'rbconfig'
4
-
5
- def method_missing(s, *args)
6
- if v = Config::CONFIG[s] || Config::CONFIG[s.upcase]
7
- return v
8
- else
9
- puts "missing: #{s}"
10
- super
11
- end
12
- end
13
-
14
- require 'mkmf'
15
-
16
- if defined?(CFLAGS)
17
- if CFLAGS.index(CONFIG['CCDLFLAGS'])
18
- $CFLAGS = CFLAGS + ' ' + CONFIG['CCDLFLAGS']
19
- else
20
- $CFLAGS = CFLAGS
21
- end
22
- else
23
- $CFLAGS = CONFIG['CFLAGS']
24
- end
25
- $LDFLAGS = CONFIG['LDFLAGS']
26
- $LIBPATH.push(Config::CONFIG['libdir'])
27
-
28
- def crash(str)
29
- printf(" extconf failure: %s\n", str)
30
- exit 1
31
- end
32
-
33
- dir_config('iconv')
34
- dir_config('zlib')
35
-
36
- have_library('socket','socket')
37
- have_library('nsl','gethostbyname')
38
-
39
- unless have_library('m', 'atan')
40
- # try again for gcc 4.0
41
- saveflags = $CFLAGS
42
- $CFLAGS += ' -fno-builtin'
43
- unless have_library('m', 'atan')
44
- crash('need libm')
45
- end
46
- $CFLAGS = saveflags
47
- end
48
-
49
- unless have_library('z', 'inflate') or
50
- have_library('zlib', 'inflate') or
51
- have_library('zlib1', 'inflate')
52
- crash('need zlib')
53
- else
54
- $defs.push('-DHAVE_ZLIB_H')
55
- end
56
-
57
- unless have_library('iconv','iconv_open') or
58
- have_library('iconv','libiconv_open') or
59
- have_library('libiconv', 'libiconv_open') or
60
- have_library('libiconv', 'iconv_open') or
61
- have_library('c','iconv_open') or
62
- have_library('recode','iconv_open') or
63
- have_library('iconv')
64
- crash(<<EOL)
65
- need libiconv.
66
-
67
- Install the libiconv or try passing one of the following options
68
- to extconf.rb:
69
-
70
- --with-iconv-dir=/path/to/iconv
71
- --with-iconv-lib=/path/to/iconv/lib
72
- --with-iconv-include=/path/to/iconv/include
73
- EOL
74
- end
75
-
76
- if (xc = with_config('xml2-config')) or RUBY_PLATFORM.match(/darwin/i) then
77
- xc = 'xml2-config' if xc == true or xc.nil?
78
- cflags = `#{xc} --cflags`.chomp
79
- if $? != 0
80
- cflags = nil
81
- else
82
- libs = `#{xc} --libs`.chomp
83
- if $? != 0
84
- libs = nil
85
- else
86
- $CFLAGS += ' ' + cflags
87
- $libs = libs + " " + $libs
88
- end
89
- end
90
- else
91
- dir_config('xml2')
92
- end
93
-
94
- unless (cflags and libs) or
95
- (have_library('xml2', 'xmlParseDoc') or
96
- have_library('libxml2', 'xmlParseDoc') or
97
- find_library('xml2', 'xmlParseDoc', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
98
- (have_header('libxml/xmlversion.h') or
99
- find_header('libxml/xmlversion.h',
100
- "#{CONFIG['prefix']}/include",
101
- "#{CONFIG['prefix']}/include/libxml2",
102
- '/opt/include/libxml2',
103
- '/usr/local/include/libxml2',
104
- '/usr/include/libxml2'))
105
- crash(<<EOL)
106
- need libxml2.
107
-
108
- Install the library or try one of the following options to extconf.rb:
109
-
110
- --with-xml2-config=/path/to/xml2-config
111
- --with-xml2-dir=/path/to/libxml2
112
- --with-xml2-lib=/path/to/libxml2/lib
113
- --with-xml2-include=/path/to/libxml2/include
114
- EOL
115
- end
116
-
117
- # For FreeBSD add /usr/local/include
118
- $INCFLAGS << " -I/usr/local/include"
119
-
120
- $CFLAGS << ' ' << $INCFLAGS
121
- #$INSTALLFILES = [["libxml.rb", "$(RUBYLIBDIR)", "../xml"]]
122
-
123
- create_header()
124
- create_makefile('libxml_ruby')
125
-
126
- __END__
127
-
128
- SHELL = /bin/sh
129
-
130
- #### Start of system configuration section. ####
131
-
132
- # I think we can remove all the parts related to the install target
133
- # since setup.rb and RubyGems handles that on their own. Correct?
134
-
135
- srcdir = .
136
- topdir = #{archdir} #/usr/lib/ruby/1.8/x86_64-linux
137
- hdrdir = $(topdir)
138
- VPATH = $(srcdir):$(topdir):$(hdrdir)
139
- prefix = $(DESTDIR)/usr
140
- exec_prefix = $(DESTDIR)/usr
141
- sitedir = $(DESTDIR)/usr/local/lib/site_ruby
142
- rubylibdir = $(libdir)/ruby/$(ruby_version)
143
- docdir = $(datarootdir)/doc/$(PACKAGE)
144
- dvidir = $(docdir)
145
- datarootdir = $(prefix)/share
146
- archdir = $(rubylibdir)/$(arch)
147
- sbindir = $(exec_prefix)/sbin
148
- psdir = $(docdir)
149
- localedir = $(datarootdir)/locale
150
- htmldir = $(docdir)
151
- datadir = $(datarootdir)
152
- includedir = $(prefix)/include
153
- infodir = $(prefix)/share/info
154
- sysconfdir = $(DESTDIR)/etc
155
- mandir = $(prefix)/share/man
156
- libdir = $(DESTDIR)/usr/lib
157
- sharedstatedir = $(prefix)/com
158
- oldincludedir = $(DESTDIR)/usr/include
159
- pdfdir = $(docdir)
160
- sitearchdir = $(sitelibdir)/$(sitearch)
161
- bindir = $(exec_prefix)/bin
162
- localstatedir = $(DESTDIR)/var
163
- sitelibdir = $(sitedir)/$(ruby_version)
164
- libexecdir = $(prefix)/lib/ruby1.8
165
-
166
- CC = cc
167
- LIBRUBY = $(LIBRUBY_SO)
168
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
169
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
170
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
171
-
172
- RUBY_EXTCONF_H = extconf.h
173
- CFLAGS = -fPIC -fno-strict-aliasing -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/include/libxml2
174
- INCFLAGS = -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/include/libxml2
175
- CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\"
176
- CXXFLAGS = $(CFLAGS)
177
- DLDFLAGS = -L. -rdynamic -Wl,-export-dynamic
178
- LDSHARED = $(CC) -shared
179
- AR = ar
180
- EXEEXT =
181
-
182
- RUBY_INSTALL_NAME = ruby1.8
183
- RUBY_SO_NAME = ruby1.8
184
- arch = x86_64-linux
185
- sitearch = x86_64-linux
186
- ruby_version = 1.8
187
- ruby = /usr/bin/ruby1.8
188
- RUBY = $(ruby)
189
- RM = rm -f
190
- MAKEDIRS = mkdir -p
191
- INSTALL = /usr/bin/install -c
192
- INSTALL_PROG = $(INSTALL) -m 0755
193
- INSTALL_DATA = $(INSTALL) -m 644
194
- COPY = cp
195
-
196
- preload =
197
-
198
- libpath = . $(libdir) /usr/lib
199
- LIBPATH = -L"." -L"$(libdir)" -L"/usr/lib"
200
- DEFFILE =
201
-
202
- CLEANFILES =
203
- DISTCLEANFILES =
204
-
205
- extout =
206
- extout_prefix =
207
- target_prefix = /xml
208
- LOCAL_LIBS =
209
- LIBS = $(LIBRUBYARG_SHARED) -lxml2 -lc -lz -lm -lnsl -lpthread -ldl -lcrypt -lm -lc
210
-
211
- SRCS = #{srcs.join(' ')}
212
- OBJS = #{objs.join(' ')}
213
-
214
- TARGET = #{target}
215
- DLLIB = $(TARGET).so
216
- EXTSTATIC =
217
- STATIC_LIB =
218
-
219
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
220
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
221
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
222
-
223
- TARGET_SO = $(DLLIB)
224
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
225
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
226
-
227
- all: $(DLLIB)
228
- static: $(STATIC_LIB)
229
-
230
- clean:
231
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
232
-
233
- distclean: clean
234
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
235
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
236
-
237
- realclean: distclean
238
- install: install-so install-rb
239
-
240
- install-so: $(RUBYARCHDIR)
241
- install-so: $(RUBYARCHDIR)/$(DLLIB)
242
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
243
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
244
- install-rb: pre-install-rb install-rb-default
245
- install-rb-default: pre-install-rb-default
246
- pre-install-rb: Makefile
247
- pre-install-rb-default: Makefile
248
- $(RUBYARCHDIR):
249
- $(MAKEDIRS) $@
250
-
251
- site-install: site-install-so site-install-rb
252
- site-install-so: install-so
253
- site-install-rb: install-rb
254
-
255
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
256
-
257
- .cc.o:
258
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
259
-
260
- .cxx.o:
261
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
262
-
263
- .cpp.o:
264
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
265
-
266
- .C.o:
267
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
268
-
269
- .c.o:
270
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
271
-
272
- $(DLLIB): $(OBJS)
273
- @-$(RM) $@
274
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
275
-
276
-
277
- $(OBJS): ruby.h defines.h $(RUBY_EXTCONF_H)
278
-
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rbconfig'
4
+
5
+ def method_missing(s, *args)
6
+ if v = Config::CONFIG[s] || Config::CONFIG[s.upcase]
7
+ return v
8
+ else
9
+ puts "missing: #{s}"
10
+ super
11
+ end
12
+ end
13
+
14
+ require 'mkmf'
15
+
16
+ if defined?(CFLAGS)
17
+ if CFLAGS.index(CONFIG['CCDLFLAGS'])
18
+ $CFLAGS = CFLAGS + ' ' + CONFIG['CCDLFLAGS']
19
+ else
20
+ $CFLAGS = CFLAGS
21
+ end
22
+ else
23
+ $CFLAGS = CONFIG['CFLAGS']
24
+ end
25
+ $LDFLAGS = CONFIG['LDFLAGS']
26
+ $LIBPATH.push(Config::CONFIG['libdir'])
27
+
28
+ def crash(str)
29
+ printf(" extconf failure: %s\n", str)
30
+ exit 1
31
+ end
32
+
33
+ dir_config('iconv')
34
+ dir_config('zlib')
35
+
36
+ have_library('socket','socket')
37
+ have_library('nsl','gethostbyname')
38
+
39
+ unless have_library('m', 'atan')
40
+ # try again for gcc 4.0
41
+ saveflags = $CFLAGS
42
+ $CFLAGS += ' -fno-builtin'
43
+ unless have_library('m', 'atan')
44
+ crash('need libm')
45
+ end
46
+ $CFLAGS = saveflags
47
+ end
48
+
49
+ unless have_library('z', 'inflate') or
50
+ have_library('zlib', 'inflate') or
51
+ have_library('zlib1', 'inflate')
52
+ crash('need zlib')
53
+ else
54
+ $defs.push('-DHAVE_ZLIB_H')
55
+ end
56
+
57
+ unless have_library('iconv','iconv_open') or
58
+ have_library('iconv','libiconv_open') or
59
+ have_library('libiconv', 'libiconv_open') or
60
+ have_library('libiconv', 'iconv_open') or
61
+ have_library('c','iconv_open') or
62
+ have_library('recode','iconv_open') or
63
+ have_library('iconv')
64
+ crash(<<EOL)
65
+ need libiconv.
66
+
67
+ Install the libiconv or try passing one of the following options
68
+ to extconf.rb:
69
+
70
+ --with-iconv-dir=/path/to/iconv
71
+ --with-iconv-lib=/path/to/iconv/lib
72
+ --with-iconv-include=/path/to/iconv/include
73
+ EOL
74
+ end
75
+
76
+ if (xc = with_config('xml2-config')) or RUBY_PLATFORM.match(/darwin/i) then
77
+ xc = 'xml2-config' if xc == true or xc.nil?
78
+ cflags = `#{xc} --cflags`.chomp
79
+ if $? != 0
80
+ cflags = nil
81
+ else
82
+ libs = `#{xc} --libs`.chomp
83
+ if $? != 0
84
+ libs = nil
85
+ else
86
+ $CFLAGS += ' ' + cflags
87
+ $libs = libs + " " + $libs
88
+ end
89
+ end
90
+ else
91
+ dir_config('xml2')
92
+ end
93
+
94
+ unless (cflags and libs) or
95
+ (have_library('xml2', 'xmlParseDoc') or
96
+ have_library('libxml2', 'xmlParseDoc') or
97
+ find_library('xml2', 'xmlParseDoc', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
98
+ (have_header('libxml/xmlversion.h') or
99
+ find_header('libxml/xmlversion.h',
100
+ "#{CONFIG['prefix']}/include",
101
+ "#{CONFIG['prefix']}/include/libxml2",
102
+ '/opt/include/libxml2',
103
+ '/usr/local/include/libxml2',
104
+ '/usr/include/libxml2'))
105
+ crash(<<EOL)
106
+ need libxml2.
107
+
108
+ Install the library or try one of the following options to extconf.rb:
109
+
110
+ --with-xml2-config=/path/to/xml2-config
111
+ --with-xml2-dir=/path/to/libxml2
112
+ --with-xml2-lib=/path/to/libxml2/lib
113
+ --with-xml2-include=/path/to/libxml2/include
114
+ EOL
115
+ end
116
+
117
+ # For FreeBSD add /usr/local/include
118
+ $INCFLAGS << " -I/usr/local/include"
119
+
120
+ $CFLAGS << ' ' << $INCFLAGS
121
+ #$INSTALLFILES = [["libxml.rb", "$(RUBYLIBDIR)", "../xml"]]
122
+
123
+ create_header()
124
+ create_makefile('libxml_ruby')
125
+
126
+ __END__
127
+
128
+ SHELL = /bin/sh
129
+
130
+ #### Start of system configuration section. ####
131
+
132
+ # I think we can remove all the parts related to the install target
133
+ # since setup.rb and RubyGems handles that on their own. Correct?
134
+
135
+ srcdir = .
136
+ topdir = #{archdir} #/usr/lib/ruby/1.8/x86_64-linux
137
+ hdrdir = $(topdir)
138
+ VPATH = $(srcdir):$(topdir):$(hdrdir)
139
+ prefix = $(DESTDIR)/usr
140
+ exec_prefix = $(DESTDIR)/usr
141
+ sitedir = $(DESTDIR)/usr/local/lib/site_ruby
142
+ rubylibdir = $(libdir)/ruby/$(ruby_version)
143
+ docdir = $(datarootdir)/doc/$(PACKAGE)
144
+ dvidir = $(docdir)
145
+ datarootdir = $(prefix)/share
146
+ archdir = $(rubylibdir)/$(arch)
147
+ sbindir = $(exec_prefix)/sbin
148
+ psdir = $(docdir)
149
+ localedir = $(datarootdir)/locale
150
+ htmldir = $(docdir)
151
+ datadir = $(datarootdir)
152
+ includedir = $(prefix)/include
153
+ infodir = $(prefix)/share/info
154
+ sysconfdir = $(DESTDIR)/etc
155
+ mandir = $(prefix)/share/man
156
+ libdir = $(DESTDIR)/usr/lib
157
+ sharedstatedir = $(prefix)/com
158
+ oldincludedir = $(DESTDIR)/usr/include
159
+ pdfdir = $(docdir)
160
+ sitearchdir = $(sitelibdir)/$(sitearch)
161
+ bindir = $(exec_prefix)/bin
162
+ localstatedir = $(DESTDIR)/var
163
+ sitelibdir = $(sitedir)/$(ruby_version)
164
+ libexecdir = $(prefix)/lib/ruby1.8
165
+
166
+ CC = cc
167
+ LIBRUBY = $(LIBRUBY_SO)
168
+ LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
169
+ LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
170
+ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
171
+
172
+ RUBY_EXTCONF_H = extconf.h
173
+ CFLAGS = -fPIC -fno-strict-aliasing -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/include/libxml2
174
+ INCFLAGS = -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/include/libxml2
175
+ CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\"
176
+ CXXFLAGS = $(CFLAGS)
177
+ DLDFLAGS = -L. -rdynamic -Wl,-export-dynamic
178
+ LDSHARED = $(CC) -shared
179
+ AR = ar
180
+ EXEEXT =
181
+
182
+ RUBY_INSTALL_NAME = ruby1.8
183
+ RUBY_SO_NAME = ruby1.8
184
+ arch = x86_64-linux
185
+ sitearch = x86_64-linux
186
+ ruby_version = 1.8
187
+ ruby = /usr/bin/ruby1.8
188
+ RUBY = $(ruby)
189
+ RM = rm -f
190
+ MAKEDIRS = mkdir -p
191
+ INSTALL = /usr/bin/install -c
192
+ INSTALL_PROG = $(INSTALL) -m 0755
193
+ INSTALL_DATA = $(INSTALL) -m 644
194
+ COPY = cp
195
+
196
+ preload =
197
+
198
+ libpath = . $(libdir) /usr/lib
199
+ LIBPATH = -L"." -L"$(libdir)" -L"/usr/lib"
200
+ DEFFILE =
201
+
202
+ CLEANFILES =
203
+ DISTCLEANFILES =
204
+
205
+ extout =
206
+ extout_prefix =
207
+ target_prefix = /xml
208
+ LOCAL_LIBS =
209
+ LIBS = $(LIBRUBYARG_SHARED) -lxml2 -lc -lz -lm -lnsl -lpthread -ldl -lcrypt -lm -lc
210
+
211
+ SRCS = #{srcs.join(' ')}
212
+ OBJS = #{objs.join(' ')}
213
+
214
+ TARGET = #{target}
215
+ DLLIB = $(TARGET).so
216
+ EXTSTATIC =
217
+ STATIC_LIB =
218
+
219
+ RUBYCOMMONDIR = $(sitedir)$(target_prefix)
220
+ RUBYLIBDIR = $(sitelibdir)$(target_prefix)
221
+ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
222
+
223
+ TARGET_SO = $(DLLIB)
224
+ CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
225
+ CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
226
+
227
+ all: $(DLLIB)
228
+ static: $(STATIC_LIB)
229
+
230
+ clean:
231
+ @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
232
+
233
+ distclean: clean
234
+ @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
235
+ @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
236
+
237
+ realclean: distclean
238
+ install: install-so install-rb
239
+
240
+ install-so: $(RUBYARCHDIR)
241
+ install-so: $(RUBYARCHDIR)/$(DLLIB)
242
+ $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
243
+ $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
244
+ install-rb: pre-install-rb install-rb-default
245
+ install-rb-default: pre-install-rb-default
246
+ pre-install-rb: Makefile
247
+ pre-install-rb-default: Makefile
248
+ $(RUBYARCHDIR):
249
+ $(MAKEDIRS) $@
250
+
251
+ site-install: site-install-so site-install-rb
252
+ site-install-so: install-so
253
+ site-install-rb: install-rb
254
+
255
+ .SUFFIXES: .c .m .cc .cxx .cpp .C .o
256
+
257
+ .cc.o:
258
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
259
+
260
+ .cxx.o:
261
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
262
+
263
+ .cpp.o:
264
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
265
+
266
+ .C.o:
267
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
268
+
269
+ .c.o:
270
+ $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
271
+
272
+ $(DLLIB): $(OBJS)
273
+ @-$(RM) $@
274
+ $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
275
+
276
+
277
+ $(OBJS): ruby.h defines.h $(RUBY_EXTCONF_H)
278
+