зеркало из https://github.com/github/ruby.git
* win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,
miniprelude.c, newline.c): shoudn't copy when $(srcdir) != ".", too. (this is a workaround. we need more strict check.) * win32/Makefile.sub ($(INSNS)): shound't remove BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b5cd33a4ad
Коммит
a9cd6cc0a1
|
@ -1,3 +1,11 @@
|
|||
Fri Jan 16 00:21:10 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,
|
||||
miniprelude.c, newline.c): shoudn't copy when $(srcdir) != ".", too.
|
||||
(this is a workaround. we need more strict check.)
|
||||
|
||||
* win32/Makefile.sub ($(INSNS)): shound't remove BASERUBY.
|
||||
|
||||
Fri Jan 16 00:19:55 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (gc_with_gvl): suppress warnings.
|
||||
|
|
|
@ -768,36 +768,36 @@ ext/extinit.obj: ext/extinit.c $(SETUP)
|
|||
|
||||
$(INSNS):
|
||||
@if exist $(srcdir:/=\)\$(@F) ( \
|
||||
if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
if not "$(srcdir:/=\)" == "." if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
) else ( \
|
||||
@$(RM) $(PROGRAM) \
|
||||
@$(RM) $(PROGRAM) & \
|
||||
$(BASERUBY) -Ks $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@ \
|
||||
)
|
||||
|
||||
node_name.inc:
|
||||
@if exist $(srcdir:/=\)\$(@F) ( \
|
||||
if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
if not "$(srcdir:/=\)" == "." if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
) else ( \
|
||||
$(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@ \
|
||||
)
|
||||
|
||||
known_errors.inc:
|
||||
@if exist $(srcdir:/=\)\$(@F) ( \
|
||||
if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
if not "$(srcdir:/=\)" == "." if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
) else ( \
|
||||
$(BASERUBY) $(srcdir)/tool/generic_erb.rb -c -o $@ $(srcdir)/template/known_errors.inc.tmpl $(srcdir)/defs/known_errors.def \
|
||||
)
|
||||
|
||||
miniprelude.c:
|
||||
@if exist $(srcdir:/=\)\$(@F) ( \
|
||||
if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
if not "$(srcdir:/=\)" == "." if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
) else ( \
|
||||
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@ \
|
||||
)
|
||||
|
||||
newline.c:
|
||||
@if exist $(srcdir:/=\)\$(@F) ( \
|
||||
if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
if not "$(srcdir:/=\)" == "." if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \
|
||||
) else ( \
|
||||
$(BASERUBY) "$(srcdir)/tool/transcode-tblgen.rb" -vo newline.c $(srcdir)/enc/trans/newline.trans \
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче