зеркало из https://github.com/github/ruby.git
common.mk: MAKE_ENC
* 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:
Родитель
6f6ed7fbba
Коммит
2e11bf259c
|
@ -439,7 +439,7 @@ clean-extout:
|
|||
clean-enc distclean-enc realclean-enc:
|
||||
@test -f "$(ENC_MK)" || exit 0; \
|
||||
echo $(@:-enc=ing) encodings; \
|
||||
exec $(MAKE) -f $(ENC_MK) $(MFLAGS) $(@:-enc=)
|
||||
exec $(MAKE) $(MAKE_ENC) $(@:-enc=)
|
||||
|
||||
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
|
||||
$(ECHO) compiling $@
|
||||
|
|
|
@ -64,6 +64,8 @@ DLDOBJS = $(INITOBJS)
|
|||
EXTSOLIBS =
|
||||
MINIOBJS = $(ARCHMINIOBJS) miniinit.$(OBJEXT) dmyext.$(OBJEXT) miniprelude.$(OBJEXT)
|
||||
ENC_MK = enc.mk
|
||||
MAKE_ENC = -f $(ENC_MK) V="$(V)" UNICODE_VERSION=$(UNICODE_VERSION) \
|
||||
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS)
|
||||
|
||||
COMMONOBJS = array.$(OBJEXT) \
|
||||
bignum.$(OBJEXT) \
|
||||
|
@ -665,9 +667,7 @@ encs: enc trans
|
|||
libencs: libenc libtrans
|
||||
encs enc trans libencs libenc libtrans: $(SHOWFLAGS) $(ENC_MK) $(LIBRUBY) $(PREP) PHONY
|
||||
$(ECHO) making $@
|
||||
$(Q) $(MAKE) -f $(ENC_MK) V="$(V)" UNICODE_VERSION=$(UNICODE_VERSION) \
|
||||
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" \
|
||||
$(MFLAGS) $@
|
||||
$(Q) $(MAKE) $(MAKE_ENC) $@
|
||||
|
||||
|
||||
libenc enc: {$(VPATH)}encdb.h
|
||||
|
@ -819,8 +819,7 @@ srcs-lib: $(LIB_SRCS)
|
|||
|
||||
srcs-enc: $(ENC_MK)
|
||||
$(ECHO) making srcs under enc
|
||||
$(Q) $(MAKE) -f $(ENC_MK) UNICODE_VERSION=$(UNICODE_VERSION) \
|
||||
RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS) srcs
|
||||
$(Q) $(MAKE) $(MAKE_ENC) srcs
|
||||
|
||||
all-incs: incs {$(VPATH)}encdb.h {$(VPATH)}transdb.h
|
||||
incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \
|
||||
|
|
|
@ -1075,7 +1075,7 @@ clean-extout:
|
|||
clean-enc distclean-enc realclean-enc:
|
||||
!if exist($(ENC_MK))
|
||||
@echo $(@:-enc=ing) encodings
|
||||
@-$(MAKE) -f $(ENC_MK) $(MFLAGS) V=$(V) $(@:-enc=)
|
||||
@-$(MAKE) $(MAKE_ENC) $(@:-enc=)
|
||||
!endif
|
||||
|
||||
$(RBCONFIG): $(PREP)
|
||||
|
|
Загрузка…
Ссылка в новой задаче