aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that cannobu2008-01-301-26/+26
| | | | | | | be executed even with -n. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, common.mk: fix rule for dmytranscode.o.naruse2008-01-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_to_Windows_31J): to 'Windows-31J'.naruse2008-01-291-7/+12
| | | | | | | | | * common.mk: add rules for transdb.h. * transcode.c (init_transcoder_table): use transdb.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dmyencoding.c, encoding.c (enc_init_db, NO_ENCDB_H):naruse2008-01-291-6/+11
| | | | | | | | | miniruby doesn't use encdb. * common.mk: encdb.h use miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ifchange: remove $temp when unchanged.naruse2008-01-291-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, ext/extmkf.rb: always make encdb.h.naruse2008-01-291-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk ($(srcdir)/revision.h): no need to show ifchange executionusa2008-01-281-1/+1
| | | | | | | | because ifchange echos updated or unchaned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (up): force to update revision.h.nobu2008-01-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (up): pass MFLAGS.nobu2008-01-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (up): use last changed revision.nobu2008-01-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): use double quotes for nmake.usa2008-01-281-11/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *common.mk: add description about "make clean".naruse2008-01-271-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *common.mk: add description about "make golf".naruse2008-01-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): show major targets.naruse2008-01-271-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (version.$(OBJEXT)): depends on $(srcdir)/revision.h.nobu2008-01-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): extracts revision number with ``svn info''.nobu2008-01-251-3/+12
| | | | | | | | | | | | | | * common.mk (up): target to update from the repository. * Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a file if changed. * tool/ifchange: for unixen. * win32/ifchange.bat: some fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: use -Ks when read insns.def. [ruby-dev#33185]naruse2008-01-201-1/+1
| | | | | | | * parse.y: fix -e and stdin strings aren't set encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encdb.h): give output file name to make_encdb.rb.nobu2008-01-171-1/+1
| | | | | | | | | | | | | | | * encoding.c (enc_table): simplified. * encoding.c (enc_register_at): lazy loading. [ruby-dev:33013] * regenc.h (ENC_DUMMY): added. * enc/make_encdb.rb: now emits macros only. * enc/iso_2022_jp.h: split from encoding.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c: renamed as IANA name.nobu2008-01-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (us_ascii.o): add dependecies. [ruby-dev:33111]usa2008-01-151-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: simplified dummy objects dependencies.nobu2008-01-141-7/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (OBJS): moved encoding.o from COMMONOBJS.nobu2008-01-141-1/+5
| | | | | | | | | | | | * common.mk (dmyencoding.o): added. [ruby-dev:33099] * configure.in, {win,bcc}32/Makefile.sub (MINIOBJS): added dmyencoding.o. * dmyencoding.c (rb_locale_charmap): returns nil for miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (ENCINDEX_EUC_JP, ENCINDEX_SJIS): removed.naruse2008-01-131-6/+0
| | | | | | | | | | | | | | | (rb_enc_init): EUC-JP and Shift_JIS are not builtin now. * enc/Makefile.in: ditto. * common.mk: ditto. * ruby.c (proc_options): ditto. * enc/shift_jis.c, enc/euc_jp.c: fixes for romove from builtin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): revert removing SJIS.naruse2008-01-131-1/+1
| | | | | | | | | | | | | | * enc/sjis.c: move to enc/shift_jis.c, to make encoding name equal to filename for convinience of loading lib. * enc/shift_jis.c: moved from enc/sjis.c. * common.mk: follows enc/shift_jis.c. * enc/Makefile.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (incs): includes encdb.h.nobu2008-01-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/make_encdb.rb: should work on Ruby 1.8. [ruby-dev:33069]matz2008-01-121-1/+1
| | | | | | * common.mk (encdb.h): pass enc dir from outside to make_encdb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/make_encdb.rb: added. search enc/*.c and make encoding database.naruse2008-01-121-2/+5
| | | | | | | | | | | | | | | | | | | | * regenc.h (ENC_REPLICATE, ENC_ALIAS): added for defining replica encoding and encoding alias. * encoding.c (rb_enc_init): move alias definitions to enc/*.c. (rb_enc_find_index): search original of replica and alias when no encoding library. (rb_enc_name_list, rb_enc_aliases_enc_i, rb_enc_aliases_str_i, rb_enc_aliases, Encoding.name_list, Encoding.aliases): added. (Init_Encoding): init encdb. * enc/ascii.c, enc/us_ascii.c, enc/euc_jp.c, enc/sjis.c: add replica encoding and encoding alias difinition. * common.mk (dist-clean-local): add rule for remvoe encdb.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, */Makefile.sub (distclean-local): moveusa2008-01-071-1/+0
| | | | | | | | | 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
* * encoding.c (rb_isalnum): defined.akr2008-01-031-92/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* update dependency for alloca.o and dmydln.o.akr2008-01-031-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update golf dependency.akr2008-01-031-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtoul): locale independent strtoul is implemented toakr2008-01-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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
* * common.mk (strcasecmp.o): removed.akr2008-01-021-2/+0
| | | | | | | (strncasecmp.o): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c -> thread_$(THREAD_MODEL).c.akr2008-01-011-91/+52
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.h -> thread_$(THREAD_MODEL).h.akr2008-01-011-18/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: dependency updated.akr2008-01-011-169/+274
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for crossnobu2007-12-301-6/+6
| | | | | | | | | | 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
* * configure.in: rm largefile.h.naruse2007-12-301-4/+6
| | | | | | | | | | | * 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
* * common.mk (clean, distclean, realclean): should include clean-encnobu2007-12-291-3/+3
| | | | | | | and others. [ruby-dev:32887] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY becauseusa2007-12-271-1/+1
| | | | | | | | tool/compile_prelude.rb requires rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c): depends on tool/ytab.sed.nobu2007-12-251-1/+1
| | | | | | | * 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
* * common.mk (realclean-enc): fixed typo.nobu2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-enc): clean encoding objects.nobu2007-12-251-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.nobu2007-12-251-2/+17
| | | | | | | | | * 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
* * common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.nobu2007-12-251-4/+0
| | | | | | | | | | | | | | | | | | * 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
* * common.mk (node_name.inc, miniprelude.c, prelude.c): nmake cannotnobu2007-12-241-3/+3
| | | | | | | 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
* * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specifynobu2007-12-241-1/+1
| | | | | | | | | | | | | | 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
* * common.mk: should not pass MAKEFLAGS to recursive make.nobu2007-12-241-2/+2
| | | | | | | | | | | | | | | | | + 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
* * common.mk: remove additional "-".ko12007-12-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (srcs): new target to generated sources.nobu2007-12-221-5/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e