* common.mk (MAKE_ENC): arguments for enc.mk

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-08-16 08:41:59 +00:00
Родитель 6f6ed7fbba
Коммит 2e11bf259c
3 изменённых файлов: 6 добавлений и 7 удалений

Просмотреть файл

@ -439,7 +439,7 @@ clean-extout:
clean-enc distclean-enc realclean-enc: clean-enc distclean-enc realclean-enc:
@test -f "$(ENC_MK)" || exit 0; \ @test -f "$(ENC_MK)" || exit 0; \
echo $(@:-enc=ing) encodings; \ echo $(@:-enc=ing) encodings; \
exec $(MAKE) -f $(ENC_MK) $(MFLAGS) $(@:-enc=) exec $(MAKE) $(MAKE_ENC) $(@:-enc=)
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
$(ECHO) compiling $@ $(ECHO) compiling $@

Просмотреть файл

@ -64,6 +64,8 @@ DLDOBJS = $(INITOBJS)
EXTSOLIBS = EXTSOLIBS =
MINIOBJS = $(ARCHMINIOBJS) miniinit.$(OBJEXT) dmyext.$(OBJEXT) miniprelude.$(OBJEXT) MINIOBJS = $(ARCHMINIOBJS) miniinit.$(OBJEXT) dmyext.$(OBJEXT) miniprelude.$(OBJEXT)
ENC_MK = enc.mk ENC_MK = enc.mk
MAKE_ENC = -f $(ENC_MK) V="$(V)" UNICODE_VERSION=$(UNICODE_VERSION) \
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS)
COMMONOBJS = array.$(OBJEXT) \ COMMONOBJS = array.$(OBJEXT) \
bignum.$(OBJEXT) \ bignum.$(OBJEXT) \
@ -665,9 +667,7 @@ encs: enc trans
libencs: libenc libtrans libencs: libenc libtrans
encs enc trans libencs libenc libtrans: $(SHOWFLAGS) $(ENC_MK) $(LIBRUBY) $(PREP) PHONY encs enc trans libencs libenc libtrans: $(SHOWFLAGS) $(ENC_MK) $(LIBRUBY) $(PREP) PHONY
$(ECHO) making $@ $(ECHO) making $@
$(Q) $(MAKE) -f $(ENC_MK) V="$(V)" UNICODE_VERSION=$(UNICODE_VERSION) \ $(Q) $(MAKE) $(MAKE_ENC) $@
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" \
$(MFLAGS) $@
libenc enc: {$(VPATH)}encdb.h libenc enc: {$(VPATH)}encdb.h
@ -819,8 +819,7 @@ srcs-lib: $(LIB_SRCS)
srcs-enc: $(ENC_MK) srcs-enc: $(ENC_MK)
$(ECHO) making srcs under enc $(ECHO) making srcs under enc
$(Q) $(MAKE) -f $(ENC_MK) UNICODE_VERSION=$(UNICODE_VERSION) \ $(Q) $(MAKE) $(MAKE_ENC) srcs
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS) srcs
all-incs: incs {$(VPATH)}encdb.h {$(VPATH)}transdb.h all-incs: incs {$(VPATH)}encdb.h {$(VPATH)}transdb.h
incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \ incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \

Просмотреть файл

@ -1075,7 +1075,7 @@ clean-extout:
clean-enc distclean-enc realclean-enc: clean-enc distclean-enc realclean-enc:
!if exist($(ENC_MK)) !if exist($(ENC_MK))
@echo $(@:-enc=ing) encodings @echo $(@:-enc=ing) encodings
@-$(MAKE) -f $(ENC_MK) $(MFLAGS) V=$(V) $(@:-enc=) @-$(MAKE) $(MAKE_ENC) $(@:-enc=)
!endif !endif
$(RBCONFIG): $(PREP) $(RBCONFIG): $(PREP)