1 bin
: $(PROGRAM
) $(WPROGRAM
)
5 .SUFFIXES
: .inc .h .c .y
10 SPEC_GIT_BASE
= git
://github.com
/rubyspec
11 MSPEC_GIT_URL
= $(SPEC_GIT_BASE
)/mspec.git
12 RUBYSPEC_GIT_URL
= $(SPEC_GIT_BASE
)/rubyspec.git
14 STATIC_RUBY
= static-ruby
17 RBCONFIG
= .
/.rbconfig.time
18 LIBRUBY_EXTS
= .
/.libruby-with-ext.time
19 RDOCOUT
= $(EXTOUT
)/rdoc
21 DMYEXT
= dmyext.
$(OBJEXT
)
22 NORMALMAINOBJ
= main.
$(OBJEXT
)
23 MAINOBJ
= $(NORMALMAINOBJ
)
26 MINIOBJS
= $(ARCHMINIOBJS
) dmyencoding.
$(OBJEXT
) miniprelude.
$(OBJEXT
)
28 COMMONOBJS
= array.
$(OBJEXT
) \
35 enumerator.
$(OBJEXT
) \
74 blockinlining.
$(OBJEXT
) \
86 OBJS
= dln.
$(OBJEXT
) \
91 GOLFOBJS
= goruby.
$(OBJEXT
) golf_prelude.
$(OBJEXT
)
93 PRELUDE_SCRIPTS
= $(srcdir)/prelude.rb
$(srcdir)/enc
/prelude.rb
$(srcdir)/gem_prelude.rb
94 PRELUDES
= prelude.c miniprelude.c golf_prelude.c
96 SCRIPT_ARGS
= --dest-dir
="$(DESTDIR)" \
97 --extout
="$(EXTOUT)" \
98 --mflags
="$(MFLAGS)" \
99 --make-flags
="$(MAKEFLAGS)"
100 EXTMK_ARGS
= $(SCRIPT_ARGS
) --extension
$(EXTS
) --extstatic
$(EXTSTATIC
) --
101 INSTRUBY_ARGS
= $(SCRIPT_ARGS
) \
102 --data-mode
=$(INSTALL_DATA_MODE
) \
103 --prog-mode
=$(INSTALL_PROG_MODE
) \
104 --installed-list
$(INSTALLED_LIST
)
105 INSTALL_PROG_MODE
= 0755
106 INSTALL_DATA_MODE
= 0644
108 PRE_LIBRUBY_UPDATE
= $(MINIRUBY
) -e
'ARGV[1] or File.unlink(ARGV[0]) rescue nil' -- \
109 $(LIBRUBY_EXTS
) $(LIBRUBY_SO_UPDATE
)
111 TESTSDIR
= $(srcdir)/test
112 TESTWORKDIR
= testwork
114 BOOTSTRAPRUBY
= $(BASERUBY
)
116 COMPILE_PRELUDE
= $(MINIRUBY
) -I
$(srcdir) -rrbconfig
$(srcdir)/tool
/compile_prelude.rb
120 all: $(MKFILES
) incs
$(PREP
) $(RBCONFIG
) $(LIBRUBY
) encs
121 @
$(MINIRUBY
) $(srcdir)/ext
/extmk.rb
--make
="$(MAKE)" $(EXTMK_ARGS
)
122 prog
: $(PROGRAM
) $(WPROGRAM
)
125 $(MINIRUBY
) -e
'p $$:'
129 miniruby
$(EXEEXT
): config.status
$(NORMALMAINOBJ
) $(MINIOBJS
) $(COMMONOBJS
) $(DMYEXT
) $(ARCHFILE
)
131 GORUBY
= go
$(RUBY_INSTALL_NAME
)
132 golf
: $(LIBRUBY
) $(GOLFOBJS
)
133 $(MAKE
) $(MFLAGS
) MAINOBJ
="$(GOLFOBJS)" PROGRAM
=$(GORUBY
)$(EXEEXT
) program
137 $(PROGRAM
): $(LIBRUBY
) $(MAINOBJ
) $(OBJS
) $(EXTOBJS
) $(SETUP
) $(PREP
)
139 $(LIBRUBY_A
): $(OBJS
) $(DMYEXT
) $(ARCHFILE
)
141 $(LIBRUBY_SO
): $(OBJS
) $(DLDOBJS
) $(LIBRUBY_A
) $(PREP
) $(LIBRUBY_SO_UPDATE
) $(BUILTIN_ENCOBJS
)
146 $(STATIC_RUBY
)$(EXEEXT
): $(MAINOBJ
) $(DLDOBJS
) $(EXTOBJS
) $(LIBRUBY_A
)
148 $(PURIFY
) $(CC
) $(MAINOBJ
) $(DLDOBJS
) $(EXTOBJS
) $(LIBRUBY_A
) $(MAINLIBS
) $(EXTLIBS
) $(LIBS
) $(OUTFLAG
)$@
$(LDFLAGS
) $(XLDFLAGS
)
150 ruby.imp
: $(COMMONOBJS
)
151 @
$(NM
) -Pgp
$(COMMONOBJS
) | awk
'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' |
sort -u
-o
$@
153 install: install-nodoc
$(RDOCTARGET
)
154 install-all
: install-nodoc install-doc
156 install-nodoc
: pre-install-nodoc do-install-nodoc post-install-nodoc
157 pre-install-nodoc
:: pre-install-local pre-install-ext
158 do-install-nodoc
: $(PREP
)
159 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --mantype
="$(MANTYPE)"
160 post-install-nodoc
:: post-install-local post-install-ext
162 install-local
: pre-install-local do-install-local post-install-local
163 pre-install-local
:: pre-install-bin pre-install-lib pre-install-man
164 do-install-local
: $(PREP
)
165 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=local
--mantype
="$(MANTYPE)"
166 post-install-local
:: post-install-bin post-install-lib post-install-man
168 install-ext
: pre-install-ext do-install-ext post-install-ext
169 pre-install-ext
:: pre-install-ext-arch pre-install-ext-comm
170 do-install-ext
: $(PREP
)
171 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=ext
172 post-install-ext
:: post-install-ext-arch post-install-ext-comm
174 install-arch
: pre-install-arch do-install-arch post-install-arch
175 pre-install-arch
:: pre-install-bin pre-install-ext-arch
176 do-install-arch
: $(PREP
)
177 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=bin
--install=ext-arch
178 post-install-arch
:: post-install-bin post-install-ext-arch
180 install-comm
: pre-install-comm do-install-comm post-install-comm
181 pre-install-comm
:: pre-install-lib pre-install-ext-comm pre-install-man
182 do-install-comm
: $(PREP
)
183 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=lib
--install=ext-comm
--install=man
184 post-install-comm
:: post-install-lib post-install-ext-comm post-install-man
186 install-bin
: pre-install-bin do-install-bin post-install-bin
187 pre-install-bin
:: install-prereq
188 do-install-bin
: $(PREP
)
189 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=bin
193 install-lib
: pre-install-lib do-install-lib post-install-lib
194 pre-install-lib
:: install-prereq
195 do-install-lib
: $(PREP
)
196 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=lib
200 install-ext-comm
: pre-install-ext-comm do-install-ext-comm post-install-ext-comm
201 pre-install-ext-comm
:: install-prereq
202 do-install-ext-comm
: $(PREP
)
203 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=ext-comm
204 post-install-ext-comm
::
207 install-ext-arch
: pre-install-ext-arch do-install-ext-arch post-install-ext-arch
208 pre-install-ext-arch
:: install-prereq
209 do-install-ext-arch
: $(PREP
)
210 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=ext-arch
211 post-install-ext-arch
::
214 install-man
: pre-install-man do-install-man post-install-man
215 pre-install-man
:: install-prereq
216 do-install-man
: $(PREP
)
217 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=man
--mantype
="$(MANTYPE)"
221 what-where
: no-install
222 no-install
: no-install-nodoc no-install-doc
223 what-where-all
: no-install-all
224 no-install-all
: no-install-nodoc
226 what-where-nodoc
: no-install-nodoc
227 no-install-nodoc
: pre-no-install-nodoc dont-install-nodoc post-no-install-nodoc
228 pre-no-install-nodoc
:: pre-no-install-local pre-no-install-ext
229 dont-install-nodoc
: $(PREP
)
230 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --mantype
="$(MANTYPE)"
231 post-no-install-nodoc
:: post-no-install-local post-no-install-ext
233 what-where-local
: no-install-local
234 no-install-local
: pre-no-install-local dont-install-local post-no-install-local
235 pre-no-install-local
:: pre-no-install-bin pre-no-install-lib pre-no-install-man
236 dont-install-local
: $(PREP
)
237 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=local
--mantype
="$(MANTYPE)"
238 post-no-install-local
:: post-no-install-bin post-no-install-lib post-no-install-man
240 what-where-ext
: no-install-ext
241 no-install-ext
: pre-no-install-ext dont-install-ext post-no-install-ext
242 pre-no-install-ext
:: pre-no-install-ext-arch pre-no-install-ext-comm
243 dont-install-ext
: $(PREP
)
244 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=ext
245 post-no-install-ext
:: post-no-install-ext-arch post-no-install-ext-comm
247 what-where-arch
: no-install-arch
248 no-install-arch
: pre-no-install-arch dont-install-arch post-no-install-arch
249 pre-no-install-arch
:: pre-no-install-bin pre-no-install-ext-arch
250 dont-install-arch
: $(PREP
)
251 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=bin
--install=ext-arch
252 post-no-install-arch
:: post-no-install-lib post-no-install-man post-no-install-ext-arch
254 what-where-comm
: no-install-comm
255 no-install-comm
: pre-no-install-comm dont-install-comm post-no-install-comm
256 pre-no-install-comm
:: pre-no-install-lib pre-no-install-ext-comm pre-no-install-man
257 dont-install-comm
: $(PREP
)
258 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=lib
--install=ext-comm
--install=man
259 post-no-install-comm
:: post-no-install-lib post-no-install-ext-comm post-no-install-man
261 what-where-bin
: no-install-bin
262 no-install-bin
: pre-no-install-bin dont-install-bin post-no-install-bin
263 pre-no-install-bin
:: install-prereq
264 dont-install-bin
: $(PREP
)
265 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=bin
266 post-no-install-bin
::
269 what-where-lib
: no-install-lib
270 no-install-lib
: pre-no-install-lib dont-install-lib post-no-install-lib
271 pre-no-install-lib
:: install-prereq
272 dont-install-lib
: $(PREP
)
273 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=lib
274 post-no-install-lib
::
277 what-where-ext-comm
: no-install-ext-comm
278 no-install-ext-comm
: pre-no-install-ext-comm dont-install-ext-comm post-no-install-ext-comm
279 pre-no-install-ext-comm
:: install-prereq
280 dont-install-ext-comm
: $(PREP
)
281 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=ext-comm
282 post-no-install-ext-comm
::
285 what-where-ext-arch
: no-install-ext-arch
286 no-install-ext-arch
: pre-no-install-ext-arch dont-install-ext-arch post-no-install-ext-arch
287 pre-no-install-ext-arch
:: install-prereq
288 dont-install-ext-arch
: $(PREP
)
289 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=ext-arch
290 post-no-install-ext-arch
::
293 what-where-man
: no-install-man
294 no-install-man
: pre-no-install-man dont-install-man post-no-install-man
295 pre-no-install-man
:: install-prereq
296 dont-install-man
: $(PREP
)
297 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=man
--mantype
="$(MANTYPE)"
298 post-no-install-man
::
301 install-doc
: rdoc pre-install-doc do-install-doc post-install-doc
302 pre-install-doc
:: install-prereq
303 do-install-doc
: $(PROGRAM
)
304 $(MINIRUBY
) $(srcdir)/instruby.rb
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=rdoc
--rdoc-output
="$(RDOCOUT)"
308 rdoc
: $(PROGRAM
) PHONY
309 @echo Generating RDoc documentation
310 $(RUNRUBY
) "$(srcdir)/bin/rdoc" --all --ri
--op
"$(RDOCOUT)" "$(srcdir)"
312 what-where-doc
: no-install-doc
313 no-install-doc
: pre-no-install-doc dont-install-doc post-no-install-doc
314 pre-no-install-doc
:: install-prereq
315 dont-install-doc
:: $(PREP
)
316 $(MINIRUBY
) $(srcdir)/instruby.rb
-n
--make
="$(MAKE)" $(INSTRUBY_ARGS
) --install=rdoc
--rdoc-output
="$(RDOCOUT)"
317 post-no-install-doc
::
320 CLEAR_INSTALLED_LIST
= clear-installed-list
322 install-prereq
: $(CLEAR_INSTALLED_LIST
)
324 clear-installed-list
:
325 @exit
> $(INSTALLED_LIST
)
327 clean: clean-ext clean-local clean-enc
329 @
$(RM
) $(OBJS
) $(MINIOBJS
) $(MAINOBJ
) $(LIBRUBY_A
) $(LIBRUBY_SO
) $(LIBRUBY
) $(LIBRUBY_ALIASES
)
330 @
$(RM
) $(PROGRAM
) $(WPROGRAM
) miniruby
$(EXEEXT
) dmyext.
$(OBJEXT
) $(ARCHFILE
) .
*.time
331 @
$(RM
) *.inc
$(GOLFOBJS
) y.tab.c y.output encdb.h transdb.h
334 @
-$(MAKE
) -f enc.mk
$(MFLAGS
) clean
336 distclean: distclean-ext distclean-local distclean-enc
337 distclean-local
:: clean-local
338 @
$(RM
) $(MKFILES
) $(arch_hdrdir
)/ruby
/config.h rbconfig.rb yasmdata.rb encdb.h
339 @
$(RM
) config.cache config.log config.status config.status.lineno
$(PRELUDES
)
340 @
$(RM
) *~
*.bak
*.stackdump core
*.core gmon.out
$(PREP
)
342 distclean-enc
: clean-enc
343 @
-$(MAKE
) -f enc.mk
$(MFLAGS
) distclean
345 realclean:: realclean-ext realclean-local realclean-enc
346 realclean-local
:: distclean-local
347 @
$(RM
) parse.c parse.h
lex.c revision.h
349 realclean-enc
:: distclean-enc
353 btest
: miniruby
$(EXEEXT
) PHONY
354 $(BOOTSTRAPRUBY
) "$(srcdir)/bootstraptest/runner.rb" --ruby
="$(MINIRUBY)" $(OPTS
)
356 btest-miniruby
: miniruby
$(EXEEXT
) $(RBCONFIG
) $(PROGRAM
) PHONY
357 @
$(MINIRUBY
) "$(srcdir)/bootstraptest/runner.rb" --ruby
="$(MINIRUBY)" -q
359 test-sample
: miniruby
$(EXEEXT
) $(RBCONFIG
) $(PROGRAM
) PHONY
360 @
$(MINIRUBY
) $(srcdir)/rubytest.rb
362 test-knownbug
: miniruby
$(EXEEXT
) $(PROGRAM
) PHONY
363 $(BOOTSTRAPRUBY
) "$(srcdir)/bootstraptest/runner.rb" --ruby
="$(PROGRAM)" $(OPTS
) $(srcdir)/KNOWNBUGS.rb
365 test: test-sample btest-miniruby test-knownbug
368 $(RUNRUBY
) "$(srcdir)/test/runner.rb" --basedir
="$(TESTSDIR)" --runner
=$(TESTUI
) $(TESTS
)
371 $(MAKEDIRS
) "$(EXTCONFDIR)"
372 $(RUNRUBY
) -C
"$(EXTCONFDIR)" $(EXTCONF
) $(EXTCONFARGS
)
374 $(RBCONFIG
): $(srcdir)/mkconfig.rb config.status
$(PREP
)
375 @
$(MINIRUBY
) $(srcdir)/mkconfig.rb
-timestamp
=$@ \
376 -install_name
=$(RUBY_INSTALL_NAME
) \
377 -so_name
=$(RUBY_SO_NAME
) rbconfig.rb
379 encs
: enc.mk
$(LIBRUBY
) $(PREP
) transdb.h
380 $(MAKE
) -f enc.mk MINIRUBY
="$(MINIRUBY)" $(MFLAGS
)
382 enc.mk
: $(srcdir)/enc
/make_encmake.rb
$(srcdir)/enc
/Makefile.in
$(srcdir)/enc
/depend \
383 $(srcdir)/lib
/mkmf.rb
$(RBCONFIG
)
384 $(MINIRUBY
) $(srcdir)/enc
/make_encmake.rb
--builtin-encs
="$(BUILTIN_ENCOBJS)" $@
$(ENCS
)
386 .PRECIOUS
: $(MKFILES
)
388 .PHONY
: test install install-nodoc install-doc
dist
392 {$(VPATH
)}parse.c
: {$(VPATH
)}parse.y
$(srcdir)/tool
/ytab.sed
393 {$(VPATH
)}parse.c
: {$(VPATH
)}parse.h
398 $(YACC
) -d
$(YFLAGS
) -o y.tab.c
$<
399 sed
-e
"/^#/s!y\.tab\.h!$(@:.c=.h)!" y.tab.h
> $(@
:.c
=.h
).new
400 @
$(MV
) $(@
:.c
=.h
).new
$(@
:.c
=.h
)
401 sed
-f
$(srcdir)/tool
/ytab.sed
-e
"/^#/s!y\.tab\.c!$@!" y.tab.c
> $@.new
403 @
$(RM
) y.tab.c y.tab.h
405 acosh.
$(OBJEXT
): {$(VPATH
)}acosh.c
406 alloca.
$(OBJEXT
): {$(VPATH
)}alloca.c
{$(VPATH
)}config.h
407 crypt.
$(OBJEXT
): {$(VPATH
)}crypt.c
408 dup2.
$(OBJEXT
): {$(VPATH
)}dup2.c
409 erf.
$(OBJEXT
): {$(VPATH
)}erf.c
410 finite.
$(OBJEXT
): {$(VPATH
)}finite.c
411 flock.
$(OBJEXT
): {$(VPATH
)}flock.c
412 memcmp.
$(OBJEXT
): {$(VPATH
)}memcmp.c
413 memmove.
$(OBJEXT
): {$(VPATH
)}memmove.c
414 mkdir.
$(OBJEXT
): {$(VPATH
)}mkdir.c
415 strchr.
$(OBJEXT
): {$(VPATH
)}strchr.c
416 strdup.
$(OBJEXT
): {$(VPATH
)}strdup.c
417 strerror.
$(OBJEXT
): {$(VPATH
)}strerror.c
418 strftime.
$(OBJEXT
): {$(VPATH
)}strftime.c
419 strstr.
$(OBJEXT
): {$(VPATH
)}strstr.c
420 strtod.
$(OBJEXT
): {$(VPATH
)}strtod.c
421 strtol.
$(OBJEXT
): {$(VPATH
)}strtol.c
422 nt.
$(OBJEXT
): {$(VPATH
)}nt.c
423 x68.
$(OBJEXT
): {$(VPATH
)}x68.c
424 os2.
$(OBJEXT
): {$(VPATH
)}os2.c
425 dl_os2.
$(OBJEXT
): {$(VPATH
)}dl_os2.c
426 ia64.
$(OBJEXT
): {$(VPATH
)}ia64.s
427 $(CC
) $(CFLAGS
) -c
$<
429 # when I use -I., there is confliction at "OpenFile"
430 # so, set . into environment varible "include"
431 win32.
$(OBJEXT
): {$(VPATH
)}win32.c
435 RUBY_H_INCLUDES
= {$(VPATH
)}ruby.h
{$(VPATH
)}config.h
{$(VPATH
)}defines.h \
436 {$(VPATH
)}intern.h
{$(VPATH
)}missing.h
437 ID_H_INCLUDES
= {$(VPATH
)}id.h
{$(VPATH
)}parse.h
439 array.
$(OBJEXT
): {$(VPATH
)}array.c
$(RUBY_H_INCLUDES
) \
440 {$(VPATH
)}st.h
{$(VPATH
)}util.h
441 bignum.
$(OBJEXT
): {$(VPATH
)}bignum.c
$(RUBY_H_INCLUDES
) \
443 class.
$(OBJEXT
): {$(VPATH
)}class.c
$(RUBY_H_INCLUDES
) \
444 {$(VPATH
)}st.h
{$(VPATH
)}signal.h
{$(VPATH
)}node.h \
445 {$(VPATH
)}vm_core.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
446 {$(VPATH
)}id.h
{$(VPATH
)}parse.c \
447 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
448 compar.
$(OBJEXT
): {$(VPATH
)}compar.c
$(RUBY_H_INCLUDES
) \
450 complex.
$(OBJEXT
): {$(VPATH
)}complex.c
$(RUBY_H_INCLUDES
) \
452 dir.
$(OBJEXT
): {$(VPATH
)}dir.c
$(RUBY_H_INCLUDES
) \
453 {$(VPATH
)}st.h
{$(VPATH
)}util.h
454 dln.
$(OBJEXT
): {$(VPATH
)}dln.c
$(RUBY_H_INCLUDES
) \
455 {$(VPATH
)}st.h
{$(VPATH
)}dln.h
456 dmydln.
$(OBJEXT
): {$(VPATH
)}dmydln.c dln.
$(OBJEXT
)
457 dmyext.
$(OBJEXT
): {$(VPATH
)}dmyext.c
458 dmyencoding.
$(OBJEXT
): {$(VPATH
)}dmyencoding.c \
459 {$(VPATH
)}encoding.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
460 {$(VPATH
)}encoding.h
{$(VPATH
)}oniguruma.h
{$(VPATH
)}regenc.h
461 encoding.
$(OBJEXT
): dmyencoding.
$(OBJEXT
) {$(VPATH
)}util.h
462 enum.
$(OBJEXT
): {$(VPATH
)}enum.c
$(RUBY_H_INCLUDES
) \
463 {$(VPATH
)}st.h
{$(VPATH
)}node.h
{$(VPATH
)}util.h
464 enumerator.
$(OBJEXT
): {$(VPATH
)}enumerator.c
$(RUBY_H_INCLUDES
) \
465 {$(VPATH
)}st.h
{$(VPATH
)}debug.h
{$(VPATH
)}node.h
466 error.
$(OBJEXT
): {$(VPATH
)}error.c
$(RUBY_H_INCLUDES
) \
467 {$(VPATH
)}st.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}signal.h
{$(VPATH
)}node.h \
468 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
469 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
470 eval.
$(OBJEXT
): {$(VPATH
)}eval.c
{$(VPATH
)}eval_intern.h \
471 $(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
{$(VPATH
)}node.h \
472 {$(VPATH
)}util.h
{$(VPATH
)}signal.h
{$(VPATH
)}vm_core.h \
473 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
474 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}dln.h \
475 {$(VPATH
)}eval_error.c
{$(VPATH
)}eval_safe.c \
476 {$(VPATH
)}eval_jump.c
477 load.
$(OBJEXT
): {$(VPATH
)}load.c
{$(VPATH
)}eval_intern.h \
478 $(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
{$(VPATH
)}node.h \
479 {$(VPATH
)}util.h
{$(VPATH
)}signal.h
{$(VPATH
)}vm_core.h \
480 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
481 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}dln.h
482 file.
$(OBJEXT
): {$(VPATH
)}file.c
$(RUBY_H_INCLUDES
) \
483 {$(VPATH
)}st.h
{$(VPATH
)}io.h
{$(VPATH
)}encoding.h
{$(VPATH
)}oniguruma.h \
484 {$(VPATH
)}signal.h
{$(VPATH
)}util.h
{$(VPATH
)}dln.h
485 gc.
$(OBJEXT
): {$(VPATH
)}gc.c
$(RUBY_H_INCLUDES
) \
486 {$(VPATH
)}st.h
{$(VPATH
)}signal.h
{$(VPATH
)}node.h
{$(VPATH
)}re.h \
487 {$(VPATH
)}regex.h
{$(VPATH
)}oniguruma.h
{$(VPATH
)}io.h \
488 {$(VPATH
)}encoding.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}debug.h \
489 {$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
490 {$(VPATH
)}thread_
$(THREAD_MODEL
).h \
491 {$(VPATH
)}gc.h
{$(VPATH
)}eval_intern.h
492 hash.
$(OBJEXT
): {$(VPATH
)}hash.c
$(RUBY_H_INCLUDES
) \
493 {$(VPATH
)}st.h
{$(VPATH
)}util.h
{$(VPATH
)}signal.h
494 inits.
$(OBJEXT
): {$(VPATH
)}inits.c
$(RUBY_H_INCLUDES
) \
496 io.
$(OBJEXT
): {$(VPATH
)}io.c
$(RUBY_H_INCLUDES
) \
497 {$(VPATH
)}st.h
{$(VPATH
)}io.h
{$(VPATH
)}encoding.h
{$(VPATH
)}oniguruma.h \
498 {$(VPATH
)}signal.h
{$(VPATH
)}util.h \
499 {$(VPATH
)}vm_core.h
{$(VPATH
)}debug.h \
500 {$(VPATH
)}vm_opts.h
{$(VPATH
)}id.h
{$(VPATH
)}parse.c \
501 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
502 main.
$(OBJEXT
): {$(VPATH
)}main.c
$(RUBY_H_INCLUDES
) \
504 marshal.
$(OBJEXT
): {$(VPATH
)}marshal.c
$(RUBY_H_INCLUDES
) \
505 {$(VPATH
)}st.h
{$(VPATH
)}io.h
{$(VPATH
)}encoding.h \
506 {$(VPATH
)}oniguruma.h
{$(VPATH
)}util.h
507 math.
$(OBJEXT
): {$(VPATH
)}math.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
508 numeric.
$(OBJEXT
): {$(VPATH
)}numeric.c
$(RUBY_H_INCLUDES
) \
509 {$(VPATH
)}st.h
{$(VPATH
)}encoding.h
{$(VPATH
)}oniguruma.h
510 object.
$(OBJEXT
): {$(VPATH
)}object.c
$(RUBY_H_INCLUDES
) \
511 {$(VPATH
)}st.h
{$(VPATH
)}util.h
{$(VPATH
)}debug.h
{$(VPATH
)}node.h
512 pack.
$(OBJEXT
): {$(VPATH
)}pack.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
513 parse.
$(OBJEXT
): {$(VPATH
)}parse.c
{$(VPATH
)}parse.y
$(RUBY_H_INCLUDES
) \
514 {$(VPATH
)}st.h
{$(VPATH
)}node.h
{$(VPATH
)}encoding.h \
515 {$(VPATH
)}oniguruma.h
$(ID_H_INCLUDES
) \
516 {$(VPATH
)}regenc.h
{$(VPATH
)}regex.h
{$(VPATH
)}util.h \
517 {$(VPATH
)}lex.c
{$(VPATH
)}keywords
{$(VPATH
)}debug.h
518 prec.
$(OBJEXT
): {$(VPATH
)}prec.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
519 proc.
$(OBJEXT
): {$(VPATH
)}proc.c
{$(VPATH
)}eval_intern.h \
520 $(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
{$(VPATH
)}node.h \
521 {$(VPATH
)}util.h
{$(VPATH
)}signal.h
{$(VPATH
)}vm_core.h \
522 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
523 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}dln.h
{$(VPATH
)}gc.h
524 process.
$(OBJEXT
): {$(VPATH
)}process.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
525 {$(VPATH
)}signal.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}util.h \
526 {$(VPATH
)}node.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
528 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
529 random.
$(OBJEXT
): {$(VPATH
)}random.c
$(RUBY_H_INCLUDES
) \
531 range.
$(OBJEXT
): {$(VPATH
)}range.c
$(RUBY_H_INCLUDES
) \
533 rational.
$(OBJEXT
): {$(VPATH
)}rational.c
$(RUBY_H_INCLUDES
) \
535 re.
$(OBJEXT
): {$(VPATH
)}re.c
$(RUBY_H_INCLUDES
) \
536 {$(VPATH
)}st.h
{$(VPATH
)}re.h
{$(VPATH
)}regex.h
{$(VPATH
)}oniguruma.h \
537 {$(VPATH
)}encoding.h
{$(VPATH
)}util.h
{$(VPATH
)}regint.h \
539 regcomp.
$(OBJEXT
): {$(VPATH
)}regcomp.c
{$(VPATH
)}regparse.h \
540 {$(VPATH
)}regint.h
{$(VPATH
)}config.h
{$(VPATH
)}defines.h \
541 {$(VPATH
)}regenc.h
{$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
542 regenc.
$(OBJEXT
): {$(VPATH
)}regenc.c
{$(VPATH
)}regint.h \
543 {$(VPATH
)}config.h
{$(VPATH
)}defines.h
{$(VPATH
)}regenc.h \
544 {$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
545 regerror.
$(OBJEXT
): {$(VPATH
)}regerror.c
{$(VPATH
)}regint.h \
546 {$(VPATH
)}config.h
{$(VPATH
)}defines.h
{$(VPATH
)}regenc.h \
547 {$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
548 regexec.
$(OBJEXT
): {$(VPATH
)}regexec.c
{$(VPATH
)}regint.h \
549 {$(VPATH
)}config.h
{$(VPATH
)}defines.h
{$(VPATH
)}regenc.h \
550 {$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
551 regparse.
$(OBJEXT
): {$(VPATH
)}regparse.c
{$(VPATH
)}regparse.h \
552 {$(VPATH
)}regint.h
{$(VPATH
)}config.h
{$(VPATH
)}defines.h \
553 {$(VPATH
)}regenc.h
{$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
554 regsyntax.
$(OBJEXT
): {$(VPATH
)}regsyntax.c
{$(VPATH
)}regint.h \
555 {$(VPATH
)}config.h
{$(VPATH
)}defines.h
{$(VPATH
)}regenc.h \
556 {$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
557 ruby.
$(OBJEXT
): {$(VPATH
)}ruby.c
$(RUBY_H_INCLUDES
) \
558 {$(VPATH
)}st.h
{$(VPATH
)}node.h
{$(VPATH
)}encoding.h \
559 {$(VPATH
)}oniguruma.h
{$(VPATH
)}eval_intern.h
{$(VPATH
)}util.h \
560 {$(VPATH
)}signal.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}debug.h \
561 {$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
562 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}dln.h
563 signal.
$(OBJEXT
): {$(VPATH
)}signal.c
$(RUBY_H_INCLUDES
) \
564 {$(VPATH
)}st.h
{$(VPATH
)}signal.h
{$(VPATH
)}node.h
{$(VPATH
)}vm_core.h \
565 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
566 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
567 sprintf.
$(OBJEXT
): {$(VPATH
)}sprintf.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
568 {$(VPATH
)}re.h
{$(VPATH
)}regex.h
{$(VPATH
)}oniguruma.h \
569 {$(VPATH
)}encoding.h
{$(VPATH
)}vsnprintf.c
570 st.
$(OBJEXT
): {$(VPATH
)}st.c
{$(VPATH
)}config.h
{$(VPATH
)}defines.h \
572 string.
$(OBJEXT
): {$(VPATH
)}string.c
$(RUBY_H_INCLUDES
) \
573 {$(VPATH
)}st.h
{$(VPATH
)}re.h
{$(VPATH
)}regex.h
{$(VPATH
)}oniguruma.h \
575 struct.
$(OBJEXT
): {$(VPATH
)}struct.c
$(RUBY_H_INCLUDES
) \
577 thread.
$(OBJEXT
): {$(VPATH
)}thread.c
{$(VPATH
)}eval_intern.h \
578 $(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
{$(VPATH
)}node.h \
579 {$(VPATH
)}util.h
{$(VPATH
)}signal.h
{$(VPATH
)}vm_core.h \
580 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
581 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}dln.h
{$(VPATH
)}vm.h \
582 {$(VPATH
)}gc.h
{$(VPATH
)}thread_
$(THREAD_MODEL
).c
583 transcode.
$(OBJEXT
): {$(VPATH
)}transcode.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
584 {$(VPATH
)}encoding.h
{$(VPATH
)}oniguruma.h
{$(VPATH
)}transcode_data.h
585 cont.
$(OBJEXT
): {$(VPATH
)}cont.c
$(RUBY_H_INCLUDES
) \
586 {$(VPATH
)}st.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}signal.h
{$(VPATH
)}node.h \
587 {$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
588 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}gc.h \
589 {$(VPATH
)}eval_intern.h
{$(VPATH
)}util.h
{$(VPATH
)}dln.h
590 time.
$(OBJEXT
): {$(VPATH
)}time.c
$(RUBY_H_INCLUDES
) \
591 {$(VPATH
)}st.h
{$(VPATH
)}encoding.h
592 util.
$(OBJEXT
): {$(VPATH
)}util.c
$(RUBY_H_INCLUDES
) \
593 {$(VPATH
)}st.h
{$(VPATH
)}util.h
594 variable.
$(OBJEXT
): {$(VPATH
)}variable.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
595 {$(VPATH
)}node.h
{$(VPATH
)}util.h
596 version.
$(OBJEXT
): {$(VPATH
)}version.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
597 {$(VPATH
)}version.h
$(srcdir)/revision.h
599 compile.
$(OBJEXT
): {$(VPATH
)}compile.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
600 {$(VPATH
)}node.h
{$(VPATH
)}vm_core.h \
601 {$(VPATH
)}signal.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
603 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}compile.h \
604 {$(VPATH
)}insns.inc
{$(VPATH
)}insns_info.inc
{$(VPATH
)}optinsn.inc
605 iseq.
$(OBJEXT
): {$(VPATH
)}iseq.c
$(RUBY_H_INCLUDES
) \
606 {$(VPATH
)}st.h
{$(VPATH
)}node.h
{$(VPATH
)}gc.h
{$(VPATH
)}vm_core.h \
607 {$(VPATH
)}signal.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
609 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}insns.inc \
610 {$(VPATH
)}insns_info.inc
{$(VPATH
)}node_name.inc
611 vm.
$(OBJEXT
): {$(VPATH
)}vm.c
$(RUBY_H_INCLUDES
) \
612 {$(VPATH
)}st.h
{$(VPATH
)}node.h
{$(VPATH
)}encoding.h \
613 {$(VPATH
)}oniguruma.h
{$(VPATH
)}gc.h
{$(VPATH
)}insnhelper.h \
614 {$(VPATH
)}eval_intern.h
{$(VPATH
)}util.h
{$(VPATH
)}signal.h \
615 {$(VPATH
)}vm_core.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
617 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}dln.h
{$(VPATH
)}vm.h \
618 {$(VPATH
)}vm_insnhelper.c
{$(VPATH
)}insns.inc
{$(VPATH
)}vm_evalbody.c \
619 {$(VPATH
)}vmtc.inc
{$(VPATH
)}vm.inc
{$(VPATH
)}insns.def \
620 {$(VPATH
)}vm_method.c
{$(VPATH
)}vm_eval.c
621 vm_dump.
$(OBJEXT
): {$(VPATH
)}vm_dump.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
622 {$(VPATH
)}node.h
{$(VPATH
)}vm_core.h \
623 {$(VPATH
)}signal.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
625 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
{$(VPATH
)}vm.h
626 debug.
$(OBJEXT
): {$(VPATH
)}debug.c
$(RUBY_H_INCLUDES
) \
627 {$(VPATH
)}st.h
{$(VPATH
)}encoding.h
{$(VPATH
)}oniguruma.h \
628 {$(VPATH
)}debug.h
{$(VPATH
)}node.h
{$(VPATH
)}vm_core.h \
629 {$(VPATH
)}signal.h
{$(VPATH
)}vm_opts.h
$(ID_H_INCLUDES
) \
630 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
631 blockinlining.
$(OBJEXT
): {$(VPATH
)}blockinlining.c
$(RUBY_H_INCLUDES
) \
632 {$(VPATH
)}st.h
{$(VPATH
)}node.h
{$(VPATH
)}vm_core.h \
633 {$(VPATH
)}signal.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
635 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
636 id.
$(OBJEXT
): {$(VPATH
)}id.c
$(RUBY_H_INCLUDES
) \
637 {$(VPATH
)}st.h
$(ID_H_INCLUDES
)
638 miniprelude.
$(OBJEXT
): {$(VPATH
)}miniprelude.c
$(RUBY_H_INCLUDES
) \
639 {$(VPATH
)}st.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}signal.h \
640 {$(VPATH
)}node.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
642 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
643 prelude.
$(OBJEXT
): {$(VPATH
)}prelude.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h \
644 {$(VPATH
)}vm_core.h
{$(VPATH
)}signal.h \
645 {$(VPATH
)}node.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
647 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
648 golf_prelude.
$(OBJEXT
): {$(VPATH
)}golf_prelude.c
$(RUBY_H_INCLUDES
) \
649 {$(VPATH
)}st.h
{$(VPATH
)}vm_core.h
{$(VPATH
)}signal.h \
650 {$(VPATH
)}node.h
{$(VPATH
)}debug.h
{$(VPATH
)}vm_opts.h \
652 {$(VPATH
)}thread_
$(THREAD_MODEL
).h
653 goruby.
$(OBJEXT
): {$(VPATH
)}goruby.c
{$(VPATH
)}main.c
$(RUBY_H_INCLUDES
) {$(VPATH
)}st.h
655 ascii.
$(OBJEXT
): {$(VPATH
)}ascii.c
{$(VPATH
)}regenc.h
{$(VPATH
)}config.h \
656 {$(VPATH
)}defines.h
{$(VPATH
)}oniguruma.h
657 us_ascii.
$(OBJEXT
): {$(VPATH
)}us_ascii.c
{$(VPATH
)}regenc.h
{$(VPATH
)}config.h \
658 {$(VPATH
)}defines.h
{$(VPATH
)}oniguruma.h
659 unicode.
$(OBJEXT
): {$(VPATH
)}unicode.c
{$(VPATH
)}regint.h \
660 {$(VPATH
)}config.h
{$(VPATH
)}defines.h
{$(VPATH
)}regenc.h \
661 {$(VPATH
)}oniguruma.h
{$(VPATH
)}st.h
662 utf_8.
$(OBJEXT
): {$(VPATH
)}utf_8.c
{$(VPATH
)}regenc.h
{$(VPATH
)}config.h \
663 {$(VPATH
)}defines.h
{$(VPATH
)}oniguruma.h
665 INSNS
= opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \
668 INSNS2VMOPT
= --srcdir="$(srcdir)"
670 $(INSNS
): $(srcdir)/insns.def
{$(VPATH
)}vm_opts.h
672 $(BASERUBY
) -Ks
$(srcdir)/tool
/insns2vm.rb
$(INSNS2VMOPT
) $@
674 minsns.inc
: $(srcdir)/template
/minsns.inc.tmpl
676 opt_sc.inc
: $(srcdir)/template
/opt_sc.inc.tmpl
678 optinsn.inc
: $(srcdir)/template
/optinsn.inc.tmpl
680 optunifs.inc
: $(srcdir)/template
/optunifs.inc.tmpl
682 insns.inc
: $(srcdir)/template
/insns.inc.tmpl
684 insns_info.inc
: $(srcdir)/template
/insns_info.inc.tmpl
686 vmtc.inc
: $(srcdir)/template
/vmtc.inc.tmpl
688 vm.inc
: $(srcdir)/template
/vm.inc.tmpl
690 srcs
: {$(VPATH
)}parse.c
{$(VPATH
)}lex.c
$(srcdir)/ext
/ripper
/ripper.c srcs-enc
693 $(MAKE
) -f enc.mk RUBY
="$(MINIRUBY)" MINIRUBY
="$(MINIRUBY)" $(MFLAGS
) srcs
695 incs
: $(INSNS
) {$(VPATH
)}node_name.inc
{$(VPATH
)}encdb.h
{$(VPATH
)}transdb.h
$(srcdir)/revision.h
699 node_name.inc
: {$(VPATH
)}node.h
700 $(BASERUBY
) -n
$(srcdir)/tool
/node_name.rb
$?
> $@
703 $(MINIRUBY
) $(srcdir)/enc
/make_encdb.rb
$@.new
$(srcdir)/enc enc
704 $(IFCHANGE
) "$@" "$@.new"
706 transdb.h
: $(PREP
) srcs-enc
707 $(MINIRUBY
) $(srcdir)/enc
/trans
/make_transdb.rb
$@.new
$(srcdir)/enc
/trans enc
/trans
708 $(IFCHANGE
) "$@" "$@.new"
710 miniprelude.c
: $(srcdir)/tool
/compile_prelude.rb
$(srcdir)/prelude.rb
711 $(BASERUBY
) -I
$(srcdir) $(srcdir)/tool
/compile_prelude.rb
$(srcdir)/prelude.rb
$@
713 prelude.c
: $(srcdir)/tool
/compile_prelude.rb
$(RBCONFIG
) $(PRELUDE_SCRIPTS
) $(PREP
)
714 $(COMPILE_PRELUDE
) $(PRELUDE_SCRIPTS
) $@
716 golf_prelude.c
: $(srcdir)/tool
/compile_prelude.rb
$(RBCONFIG
) $(srcdir)/prelude.rb
$(srcdir)/golf_prelude.rb
$(PREP
)
717 $(COMPILE_PRELUDE
) $(srcdir)/golf_prelude.rb
$@
719 prereq
: incs srcs preludes
721 preludes
: {$(VPATH
)}miniprelude.c
722 preludes
: {$(srcdir)}golf_prelude.c
725 $(BASERUBY
) -I
$(srcdir) $(srcdir)/tool
/makedocs.rb
$(INSNS2VMOPT
)
727 $(srcdir)/revision.h
: $(REVISION_FORCE
)
729 -@
$(SET_LC_MESSAGES
) $(VCS
) info "$(@D)" | \
730 sed
-n
"s/.*Rev:/#define RUBY_REVISION/p" > "$@.tmp"
731 @
$(IFCHANGE
) "$@" "$@.tmp"
733 $(srcdir)/ext
/ripper
/ripper.c
:
734 cd
$(srcdir)/ext
/ripper
&& exec
$(MAKE
) -f depend
$(MFLAGS
) top_srcdir
=..
/..
srcdir=.
738 run
: miniruby
$(EXEEXT
) PHONY
739 $(MINIRUBY
) $(srcdir)/test.rb
$(RUNOPT
)
741 runruby
: $(PROGRAM
) PHONY
742 $(RUNRUBY
) $(srcdir)/test.rb
744 parse
: miniruby
$(EXEEXT
) PHONY
745 $(MINIRUBY
) $(srcdir)/tool
/parse.rb
$(srcdir)/test.rb
747 COMPARE_RUBY
= $(BASERUBY
)
751 benchmark
: $(PROGRAM
) PHONY
752 $(BASERUBY
) $(srcdir)/benchmark
/driver.rb
-v \
753 --executables
="$(COMPARE_RUBY); $(RUNRUBY)" \
754 --pattern
='bm_' --directory
=$(srcdir)/benchmark
$(OPTS
)
756 benchmark-each
: $(PROGRAM
) PHONY
757 $(BASERUBY
) $(srcdir)/benchmark
/driver.rb
-v \
758 --executables
="$(COMPARE_RUBY); $(RUNRUBY)" \
759 --pattern
=$(ITEM
) --directory
=$(srcdir)/benchmark
$(OPTS
)
761 tbench
: $(PROGRAM
) PHONY
762 $(BASERUBY
) $(srcdir)/benchmark
/driver.rb
-v \
763 --executables
="$(COMPARE_RUBY); $(RUNRUBY)" \
764 --pattern
='bmx_' --directory
=$(srcdir)/benchmark
$(OPTS
)
766 aotc
: $(PROGRAM
) PHONY
767 .
/$(PROGRAM
) -I
$(srcdir)/lib
$(srcdir)/bin
/ruby2cext
$(srcdir)/test.rb
771 # vm.o : CFLAGS += -fno-crossjumping
774 echo b ruby_debug_breakpoint
> run.gdb
775 echo
'# handle SIGINT nostop' >> run.gdb
776 echo
'# handle SIGPIPE nostop' >> run.gdb
777 echo
'# b rb_longjmp' >> run.gdb
778 echo source
$(srcdir)/breakpoints.gdb
>> run.gdb
779 echo source
$(srcdir)/.gdbinit
>> run.gdb
782 gdb
: miniruby
$(EXEEXT
) run.gdb PHONY
783 gdb
-x run.gdb
--quiet
--args
$(MINIRUBY
) $(srcdir)/test.rb
787 vtune
: miniruby
$(EXEEXT
)
788 vtl activity
-c sampling
-app
".\miniruby$(EXEEXT)","-I$(srcdir)/lib $(srcdir)/test.rb" run
789 vtl view
-hf
-mn miniruby
$(EXEEXT
) -sum
-sort -cd
790 vtl view
-ha
-mn miniruby
$(EXEEXT
) -sum
-sort -cd |
$(RUNRUBY
) $(srcdir)/tool
/vtlh.rb
> ha.lines
792 dist: $(PREP
) $(PROGRAM
)
793 $(SHELL
) $(srcdir)/tool
/make-snapshot .
$(TARNAME
)
796 @
$(VCS
) up
"$(srcdir)"
797 -@
$(MAKE
) $(MFLAGS
) REVISION_FORCE
=PHONY
"$(srcdir)/revision.h"
800 @echo
" Makefile of Ruby"
803 @echo
" all: compile ruby and extensions"
804 @echo
" check: equals make test test-all"
805 @echo
" test: ruby core tests"
806 @echo
" test-all: all ruby tests"
807 @echo
" install: install all ruby distributions"
808 @echo
" install-nodoc: install without rdoc"
809 @echo
" clean: clean built objects"
810 @echo
" golf: for golfers"