mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
probes.h including dummy header
* Makefile.in, win32/Makefile.sub (probes.h): include dummy header instead of copying. * common.mk (probes.dmyh): add nmake VPATH prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a4c091a697
commit
445e11da50
3 changed files with 6 additions and 9 deletions
|
@ -400,8 +400,8 @@ enc/jis/props.h: enc/jis/props.kwd
|
|||
$(Q) $(RM) $@.tmp
|
||||
|
||||
.dmyh.h:
|
||||
@$(ECHO) copying dummy $(DEST_FILE)
|
||||
$(Q) $(CP) $(OS_SRC_FILE) $(OS_DEST_FILE)
|
||||
@$(ECHO) making dummy $(DEST_FILE)
|
||||
$(Q)echo '#include "$(*F).dmyh"' > $@
|
||||
|
||||
probes.stamp: $(DTRACE_REBUILD_OBJS)
|
||||
$(Q) if test -f $@ -o -f probes.$(OBJEXT); then \
|
||||
|
|
|
@ -852,7 +852,7 @@ $(PRELUDE_C): $(COMPILE_PRELUDE) \
|
|||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
|
||||
$(srcdir)/template/prelude.c.tmpl golf_prelude.rb
|
||||
|
||||
probes.dmyh: {$(srcdir)}probes.d $(srcdir)/tool/gen_dummy_probes.rb
|
||||
{$(VPATH)}probes.dmyh: {$(srcdir)}probes.d $(srcdir)/tool/gen_dummy_probes.rb
|
||||
$(BASERUBY) $(srcdir)/tool/gen_dummy_probes.rb $(srcdir)/probes.d > $@
|
||||
|
||||
probes.h: {$(VPATH)}probes.$(DTRACE_EXT)
|
||||
|
|
|
@ -1148,12 +1148,9 @@ ext/extinit.obj: ext/extinit.c $(SETUP)
|
|||
$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c
|
||||
|
||||
probes.h: {$(VPATH)}probes.dmyh
|
||||
@$(ECHO) copying dummy $(DEST_FILE)
|
||||
@if exist probes.dmyh (\
|
||||
$(Q) $(CP) probes.dmyh $(OS_DEST_FILE)\
|
||||
) else (\
|
||||
$(Q) $(CP) $(srcdir:/=\)\probes.dmyh $(OS_DEST_FILE)\
|
||||
)
|
||||
@$(ECHO) making dummy <<$(DEST_FILE)
|
||||
#include "$(*F).dmyh"
|
||||
<<KEEP
|
||||
|
||||
INSNS = opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \
|
||||
vmtc.inc vm.inc
|
||||
|
|
Loading…
Reference in a new issue