aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Bug #6462: EXTSOLIBSnobu2012-05-201-1/+1
| | | | | | | | | * 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
* static-linked-ext: into librubynobu2012-05-191-1/+1
| | | | | | | | | | * 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
* use LIBEXTnobu2012-05-191-0/+1
| | | | | | | | * 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
* fix typonobu2012-05-191-1/+1
| | | | | | | * 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
* Imports Ruby's port to NativeClient (a.k.a NaCl).yugui2012-05-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Supports static linking of extensions and encodings again.yugui2012-05-161-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* codesignnobu2012-05-071-0/+2
| | | | | | | * 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
* distclean verconf.hnobu2012-05-031-1/+1
| | | | | | | * 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
* * Makefile.in (reconfig, config.status): not depend onnobu2012-04-171-1/+1
| | | | | | $(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
* * Makefile.in ($(LIBRUBY_A)): fix typo.kazu2012-04-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (newline.c, miniprelude.c): search from sourcenobu2012-03-261-0/+3
| | | | | | directory, not depending on VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove a trailing space [ci skip]kazu2012-03-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re-configurenobu2012-03-131-1/+3
| | | | | | * 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
* define PLATFORM_DIR if needednobu2012-02-291-1/+1
| | | | | | * 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
* clean-platformnobu2012-02-291-1/+1
| | | | | | | * 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
* * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.shirosaki2012-02-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platformusa2011-12-141-0/+2
| | | | | | | | | | 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
* * Makefile.in (CFLAGS): append ARCH_FLAG.nobu2011-12-021-1/+1
| | | | | | * configure.in (ARCH_FLAG): exclude from CFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (DLDFLAGS): also needs -fstack-protector.nobu2011-11-271-1/+1
| | | | | | [Bug#5676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (EXTLDFLAGS): export it.kosaki2011-11-251-1/+1
| | | | | | | * 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
* * Makefile.in (enc/unicode/name2ctype.h): remove duplicatednobu2011-11-191-1/+1
| | | | | | ifdefs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (LIBRUBY_A): check if generated linked library isnobu2011-11-161-0/+2
| | | | | | valid for extconf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (INSNS): change command line option -Ks to -Ku fornagachika2011-09-051-1/+1
| | | | | | | generate *.inc. because insns.def encoding has been changed SJIS to UTF-8. if $BASERUBY is 1.9, -Ks cause an error. [Feature #5128] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forward-ports r32776 from branches/ruby_1_9_3 to trunk.yugui2011-07-311-1/+2
| | | | | | | | | -- * common.mk (node_name.inc): Use $(Q) for consistency. * Makefile.in (INSNS): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forwardports r32772 and r32773 from branches/ruby_1_9_3 to trunk.yugui2011-07-311-1/+1
| | | | | | | | | | | | | * common.mk (ECHO1): ":" in a make variable replacement cause a syntax 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/trunk@32774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (RUN_OPT): disable gems.nobu2011-07-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (sudo-precheck): true command is not standard onnobu2011-07-081-0/+1
| | | | | | Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rubygems): add --disable-rubygems option.nobu2011-02-111-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: remove unnecessary semicolons.kazu2010-12-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: Check V=1 argument if run "make clean" or similar.kosaki2010-12-301-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: Kill ugly line continuation.kosaki2010-12-301-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (reconfig): force reconfigure with previous options.nobu2010-11-171-3/+10
| | | | | | | * 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
* * Makefile.in (lex.c): show commands if Q is not set.nobu2010-11-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (showflags, help): emit messages at once.nobu2010-11-131-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (showflags, help): use caret to quote leading spaces on Windows.nobu2010-11-121-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,nobu2010-11-121-26/+13
| | | | | | 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
* * cygwin/GNUmakefile.in: shorten messages.nobu2010-11-111-0/+6
| | | | | | | * Makefile.in (install-cross, ext/extinit.o): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: hide long command lines by default. verbose-mode isnobu2010-11-111-1/+18
| | | | | | | turned on by V=1 as before. http://jarp.does.notwork.org/diary/200605b.html#200605121 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (SYMBOL_PREFIX): separate from EXPORT_PREFIX.nobu2010-11-111-1/+2
| | | | | | * win32/mkexports.rb (Exports#each_export): use SYMBOL_PREFIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (ASFLAGS): needs INCFLAGS.nobu2010-10-261-3/+4
| | | | | | | | | | | | * configure.in (rb_cv_dynamic_alloca): check if extra source for dynamic size alloca. * missing/x86_64-chkstk.s (___chkstk): necessary for alloca of amd64-mingw32msvc-gcc on Ubutu. * thread_win32.c (ruby_alloca_chkstk): check stack overflow git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (pkgconfig-data): moved from Makefile.in.nobu2010-10-261-2/+1
| | | | | | | | | * tool/rbinstall.rb: install pc file only if non-empty. [ruby-core:32901] #3983 * win32/Makefile.sub (ruby_pc): create pc file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (pkgconfig-data): create pkg-config metadata file.nobu2010-10-251-0/+6
| | | | | | | | * tool/rbinstall.rb: install pkg-config metadata file. * template/ruby.pc.in: template of pkg-config metadata file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (CPP): already used in .c.i rule.nobu2010-10-161-0/+1
| | | | | | | * cygwin/GNUmakefile.in (DLLWRAP, WINDRES): add --driver-name and --preprocessor options explicitly. [ruby-core:32776] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (clean-rdoc): Don't use \ in variable expantion.naruse2010-10-031-2/+2
| | | | | | BSD make treats it as an escape character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (install-cross): target to install cross-compilingnobu2010-09-241-0/+23
| | | | | | stuff. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean): removes all documents on cleaning.oyugui2010-09-191-3/+8
| | | | | | | | | | | | (CAPIOUT): new variable. (clean-capi, distclean-capi, realclean-capi): new targets * Makefile.in (clean-capi, distclean-capi, realclean-capi): ditto. * win32/Makefile.sub (clean-capi, distclean-capi, realclean-capi): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): splitnobu2010-08-161-2/+1
| | | | | | | | | from test-rubyspec. * common.mk (test-rubyspec): moved from Makefile.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (clean-ext): fixed directories to be removed.nobu2010-08-061-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: ignore error from RMDIRS.naruse2010-08-061-2/+2
| | | | | | | | * enc/depend: ditto. * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (MINIRUBY): get rid of appending spaces for eachnobu2010-07-271-1/+2
| | | | | | | reconfigure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e