# Yarv-related dependent rules addition for common.mk

**URL:** <https://www.ruby-forum.com/t/yarv-related-dependent-rules-addition-for-common-mk/84230>\
**Category:** Development\
**Created:** [February 2, 2007, 3:25pm UTC](https://www.ruby-forum.com/t/yarv-related-dependent-rules-addition-for-common-mk/84230 "2007-02-02T15:25:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sugie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@sugie](https://www.ruby-forum.com/u/sugie)\
**Post date:** [February 2, 2007, 3:25pm UTC](https://www.ruby-forum.com/t/yarv-related-dependent-rules-addition-for-common-mk/84230/1 "2007-02-02T15:25:39Z")

</div>

e$B$3$s$P$s$O!":XF#$H?=$7$^$9!#e(B

r11615e$B$Ke(Bsvn  
upe$B$7$?8e!"$$$D$b$N$h$&$Ke(Bmakee$B$7D\>$7$?$i!"\<:GT$7$F$7$^$$$^$7e(B  
e$B$?!#e(BYARVe$B\<~$j$N0MB84X78$,e(Bcommon.mke$B$KITB-$7$F$$$k$h$&$G$9!#\<j85$G$O0J2\<$Ne(B  
e$B%Q%C%A$G$&$^$/$$$-$^$7$?!#e(B

# gcc -MM

e$B$G@8@.$7$?7k2L$r85$K\<j$GDI5-$7$?$N$G!“4V0c$$$,$”$C$?$i$4$a$s$J$5$$e(B

e$B2C$($F!“4{$K0MB84X78e(B(debug.h)e$B$O=q$$$F$”$C$?$N$K\<B:]$N%=!\<%9e(B(debug.c)e$B$K$Oe(B  
includee$B$,=q$+$l$F$$$J$+$C$?!"$H$$$&$H$3$m$r0l9T=q$-B-$7$F$\_$^$7$?!#e(B

e$B$b$7$h$m$7$1$l$P$\*;H$$2\<$5$$!#e(B

# Index: debug.c

— debug.c (revision 11615)  
+++ debug.c (working copy)  
@@ -11,6 +11,7 @@  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

#include “ruby.h”  
+#include “debug.h”

# void debug\_indent(int level, int debug\_level, int indent\_level) Index: common.mk

— common.mk (revision 11615)  
+++ common.mk (working copy)  
@@ -512,16 +512,34 @@

compile.$(OBJEXT): {$(VPATH)}compile.c {$(VPATH)}yarvcore.h   
{$(VPATH)}compile.h {$(VPATH)}debug.h {$(VPATH)}ruby.h config.h  
\

- 

```
   {$(VPATH)}defines.h {$(VPATH)}missing.h {$(VPATH)}intern.h \

```

- 

```
   {$(VPATH)}st.h {$(VPATH)}node.h {$(VPATH)}yarv.h \
   insns.inc insns_info.inc optinsn.inc opt_sc.inc optunifs.inc 

```

vm\_opts.h  
-iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}yarvcore.h {$(VPATH)}debug.h  
vm\_opts.h  
+iseq.$(OBJEXT): {$(VPATH)}iseq.c {$(VPATH)}yarvcore.h {$(VPATH)}debug.h  
\

- 

```
   {$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \

```

- 

```
   {$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}yarv.h \

```

- 

```
   {$(VPATH)}gc.h vm_opts.h insns.inc insns_info.inc

```

vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}insnhelper.h   
{$(VPATH)}yarvcore.h {$(VPATH)}debug.h {$(VPATH)}ruby.h  
config.h\

- 

```
   {$(VPATH)}node.h {$(VPATH)}yarv.h {$(VPATH)}version.h \

```

- 

```
   {$(VPATH)}util.h {$(VPATH)}rubysig.h {$(VPATH)}dln.h \
   {$(VPATH)}vm_evalbody.ci {$(VPATH)}call_cfunc.ci \
   insns.inc vm.inc vmtc.inc vm_macro.inc vm_opts.h 

```

{$(VPATH)}eval\_intern.h  
-vm\_dump.$(OBJEXT): {$(VPATH)}yarvcore.h {$(VPATH)}vm.h  
-yarvcore.$(OBJEXT): {$(VPATH)}yarvcore.c {$(VPATH)}yarvcore.h  
{$(VPATH)}debug.h  
-debug.$(OBJEXT): {$(VPATH)}debug.h  
-blockinlining.$(OBJEXT): {$(VPATH)}yarv.h {$(VPATH)}yarvcore.h  
vm\_opts.h  
+vm\_dump.$(OBJEXT): {$(VPATH)}yarvcore.h {$(VPATH)}vm.h config.h \

- 

```
   {$(VPATH)}ruby.h {$(VPATH)}defines.h {$(VPATH)}missing.h \

```

- 

```
   {$(VPATH)}intern.h {$(VPATH)}st.h {$(VPATH)}node.h 

```

{$(VPATH)}debug.h \

- 

```
   {$(VPATH)}yarv.h {$(VPATH)}version.h vm_opts.h

```

+yarvcore.$(OBJEXT): {$(VPATH)}yarvcore.c {$(VPATH)}yarvcore.h \

- 

```
   {$(VPATH)}debug.h {$(VPATH)}ruby.h config.h {$(VPATH)}defines.h 

```

\

- 

```
   {$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h \

```

- 

```
   {$(VPATH)}node.h {$(VPATH)}yarv.h {$(VPATH)}gc.h vm_opts.h

```

+debug.$(OBJEXT): {$(VPATH)}debug.h {$(VPATH)}ruby.h {$(VPATH)}defines.h  
\

- 

```
   {$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h config.h 

```

\

- 

```
   {$(VPATH)}st.h

```

+blockinlining.$(OBJEXT): {$(VPATH)}ruby.h {$(VPATH)}defines.h \

- 

```
   {$(VPATH)}missing.h {$(VPATH)}intern.h {$(VPATH)}st.h config.h 

```

\

- 

```
   {$(VPATH)}node.h {$(VPATH)}yarv.h {$(VPATH)}yarvcore.h \

```

- 

```
   {$(VPATH)}debug.h vm_opts.h

```

MATZRUBY = $(MATZRUBYDIR)ruby

---

<div class="post-metadata">

**Author:** ![sugie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@sugie](https://www.ruby-forum.com/u/sugie)\
**Post date:** [February 2, 2007, 3:44pm UTC](https://www.ruby-forum.com/t/yarv-related-dependent-rules-addition-for-common-mk/84230/2 "2007-02-02T15:44:41Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:30245] yarv-related dependent rules addition  
for common.mk”  
on Fri, 2 Feb 2007 23:25:26 +0900, Tadashi S.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|r11615e$B$Ke(Bsvn upe$B$7$?8e!“$$$D$b$N$h$&$Ke(Bmakee$B$7D\>$7$?$i!”\<:GT$7$F$7$^$$$^$7e(B  
|e$B$?!#e(BYARVe$B\<~$j$N0MB84X78$,e(Bcommon.mke$B$KITB-$7$F$$$k$h$&$G$9!#\<j85$G$O0J2\<$Ne(B  
|e$B%Q%C%A$G$&$^$/$$$-$^$7$?!#e(B  
|# gcc -MM e$B$G@8@.$7$?7k2L$r85$K\<j$GDI5-$7$?$N$G!“4V0c$$$,$”$C$?$i$4$a$s$J$5$$e(B  
|  
|e$B2C$($F!“4{$K0MB84X78e(B(debug.h)e$B$O=q$$$F$”$C$?$N$K\<B:]$N%=!\<%9e(B(debug.c)e$B$K$Oe(B  
|includee$B$,=q$+$l$F$$$J$+$C$?!"$H$$$&$H$3$m$r0l9T=q$-B-$7$F$\_$^$7$?!#e(B  
|  
|e$B$b$7$h$m$7$1$l$P$\*;H$$2\<$5$$!#e(B

e$B%3%\_%C%H$7$^$7$?!#e(B
