зеркало из https://github.com/github/ruby.git
* configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.
* enc/Makefile.in (BUILTIN_ENCS): includes .c suffix. * enc/depend: splitted from Makefile.in. * {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
33ecb05d51
Коммит
4cf13ffaef
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
Mon Dec 17 17:17:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.
|
||||||
|
|
||||||
|
* enc/Makefile.in (BUILTIN_ENCS): includes .c suffix.
|
||||||
|
|
||||||
|
* enc/depend: splitted from Makefile.in.
|
||||||
|
|
||||||
|
* {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS.
|
||||||
|
|
||||||
Mon Dec 17 17:07:53 2007 Tanaka Akira <akr@fsij.org>
|
Mon Dec 17 17:07:53 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.
|
* string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.
|
||||||
|
|
|
@ -147,6 +147,11 @@ $(BANG)endif
|
||||||
@$(APPEND) PROCESSOR_LEVEL = 6
|
@$(APPEND) PROCESSOR_LEVEL = 6
|
||||||
@$(APPEND) !endif
|
@$(APPEND) !endif
|
||||||
|
|
||||||
|
-epilogue-: -encs-
|
||||||
|
|
||||||
|
-encs-: nul
|
||||||
|
@$(MAKE) -f $(srcdir)/win32/enc-setup.mak srcdir="$(srcdir)" MAKEFILE=$(MAKEFILE)
|
||||||
|
|
||||||
-epilogue-: nul
|
-epilogue-: nul
|
||||||
@type >> $(MAKEFILE) &&|
|
@type >> $(MAKEFILE) &&|
|
||||||
|
|
||||||
|
|
26
configure.in
26
configure.in
|
@ -1735,39 +1735,17 @@ else
|
||||||
fi
|
fi
|
||||||
tr -d '\015' < largefile.h > confdefs.h
|
tr -d '\015' < largefile.h > confdefs.h
|
||||||
|
|
||||||
test -d enc || mkdir enc
|
|
||||||
BUILTIN_ENCS=["`sed -n -e '/^BUILTIN_ENCS[ ]*=/{' \
|
BUILTIN_ENCS=["`sed -n -e '/^BUILTIN_ENCS[ ]*=/{' \
|
||||||
-e s/// -e :l -e '/\\\\$/N' -e 's/\\\\\\n/ /' -e 't l' -e p \
|
-e s/// -e :l -e '/\\\\$/N' -e 's/\\\\\\n/ /' -e 't l' -e p \
|
||||||
-e '}' "${srcdir}/enc/Makefile.in"`"]
|
-e '}' "${srcdir}/enc/Makefile.in"`"]
|
||||||
BUILTIN_ENCS="`echo $BUILTIN_ENCS`"
|
BUILTIN_ENCS="`echo $BUILTIN_ENCS`"
|
||||||
EXTERNAL_ENCS=
|
|
||||||
for e in "${srcdir}/enc"/*.c; do
|
|
||||||
e=`basename "$e" .c`
|
|
||||||
case " $BUILTIN_ENCS " in
|
|
||||||
*" $e "*) ;;
|
|
||||||
*) EXTERNAL_ENCS="$EXTERNAL_ENCS $e";;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
echo $EX
|
|
||||||
BUILTIN_ENCOBJS=
|
BUILTIN_ENCOBJS=
|
||||||
for e in $BUILTIN_ENCS; do BUILTIN_ENCOBJS="$BUILTIN_ENCOBJS $e"'.$(OBJEXT)'; done
|
for e in $BUILTIN_ENCS; do BUILTIN_ENCOBJS="$BUILTIN_ENCOBJS `basename $e .c`"'.$(OBJEXT)'; done
|
||||||
EXTERNAL_ENCOBJS=
|
|
||||||
for e in $EXTERNAL_ENCS; do EXTERNAL_ENCOBJS="$EXTERNAL_ENCOBJS $e"'.$(OBJEXT)'; done
|
|
||||||
ENCSOS=
|
|
||||||
for e in $EXTERNAL_ENCS; do ENCSOS="$ENCSOS "'$(ENCSODIR)/'"$e"'.$(DLEXT)'; done
|
|
||||||
|
|
||||||
|
AC_SUBST(BUILTIN_ENCS)
|
||||||
AC_SUBST(BUILTIN_ENCOBJS)
|
AC_SUBST(BUILTIN_ENCOBJS)
|
||||||
AC_SUBST(EXTERNAL_ENCOBJS)
|
|
||||||
AC_SUBST(ENCSOS)
|
|
||||||
|
|
||||||
AC_CONFIG_FILES($FIRSTMAKEFILE)
|
AC_CONFIG_FILES($FIRSTMAKEFILE)
|
||||||
AC_CONFIG_FILES(enc/Makefile, [{
|
|
||||||
for e in $ENCS; do
|
|
||||||
echo ''
|
|
||||||
echo '$(ENCSODIR)/'"$e"'.$(DLEXT): '"$e"'.$(OBJEXT)'
|
|
||||||
echo ' $(LDSHARED) $(DLDFLAGS) $< $(OUTFLAG)$''@'
|
|
||||||
done >> enc/Makefile
|
|
||||||
}], [ENCS="$EXTERNAL_ENCS"])
|
|
||||||
AC_CONFIG_FILES(Makefile, [{
|
AC_CONFIG_FILES(Makefile, [{
|
||||||
sed '/^MISSING/s/\$U\././g' Makefile
|
sed '/^MISSING/s/\$U\././g' Makefile
|
||||||
echo; test x"$EXEEXT" = x || echo 'miniruby: miniruby$(EXEEXT)'
|
echo; test x"$EXEEXT" = x || echo 'miniruby: miniruby$(EXEEXT)'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = $(srcdir:/enc=)
|
top_srcdir = $(srcdir:/enc=)
|
||||||
arch = @arch@
|
arch = @arch@
|
||||||
EXTOUT = $(top_srcdir)/@EXTOUT@
|
EXTOUT = @EXTOUT@
|
||||||
hdrdir = $(top_srcdir)/include
|
hdrdir = $(top_srcdir)/include
|
||||||
arch_hdrdir = $(EXTOUT)/include/$(arch)
|
arch_hdrdir = $(EXTOUT)/include/$(arch)
|
||||||
VPATH = $(arch_hdrdir)/ruby:$(hdrdir)/ruby:$(top_srcdir):$(srcdir)
|
VPATH = $(arch_hdrdir)/ruby:$(hdrdir)/ruby:$(top_srcdir):$(srcdir)
|
||||||
|
@ -9,9 +9,9 @@ ENCSODIR = $(EXTOUT)/$(arch)/enc
|
||||||
DLEXT = @DLEXT@
|
DLEXT = @DLEXT@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
|
|
||||||
BUILTIN_ENCS = ascii \
|
BUILTIN_ENCS = ascii.c \
|
||||||
euc_jp sjis \
|
euc_jp.c sjis.c \
|
||||||
unicode utf8
|
unicode.c utf8.c
|
||||||
|
|
||||||
ENCOBJS = @EXTERNAL_ENCOBJS@
|
ENCOBJS = @EXTERNAL_ENCOBJS@
|
||||||
ENCSOS = @ENCSOS@
|
ENCSOS = @ENCSOS@
|
||||||
|
@ -26,8 +26,3 @@ XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
|
||||||
LIBS = @LIBS@ $(EXTLIBS)
|
LIBS = @LIBS@ $(EXTLIBS)
|
||||||
LDSHARED = @LDSHARED@
|
LDSHARED = @LDSHARED@
|
||||||
DLDFLAGS = @DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
|
DLDFLAGS = @DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
|
||||||
|
|
||||||
all: $(ENCOBJS) $(ENCSOS)
|
|
||||||
|
|
||||||
.c.@OBJEXT@:
|
|
||||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c $<
|
|
||||||
|
|
|
@ -197,6 +197,11 @@ $(CPU) = $(PROCESSOR_LEVEL)
|
||||||
-i686-: -ix86-
|
-i686-: -ix86-
|
||||||
@$(APPEND) $(CPU) = 6
|
@$(APPEND) $(CPU) = 6
|
||||||
|
|
||||||
|
-epilogue-: -encs-
|
||||||
|
|
||||||
|
-encs-: nul
|
||||||
|
@$(MAKE) -l -f $(srcdir)/win32/enc-setup.mak srcdir="$(srcdir)" MAKEFILE=$(MAKEFILE)
|
||||||
|
|
||||||
-epilogue-: nul
|
-epilogue-: nul
|
||||||
!if exist(confargs.c)
|
!if exist(confargs.c)
|
||||||
@$(CPP) confargs.c >> $(MAKEFILE)
|
@$(CPP) confargs.c >> $(MAKEFILE)
|
||||||
|
|
|
@ -219,6 +219,11 @@ INCLUDE = $$(CE_TOOLS4_DIR)/wce410/sigmarionIII SDK/include/$$(ARCHFOLDER)
|
||||||
LIB = $$(CE_TOOLS4_DIR)/wce410/sigmarionIII SDK/lib/$$(ARCHFOLDER)
|
LIB = $$(CE_TOOLS4_DIR)/wce410/sigmarionIII SDK/lib/$$(ARCHFOLDER)
|
||||||
<<
|
<<
|
||||||
|
|
||||||
|
-epilogue-: -encs-
|
||||||
|
|
||||||
|
-encs-: nul
|
||||||
|
@$(MAKE) -l -f $(srcdir)/win32/enc-setup.mak srcdir="$(srcdir)" MAKEFILE=$(MAKEFILE)
|
||||||
|
|
||||||
-epilogue-: nul
|
-epilogue-: nul
|
||||||
@type << >>$(MAKEFILE)
|
@type << >>$(MAKEFILE)
|
||||||
!ifdef RUBY_INSTALL_NAME
|
!ifdef RUBY_INSTALL_NAME
|
||||||
|
|
Загрузка…
Ссылка в новой задаче