summaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)Author
2012-11-23configure.in: --disable-dlnnobu
* configure.in (--disable-dln): option to disable dynamic linking feature. [ruby-core:37676] [Feature #4946] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22* Makefile.in (.dmyh.h): removed $(VPATH). GNU make don'tkosaki
recognize suffix rule with VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22* common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake mergesusa
explicit rules for same target, but not merges exlicit rules and implicit rules -- always explict rules win. So, need to add an explist rule for probes.h. reported by Heesob Park at [Bug #7421] [ruby-core:49839] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22* Makefile.in (probes.o): add -C to ignore #include in probes.d.naruse
* probes.d: include vm_opts.h instead of vm_core.h. * vm_opts.h (VM_COLLECT_USAGE_DETAILS): move definition from vm_core.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22* Makefile.in: run preprocessor when making probe.hkosaki
* probes.d: define probe insn and insn__operand only when VM_COLLECT_USAGE_DETAILS is 1. [Bug #7370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-20* Makefile.in (.d.h): replace char * to const char * because somehownaruse
current dtrace removes const of function declaration in probes.d. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-20Remove probes.o before updatenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19common.mk: no purelibnobu
* common.mk (RUBYLIB): purelib option in runruby.rb is deprecated since r28841, so set to an empty list to get rid of a bogus path in child processes, which caused an insecure operation exception in test/ruby/test_encoding.rb:test_unsafe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* Makefile.in, common.mk (probes.h): moved to common.mk and changed tousa
see $(srcdir). * common.mk (probes.dmyh): now created it on $(srcdir) always. * win32/Makefile.sub (.SUFFIXES): removed common suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-19* Makefile.in (.SUFFIX): bsdmake needs .SUFFIX is defined before use.naruse
* common.mk: fix path of probes.dmyh. * configure.in: FreeBSD's USDT requires libelf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-18* configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,ngoto
based on r26235 by Yugui. On Solaris 10, low optimization level may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle SolarisStudio 12.3 cc. * configure.in (--enable-dtrace): new option to enable/disable DTrace support. By default, trying to enable if dtrace command is found on the system. It is disabled when cross compiling. * configure.in (RUBY_DTRACE_POSTPROCESS): new macro. checks whether the dtrace on the system needs postprocessing with "dtrace -G". The postprocessing is needed on Solaris 10 and other platforms. * configure.in (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether the dtrace supports USDT. * configure.in (DTRACE): move after RUBY_DTRACE_POSTPROCESS. * configure.in (LD): On Solaris, /usr/ccs/bin/ld is preferred. * configure.in, Makefile.in, common.mk (DTRACE_OBJ): new macro for DTrace probe object generated by postprocessing with "dtrace -G". * Makefile.in, common.mk (probes.$(OBJEXT)): DTrace probe object generated by the postprocessing. New file probes.stamp is for rebuilding related objects that may be modified by "dtrace -G". * configure.in, Makefile.in, common.mk (DTRACE_GLOMMED_OBJ): new macro for DTrace static library hacks. * configure.in, Makefile.in (LIBRUBY_A_OBJS): ditto. * Makefile.in, common.mk (ruby-glommed.$(OBJEXT)): new target with rule for DTrace static library hacks. * common.mk (DTRACE_DEPENDENT_OBJS): objects depended on probes.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16probes.h: select by suffix rulesnobu
* Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h): select generating with dtrace or copying dummy file by suffix rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16Makefile.in: fix typonobu
* Makefile.in (yes-dtrace-probes.h): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16* Makefile.in (no-dtrace-probes.h): dmyprobes.h is in srcdir.naruse
* common.mk (dmyprobes.h): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16Makefile.in: split probes.h commandsnobu
* Makefile.in (probes.h): split build commands for dtrace-available and unavailable platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16Makefile.in: move probes.h to all-incsnobu
* Makefile.in (incs): probes.h is a platform dependent file, so it cannot be a part of prereq target. move it to all-incs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16Makefile.in: probes.hnobu
* Makefile.in, win32/Makefile.sub (probes.h): fix copying dmyprobes.h path when outplace-build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-13* Makefile.in (probes.h): create from probes.dmrkn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-13* common.mk (dmyprobes.h): always create for make dist.naruse
* Makefile.in (probes.h): create or copy dmyprobes.h * win32/Makefile.sub: only do copy dmyprobes.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-13* Makefile.in (.SUFFIX): .SUFFIX is needed here for .d.h on bsd make.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-13* common.mk Makefile.in win32/Makefile.sub (.d.h): it's not common.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-13Fix dtrace commit r37631, it is [Feature #2565]naruse
* configure.in: disable dtrace because it doesn't work on FreeBSD. * common.mk (clean-local): rm probes.h. * common.mk (parse.o): depend $(PROBES_H_INCLUDES). * common.mk (.d.h): moved from Makefile.in and use BASERUBY. * tool/gen_dummy_probes.rb: reimplemented with ruby because sed is not available on Windows Microsoft VC++ environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-12* probes.d: add DTrace probe declarations. [ruby-core:27448]tenderlove
* array.c (empty_ary_alloc, ary_new): added array create DTrace probe. * compile.c (rb_insns_name): allowing DTrace probes to access instruction sequence name. * Makefile.in: translate probes.d file to appropriate header file. * common.mk: declare dependencies on the DTrace header. * configure.in: add a test for existence of DTrace. * eval.c (setup_exception): add a probe for when an exception is raised. * gc.c: Add DTrace probes for mark begin and end, and sweep begin and end. * hash.c (empty_hash_alloc): Add a probe for hash allocation. * insns.def: Add probes for function entry and return. * internal.h: function declaration for compile.c change. * load.c (rb_f_load): add probes for `load` entry and exit, require entry and exit, and wrapping search_required for load path search. * object.c (rb_obj_alloc): added a probe for general object creation. * parse.y (yycompile0): added a probe around parse and compile phase. * string.c (empty_str_alloc, str_new): DTrace probes for string allocation. * test/dtrace/*: tests for DTrace probes. * vm.c (vm_invoke_proc): add probes for function return on exception raise, hash create, and instruction sequence execution. * vm_core.h: add probe declarations for function entry and exit. * vm_dump.c: add probes header file. * vm_eval.c (vm_call0_cfunc, vm_call0_cfunc_with_frame): add probe on function entry and return. * vm_exec.c: expose instruction number to instruction name function. * vm_insnshelper.c: add function entry and exit probes for cfunc methods. * vm_insnhelper.h: vm usage information is always collected, so uncomment the functions. 12 19:14:50 2012 Akinori MUSHA <knu@iDaemons.org> * configure.in (isinf, isnan): isinf() and isnan() are macros on DragonFly which cannot be found by AC_REPLACE_FUNCS(). This workaround enforces the fact that they exist on DragonFly. 12 15:59:38 2012 Shugo Maeda <shugo@ruby-lang.org> * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo), vm_insnhelper.c (vm_search_method): revert r37616 because it's too slow. [ruby-dev:46477] * test/ruby/test_refinement.rb (test_inline_method_cache): skip the test until the bug is fixed efficiently. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-05common.mk: gdb-rubynobu
* Makefile.in (RUNRUBY_COMMAND): split from RUNRUBY. * common.mk (gdb-ruby): use runruby.rb to set up library path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15configure.in: strict warnflagsnobu
* configure.in (strict_warnflags): separate strict flags from warnflags only for core. [ruby-dev:46105] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17incs: timestamp filenobu
* Makefile.in, common.mk (incs): replace real header with the timestamp file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03make runnablenobu
* common.mk (runnable): make symbolic links to run in build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-13* Makefile.in: don't remove macros. now name2ctype uses macros.naruse
* tool/enc-unicode.rb: add comment why it uses Hash#index. * enc/unicode/{name2ctype.kwd,name2ctype.src,name2ctype.h.blt}: update to follow the current name2ctype.h. FYI current Unicode version is 6.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-13Makefile.in: warnflagsnobu
* Makefile.in (.c.i): add warnflags to make the result consistent with compilation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20Bug #6462: EXTSOLIBSnobu
* Makefile.in (LIBRUBY_SO): link EXTSOLIBS too. * ext/extmk.rb (mf.macro): use EXTSOLIBS instead of SOLIBS to get rid of discard libraries needed by default. [Bug #6462] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19static-linked-ext: into librubynobu
* Makefile.in, common.mk (PROGRAM): no extension libraries. * common.mk (build-ext): pass macros for libruby.so. * ext/extmk.rb (command_output): link extension libraries and encoding libraries into libruby.so, not ruby executable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19use LIBEXTnobu
* Makefile.in (LIBEXT): add macro. * configure.in (ENCOBJS, EXTOBJS): use LIBEXT, not hardcoded suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19fix typonobu
* Makefile.in (LIBRUBY_A): fix typo. re-applying r35242. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17Imports Ruby's port to NativeClient (a.k.a NaCl).yugui
Patch by Google Inc. [ruby-core:45073]. * configure.in (RUBY_NACL): New M4 func to configure variables for NaCl. (RUBY_NACL_CHECK_PEPPER_TYPES): New M4 func to check the old names of Pepper interface types. (BTESTRUBY): New variable to specify which ruby should be run on "make btest". NaCl can run the built binary by sel_ldr, but it need rbconfig.rb. So this variable is distinguished from $MINIRUBY. * thread_pthread.c: Disabled some features on NaCl. * io.c: ditto. * process.c: ditto. * signal.c: ditto. * file.c: ditto. * missing/flock.c: ditto. * nacl/pepper_main.c: An example implementation of Pepper application that embeds Ruby. * nacl/example.html: An example of web page that uses the Pepper application. * nacl/nacl-config.rb: Detects variants of NaCl SDK. * nacl/GNUmakefile.in: Makefile template for NaCl specific build process. * nacl/package.rb: script for packaging a NaCl-Ruby embedding application. * nacl/reate_nmf.rb: Wrapper script of create_nmf.py * dln.c (dln_load): Added a hack to call on NaCl. * util.c (ruby_getcwd): Path to the current directort is not available on NaCl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16Supports static linking of extensions and encodings again.yugui
Fixes --with-static-linked-ext. Patch by Google Inc. [ruby-core:45073]. * Makefile.in (ENCOBJS, EXTOBJS): New variables to specify static linked libraries. Also reintroduces extinit.o, introduces encinit.o introduces encinit.o * common.mk: Builds static libraries rather than shared objects if specified. * configure.in (LD): new substitution. Avoids PIE if s * enc/depend: Supports static linked libraries (libencs, libenc, libtrans): New target. * enc/encinit.c.erb: new template to generate the initialization of statically linked encodings. * enc/make_encmake.rb (--module): new flag to specify whether static or dynamic. * transcode_data.h (TRANS_INIT): New macro to get rid of the name collision of encoding initializers and transcoder initializers. * ext/extmk.rb: Fixes the behavior on $extstatic is true. * lib/mkmf.rb (clean-static): new target to clean up static linked libraries. * ruby.c (process_options): New initializes statically linked encodings here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07codesignnobu
* Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program using RUBY_CODESIGN identity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03distclean verconf.hnobu
* Makefile.in, win32/Makefile.sub (distclean-local): another generated header. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17* Makefile.in (reconfig, config.status): not depend onnobu
$(srcdir)/version.h to get rid of daily reconfiguration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-06* Makefile.in ($(LIBRUBY_A)): fix typo.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-26* win32/Makefile.sub (newline.c, miniprelude.c): search from sourcenobu
directory, not depending on VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-16remove a trailing space [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-13re-configurenobu
* Makefile.in (reconfig, config.status): re-configure for version numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-29define PLATFORM_DIR if needednobu
* Makefile.in, configure.in (PLATFORM_DIR): define if needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-29clean-platformnobu
* Makefile.in, win32/Makefile.sub (clean-platform): use macro instead hardcoded path names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-28* Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.shirosaki
* 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platformusa
specific hack from common.mk to Makefile.in (and win32/Makefile.sub). [Bug #5711] * lib/mkmf.rb: we can generate Makefile as we like. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02* Makefile.in (CFLAGS): append ARCH_FLAG.nobu
* configure.in (ARCH_FLAG): exclude from CFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27* Makefile.in (DLDFLAGS): also needs -fstack-protector.nobu
[Bug#5676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-25* Makefile.in (EXTLDFLAGS): export it.kosaki
* configure.in: add --no-undefined if --enable-shared is specified. Gentoo enabled this option long time. Also, export EXTLDFALGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-19* Makefile.in (enc/unicode/name2ctype.h): remove duplicatednobu
ifdefs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e