mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
common.mk: ID_H_TARGET
* common.mk (ID_H_TARGET): make timestamp file of id.h so that the header will not be remade repetitively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b4a45cfe4
commit
e7878d2082
2 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Aug 15 16:20:09 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (ID_H_TARGET): make timestamp file of id.h so that the
|
||||
header will not be remade repetitively.
|
||||
|
||||
Wed Aug 15 11:39:53 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_trace.c: separate trace_func related functions from
|
||||
|
|
14
common.mk
14
common.mk
|
@ -27,7 +27,7 @@ REVISION_H = ./.revision.time
|
|||
PLATFORM_D = ./$(PLATFORM_DIR)/.time
|
||||
RDOCOUT = $(EXTOUT)/rdoc
|
||||
CAPIOUT = doc/capi
|
||||
ID_H_TARGET = -id.h-
|
||||
ID_H_TARGET = ./.id.h.time
|
||||
|
||||
DMYEXT = dmyext.$(OBJEXT)
|
||||
NORMALMAINOBJ = main.$(OBJEXT)
|
||||
|
@ -105,6 +105,7 @@ EXPORTOBJS = dln.$(OBJEXT) \
|
|||
$(COMMONOBJS)
|
||||
|
||||
OBJS = $(EXPORTOBJS) prelude.$(OBJEXT)
|
||||
ALLOBJS = $(ID_H_TARGET) $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT)
|
||||
|
||||
GOLFOBJS = goruby.$(OBJEXT) golf_prelude.$(OBJEXT)
|
||||
|
||||
|
@ -189,7 +190,9 @@ loadpath: $(PREP) PHONY
|
|||
|
||||
$(PREP): $(MKFILES)
|
||||
|
||||
miniruby$(EXEEXT): config.status $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(ARCHFILE)
|
||||
miniruby$(EXEEXT): config.status $(ALLOBJS) $(ARCHFILE)
|
||||
|
||||
objs: $(ALLOBJS)
|
||||
|
||||
GORUBY = go$(RUBY_INSTALL_NAME)
|
||||
golf: $(LIBRUBY) $(GOLFOBJS) PHONY
|
||||
|
@ -849,9 +852,10 @@ incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h {$(VPATH)}transdb.h {$(
|
|||
|
||||
insns: $(INSNS)
|
||||
|
||||
id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --if-change --output=$@ \
|
||||
$(ID_H_TARGET): parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl
|
||||
$(ECHO) generating id.h
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --if-change --output=id.h \
|
||||
--timestamp=$@ \
|
||||
$(srcdir)/template/id.h.tmpl --vpath=$(VPATH) parse.h
|
||||
|
||||
node_name.inc: {$(VPATH)}node.h
|
||||
|
|
Loading…
Add table
Reference in a new issue