summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2012-12-20merge revision(s) 35924: [Backport #7587]usa
installation dependencies * common.mk (do-install-{all,nodoc,arch}): fix installation dependencies so build exts also. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-14merge revision(s) 37604:usa
* ruby_atomic.h: renamed from atomic.h to avoid header file name conflict on Solaris 10. [ruby-dev:46414] [Bug #7287] * gc.c, signal.c, vm_core.h, common.mk: reflect the rename from atomic.h to ruby_atomic.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-09merge revision(s) 37585,37587,37591,37592,37597,37599:usa
* random.c (rb_memhash): use siphash. * siphash.c (sip_init_state): use union to suppress warnings by gcc 4.7. * siphash.h: include inttypes.h only when HAVE_INTTYPES_H is defined. * siphash.h: check configure macros before include newer headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-25merge revision(s) ↵usa
34849,34853,34854,34855,34859,34862,35384,35385,36811,36812,36850,36907,36908: [Backport #7174] * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory. * Makefile.in (clean-platform): add new target. It cleans `win32` directory. * common.mk (clean): add a dependency for `win32` directory. * common.mk (distclean): ditto. * common.mk (distclean-platform): add new target. It cleans `win32` directory. * common.mk ($(PLATFORM_D)): add new target to make `win32` directory. * common.mk (win32/win32.$(OBJEXT)): move win32.o into `win32` directory. * common.mk (win32/file.$(OBJEXT)): add new target for win32/file.c. * configure.in: move win32.o into `win32` directory and add win32/file.o to MISSING. * file.c (file_load_ok, rb_file_load_ok): replace static file_load_ok() with public rb_file_load_ok(). It's to link Windows implementation in win32/file.c. * file.c (rb_find_file_ext_safe): ditto. * file.c (rb_find_file_safe): ditto. * win32/file.c (rb_file_load_ok): new file. Add Windows specific optimized implementation of rb_file_load_ok(). We created a separated file to avoid too many #ifdef macro which is unreadable. * win32/Makefile.sub (PLATFORM_DIR): add a variable for `win32` directory. * win32/Makefile.sub (MISSING): move win32.obj into `win32` directory and add win32/file.obj to MISSING. * win32/Makefile.sub (MAKEDIRS): replace MINIRUBY with BASERUBY. It's because miniruby doesn't exist when making `win32` directory. * win32/Makefile.sub (clean-platform): add new target to clean `win32` directory. * win32/Makefile.sub ({$(srcdir)}.c{}.obj): make it not match win32/file.c to build properly. * win32/Makefile.sub (win32/win32.$(OBJEXT)): move win32.obj into `win32` directory. Patch created with Luis Lavena. [ruby-core:42480] [Feature #5999] * win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead of ruby. [Bug #6103] [ruby-core:43012] * win32/README.win32: added a notice about command extension of cmd.exe. * win32/makedirs.bat: new command to make intermediate directories, and not to report any errors if the directory already exists. * win32/Makefile.sub (MAKEDIRS): enable command extensions. * win32/file.c (INVALID_FILE_ATTRIBUTES): define for old SDK. * configure.in (mingw): add shlwapi to the list of dependency libs for Windows. * win32/Makefile.sub (EXTSOLIBS): ditto. * internal.h: declare internal functions rb_w32_init_file, rb_file_expand_path_internal and rb_file_expand_path_fast. * file.c (Init_File): invoke Windows initialization rb_w32_init_file * win32/file.c (rb_file_load_path_internal): new function. Windows-specific implementation that replaces file_expand_path. [Bug #6836][ruby-core:46996] * win32/file.c (rb_w32_init_file): new function. Initialize codepage cache for faster conversion encodings lookup. * file.c (file_expand_path): rename to rb_file_expand_path_internal. Conditionally exclude from Windows. * file.c (rb_file_expand_path_fast): new function. delegates to rb_file_expand_path_internal without performing a hit to the filesystem. * file.c (file_expand_path_1): use rb_file_expand_path_internal without path expansion (used by require). * file.c (rb_find_file_ext_safe): ditto. * file.c (rb_find_file_safe): ditto. * load.c (rb_get_expanded_load_path): use rb_file_expand_path_fast. * load.c (rb_feature_provided): ditto. * file.c (rb_file_expand_path): use rb_file_expand_path_internal with path expansion. * file.c (rb_file_absolute_path): ditto. * test/ruby/test_file_exhaustive.rb: new tests to exercise rb_file_expand_path_internal implementation and compliance with existing behaviors. * test/ruby/test_file_exhaustive.rb: fix test introduced in r36811 for posix environments where HOME is not defined. [ruby-core:47322] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-06merge revision(s) 33886: [Backport #5682]naruse
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb to man pages. Fixes #5598. (do-install-nodoc, do-install-local, do-install-man, dont-install-nodoc, dont-install-local, dont-install-man): No longer needs --mantype. Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>, patch by George Koehler <xkernigh AT netscape.net>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31* common.mk (node_name.inc): Use $(Q) for consistency.yugui
* Makefile.in (INSNS): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31* common.mk (ECHO1): nmake does not allow parenthesis in make variableyugui
replacement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31Fixes a wrong part in the previous commit.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31* common.mk (ECHO1): ":" in a make variable replacement cause a syntaxyugui
error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead. * configure.in (NULLCMD): new check. * Makefile.in (NULLCMD): Reflects checking in configure. * win32/Makefile.sub (NULLCMD): new assignment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08* common.mk (RUN_OPT): disable gems.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08* common.mk: add dependencies for EXT_SRCS.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08* common.mk (sudo-precheck): true command is not standard onnobu
Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-18* eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don'takr
declare internal functions. * internal.h, vm_core.h: declare internal functions. * array.c: include internal.h. * common.mk: update dependency for array.o. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-18forgot to commit.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17* common.mk: dependencies updated.akr
* tool/update-deps: new file to assist update dependencies in common.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14* common.mk (sudo-precheck): authenticate at first to sudo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT,kosaki
RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing interrupt_flag bit lost. * thread.c (rb_threadptr_execute_interrupts_rec): ditto. * vm_core.h (typedef struct rb_thread_struct): change type of interrupt_flag to rb_atomic_t. * atomic.h: move atomic ops definition from signal.c. * signal.c: remove atomic ops definition. * common.mk (gc, signal, thread, cont): add to dependency to atomic.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11fixed a grammatical errorduerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10* common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb".ko1
TESTRUN_SCRIPT is used by "make run", "make gdb" and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18* internal.h: add for internal use only.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18* common.mk (rdoc-coverage): remove duplicated target.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10Use UTF-8 for rdoc-coverage and silence progress reporterdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 * common.mk (rdoc): Add rdoc-coverage ruledrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28* common.mk (love): all you need is love.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):nobu
support paralell-make under ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24* common.mk (love): make ruby, not war.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24* common.mk (love): for the birthday.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24* common.mk: Use $RUNRUBY for worker process.sorah
* lib/test/unit.rb: Fix bug. * lib/test/unit.rb: @options[:ruby](@opts[:ruby]) is now Array. * test/testunit/parallel.rb: Fix for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11* configure.in (rubygems): add --disable-rubygems option.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07* common.mk (rdoc): add --encoding=UTF-8; ruby's rdoc must be UTF-8.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-10* common.mk (showflags): show LD commands.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27* common.mk (EXTMK_ARGS): specify to pass macro V, because nmakeusa
doesn't pass it via MAKEFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-15* common.mk (clean-local): remove pc file.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14* common.mk (help): there is no reason to use the abbreviation for here.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12* common.mk (ID_H_INCLUDES): now id.h depends on vm_opts.h.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06* common.mk (test-build): test-all runs build tests on cross-compiling.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06* common.mk (test-build): run all test normally on native environments.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06* common.mk (test-build): test for build process.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-27* configure.in: link addr2line only for ELF.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-26* addr2line.c: added to show source filename and line number ofnaruse
functions in backtrace. [ruby-dev:42625] a patch from shinichiro.h <shinichiro.hamaji AT gmail.com> * addr2line.h: ditto. * common.mk: add addr2line.$(OBJEXT). * configure.in: check dl_iterate_phdr. * vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in addr2line.c when the binary is ELF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19add dependency(insns.inc) to compile.objarton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17* Makefile.in (reconfig): force reconfigure with previous options.nobu
* common.mk (showconfig): show configure flags, like as `config.status --config' generated by recent autoconf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17* win32/Makefile.sub (MAKEDIRS): should not include silent flag.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17* common.mk (ext/ripper/ripper.c, ext/json/parser/parser.c): passnobu
Q and ECHO. [ruby-core:33226] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13* common.mk (showflags, help): emit messages at once.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12* common.mk (showflags, help): use caret to quote leading spaces on Windows.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12* Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,nobu
ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11* common.mk (showflags): nmake ignores case difference of targets.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11* common.mk (all, main): show flags first.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11* common.mk (Doxyfile, capi, rdoc): show messages only by default.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e