aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
Commit message (Collapse)AuthorAgeFilesLines
* * mkmf.rb (create_makefile): sorry, typo. orzusa2008-01-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkmf.rb (create_makefile): typo.usa2008-01-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): need to output sodir rule.usa2008-01-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): lib files shoudn't depend on installusa2008-01-221-3/+5
| | | | | | | | | dir because if the dir is newer than lib files, lib files will be always copied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windowsusa2007-12-291-0/+4
| | | | | | | | native commands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCESusa2007-12-261-2/+10
| | | | | | | | occurs. this is a workaround for mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Add a missing dependency on theknu2007-12-251-1/+1
| | | | | | | | target directory for each .rb file. This will hopefully fix parallel make (-jN). Tested on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/mkmf.rb: revert last changematz2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (map_dir): should generate path including $top_srcdir.matz2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specifynobu2007-12-241-3/+6
| | | | | | | | | | | | | | 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
* * lib/mkmf.rb ($extmk): fixed broken condition.usa2007-12-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($extmk): fixed broken condition.usa2007-12-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($extmk): set true only when under ext/ or tool/.usa2007-12-221-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): suffixes list broken. fixed.usa2007-12-211-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): inserts ruby to only headers.nobu2007-12-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs): added dependencies.nobu2007-12-171-38/+36
| | | | | | | | | | | * 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
* * common.mk (encs): new target to compile external encodings.nobu2007-12-171-52/+65
| | | | | | | | | | | | | | | | | | * 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
* * lib/mkmf.rb (try_var): should fail for functions.nobu2007-12-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS tonobu2007-11-281-3/+8
| | | | | | | | | | | | get rid of mixing $LDFLAGS and $ARCH_FLAG. * lib/mkmf.rb (configuration): ditto. * lib/mkmf.rb (create_makefile): support for extensions which has no shared object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.nobu2007-11-181-7/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_struct_member): define HAVE_type_member.akr2007-11-171-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): rdoc about srcprefix. a patch fromnobu2007-11-121-0/+31
| | | | | | | Daniel Berger <djberg96 AT gmail.com> in [ruby-core:13378]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: --with-vendor-hdrdir implemented.akr2007-11-031-0/+15
| | | | | | | * lib/mkmf.rb: check --vendor argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_SYS_LARGEFILE): keep results also in commandnobu2007-10-131-0/+1
| | | | | | | | | options, to vail out of mismatch. [ruby-list:44114] * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: initialize $top_srcdir always. [ruby-dev:31682]nobu2007-08-301-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_const, have_const): check for a const is defined.nobu2007-08-301-0/+38
| | | | | | | [ruby-core:04422] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_type): new method.nobu2007-08-021-12/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type): suppress a warning with -Wall.nobu2007-08-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]nobu2007-08-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_Hnobu2007-07-211-1/+2
| | | | | | | only if extconf.h is created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.nobu2007-07-211-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandnobu2007-07-131-9/+11
| | | | | | | ::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-06-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag andnobu2007-06-121-1/+6
| | | | | | use it. [ruby-core:10909] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_header): use header names in the message.nobu2007-06-121-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby: moved public headers.nobu2007-06-101-21/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear defaultnobu2007-05-221-0/+3
| | | | | | | | load path to get rid of load pre-installed extensions/libraries. [ruby-core:11017] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to currentnobu2007-04-231-13/+19
| | | | | | | | | | | | directory. * lib/mkmf.rb (init_mkmf): add current directory to default library path with highest priority. [ruby-core:10960] * lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($DEFLIBPATH): default library paths ($(topdir), etc)usa2007-02-281-5/+6
| | | | | | | | should be the first elements of library paths list. reported by KOBAYASHI Yasuhiro [ruby-list:43225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): make object files depend onnobu2007-02-021-2/+2
| | | | | | | extconf.h even if depend file exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-311-19/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): remove static library before update,nobu2006-12-141-2/+3
| | | | | | | to get rid of sludge of Borland tlib.exe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.eban2006-10-201-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): need to handle newmatz2006-10-121-1/+2
| | | | | | | | | character literal (1 char string). * lib/mkmf.rb: shut up some warnings from tk's extconf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/fileutils.rb, lib/mkmf.rb, lib/optparse.rb,nobu2006-10-091-14/+15
| | | | | | | lib/shellwords.rb: get rid of shadowing outer local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): revert fallback checking undeclared function.nobu2006-09-291-1/+6
| | | | | | | fixed: [ruby-core:08949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): check function pointer first and macro next.nobu2006-09-261-13/+4
| | | | | | | * lib/mkmf.rb (have_type): simplified with typedef and sizeof. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f): get rid of NUL.nobu2006-09-251-2/+2
| | | | | | | | * lib/mkmf.rb (init_mkmf): set default $LDFLAGS. Patch by Michal Suchanek <hramrach at centrum.cz>. [ruby-talk:216256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (pre-install-doc): create data directory before install.nobu2006-09-201-2/+2
| | | | | | | | | * lib/mkmf.rb (dir_re): fixed typo. * lib/mkmf.rb (install_dirs): remove extra slash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (checking_for): improved the messages.nobu2006-09-161-12/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e