summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2008-01-07 * common.mk, Makefile.in, */Makefile.sub (distclean-local): moveusa
removing rule of ext/ripper/y.output from common.mk to Makefiles that depend on platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03* encoding.c (rb_isalnum): defined.akr
(rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto. (rb_tolower): ditto. (rb_toupper): ditto. * include/ruby/ruby.h: don't include include/ruby/encoding.h. (rb_isascii): defined. (rb_isalnum): declared. (rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto. (rb_tolower): ditto. (rb_toupper): ditto. (ISASCII): simplified. (ISPRINT): ditto. (ISSPACE): ditto. (ISUPPER): ditto. (ISLOWER): ditto. (ISALNUM): ditto. (ISALPHA): ditto. (ISDIGIT): ditto. (ISXDIGIT): ditto. (TOUPPER): ditto. (TOLOWER): ditto. * include/ruby/encoding.h (rb_isascii): removed. (rb_isalnum): ditto. (rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto. (rb_tolower): ditto. (rb_toupper): ditto. * common.mk: dependency updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03update dependency for alloca.o and dmydln.o.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03update golf dependency.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02* util.c (ruby_strtoul): locale independent strtoul is implemented toakr
avoid "i".to_i(36) cause 0 under tr_TR locale. This is newly implemented, not a copy of missing/strtoul.c. * include/ruby/ruby.h (ruby_strtoul): declared. (STRTOUL): defined to use ruby_strtoul. * bignum.c, pack.c, ext/socket/socket.c: use STRTOUL. * configure.in (strtoul): don't check. * missing/strtoul.c: removed. * include/ruby/missing.h (strtoul): removed. * common.mk (strtoul.o): removed. * LEGAL (missing/strtoul.c): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02* common.mk (strcasecmp.o): removed.akr
(strncasecmp.o): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01thread_pthread.c -> thread_$(THREAD_MODEL).c.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01thread_pthread.h -> thread_$(THREAD_MODEL).h.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01* common.mk: dependency updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for crossnobu
compiling. * configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib moved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* configure.in: rm largefile.h.naruse
* common.mk: clean golf, conf*, preludes, and so on. * enc/depend: silent and ignore error for rm. * enc/Makefile.in: should define prefix and exec_prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29* common.mk (clean, distclean, realclean): should include clean-encnobu
and others. [ruby-dev:32887] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 * common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY becauseusa
tool/compile_prelude.rb requires rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* common.mk (parse.c): depends on tool/ytab.sed.nobu
* tool/ytab.sed: hack for bison 2.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* common.mk (realclean-enc): fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* common.mk (clean-enc): clean encoding objects.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.nobu
* trunk/main.c (main): hook for embedding applications. * trunk/tool/compile_prelude.rb: can change initialize function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.nobu
* transcode_data.h (rb_transcoding, rb_transcoder): prefixed. * transcode.c (rb_register_transcoder, rb_declare_transcoder): split declaration and registration. [ruby-dev:32704] * transcode.c (transcode_dispatch): autoload pre-declared transcoder. * transcode.c (str_transcode): use rb_define_dummy_encoding(). * transcode.c (Init_transcode): initialize transcoder tables. * enc/trans/single_byte.c, enc/trans/japanese.c: moved from top. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannotnobu
handle target vpath in other than implicit rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specifynobu
compiled output file name explicitly. * enc/Makefile.in, enc/depend: now makes compiler to put generated files under directories corresnponding to the each source. enc/trans supported. * enc/make_encmake.rb: evaluates depend file before Makefile.in so that the former can influence to CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* common.mk: should not pass MAKEFLAGS to recursive make.nobu
+ normal make: MFLAGS are set and command line options and macros are all passed silently. + GNU make: ditto, and all options and macros in MAKEFLAGS are in effect. + nmake: MFLAGS is not set and MAKEFLAGS has only options without hyphen, no macros exist in any variables. + Borland make: ditto, and command line macros cannot override macros in makefile, so passing them is vain. * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* common.mk: remove additional "-".ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* common.mk (srcs): new target to generated sources.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* common.mk (encs, ext/ripper/ripper.c): MAKEFLAGS needs -.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 * common.mk (version.o): add dependency. [ruby-dev:32680]usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22Sat Dec 22 15:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* transcode_data_one_byte: slightly optimized * transcode_data_japanese: new data file for EUC-JP and SHIFT_JIS (not yet optimized; tests to follow; data from http://nkf.sourceforge.jp/ucm/{SJIS|eucJP}-nkf.ucm) * common.mk, transcode.c: Adjusted for transcode_data_japanese git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.nobu
* configure.in (STRINGIZE): stringizing macro. * include/ruby/defines.h (STRINGIZE): fallback. * tool/make-snapshot: new file. * version.c (ruby_description, ruby_copyright): string constants for -v option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21Fri Dec 21 16:25:25 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* common.mk, transcode_data_iso_8859.c: renamed to transcode_data_one_byte.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* common.mk (enc.mk): depends on $(RBCONFIG) instead of rbconfig.rb.nobu
* encoding.c (Init_Encoding): ISO-8859-1 is no longer a replica. * regenc.h (OnigEncodingDefine): names of extension and encoding can differ. * enc/Makefile.in: always shared. * enc/depend (deffile): should not upcase. * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: fix for Init. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* tool/compile_prelude.rb: use erb.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* common.mk, *.ci: renamed to *.c.ko1
* eval_laod.c: renamed to load.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* common.mk (enc.mk): depends on rbconfig.rb.nobu
* regenc.h (OnigEncodingDefine): external encoding definition macro. * enc/Makefile.in: fix for linking. * enc/depend, enc/make_encmake.rb: fix for Windows. * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* common.mk (encs): create encoding directory.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18* common.mk (encs, ext/ripper/ripper.c): other options must comenobu
before MAKEFLAGS in GNU make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18* common.mk (encs, ext/ripper/ripper.c): pass MAKEFLAGS.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* configure.in (BUILTIN_ENCS): removed.nobu
* common.mk (enc.mk): pass BUILTIN_ENCS from command line. * enc/depend: ditto. * enc/make_encmake.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* common.mk (encs): added dependencies.nobu
* enc/Makefile.in, enc/depend, enc/make_encmake.rb: moved serb code. * lib/mkmf.rb (depend_rules): now takes content string, not file name. * win32/enc-setup.mak: overrides default target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* common.mk (miniprelude.c): add -I$(srcdir).gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* common.mk (encs): new target to compile external encodings.nobu
* enc/Makefile.in: became a serb template. * enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb. * lib/mkmf.rb (relative_from): moved from ext/extmk.rb. * lib/mkmf.rb ($extmk): true if under to top source directory, not only ext. * lib/mkmf.rb (depend_rules): extracted from create_makefile. * tool/serb.rb (serb): splitted from tool/compile_prelude.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-15* configure.in (enc/Makefile): add external encoding objects list.nobu
* common.mk (BUILTIN_ENCOBJS): renamed from ENCOBJS. * Makefile.in (BUILTIN_ENCOBJS): substitued by autoconf. * enc/Makefile.in: new file to compile external encoding sources. * encoding.c (rb_enc_find_index): auto-load external encoding objects as "ext/ENCODING_NAME". [ruby-dev:32606] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14* common.mk (ruby.imp): fix for circular dependency. a patch fromnobu
Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590]. * regint.h, st.c, ext/json/ext/generator/generator.c: suppress warnings on AIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-11* Makefile.in, */Makefile.sub (CP, MV): added.nobu
* common.mk (.y.c): not discard the old target until successfully created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10* transcode.c: new file to provide encoding conversion features.matz
code contributed by Martin Duerst. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-20* include/ruby/io.h (rb_io_t): add tied_io_for_writing member.akr
* io.c: use tied_io_for_writing for duplex popen. * gc.c: mark tied_io_for_writing. * common.mk: gc.o depends io.h. [ruby-dev:32205] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-15* common.mk (prereq): added auto generated sources. [ruby-dev:32280]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-14* common.mk, Makefile.in: rename prelude.c to miniprelude.c.akr
rename ext_prelude.c to prelude.c * win32/Makefile.sub: ditto. * bcc32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13* common.mk (parse.c): dependency also needs vpath.nobu
* common.mk (node_name.inc, prelude.c): VPATH in nmake does not work for targets of explicit rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13* common.mk (parse.c), ext/ripper/depend (ripper.c): process afternobu
bison with sed. [ruby-dev:32204] * ruby.c (proc_options): use yydebug in cmdline_options. * ruby.c (process_options): set yydebug flag of parser. * parse.y (yydebug): moved into struct parser_params. * parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser generic methods. * */Makefile.sub (parse.c): moved to common.mk. * tool/ytab.sed: comment out yydebug definition, and substitute yyerror with parser_yyerror. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12* Makefile.in, common.mk: add prelude.o to MINIOBJS.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12* Makefile.in, common.mk: add ext_prelude.o to OBJS.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e