summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
AgeCommit message (Collapse)Author
2007-08-15 * ext/extmk.rb (extmake): save all CONFIG values.shyouhei
* ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at distclean, respectively. * ext/extmk.rb: remove rdoc at clean, and installed list file at distclean, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter beforenobu
prepending destdir on DOSISH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17* ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-27* ext/extmk.rb (extmake): remove extinit files if no statically linkednobu
extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-25* ruby.h, lib/mkmf.rb (create_header): clear command line options fornobu
macros moved to extconf.h. * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and EXTSTATIC permanent. * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS. * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added $(INCFLAGS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24* ext/extmk.rb: deal with $static set in extconf.rb.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-17* ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-16* common.mk (static-ruby): overridable.nobu
* ext/extmk.rb (parse_args): force to link extensions statically only if static is given for extstatic. * ext/extmk.rb (RUBY, RUBYW): overridable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25* configure.in (RUBY_EXTERN): macro to export symbols in sharednobu
library. [ruby-core:05528] * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to configuration pass. * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22* ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extensionnobu
options. [ruby-dev:27449] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-16* ext/extmk.rb: omit non-existing directories.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04* extmk.rb (extmake): needs to be wrapped in an Array.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03* ext/extmk.rb (extmake): should not modify $mflags for eachnobu
extentions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* ext/extmk.rb: keep srcdir unexpanded.nobu
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary. fixed: [ruby-core:04932] * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make also INSTALL_PROG and INSTALL_DATA system dependent. fixed: [ruby-core:04931] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18* ext/extmk.rb: expand path for ext/**/extconf.rb.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17* ext/extmk.rb (relative_from): treat mere drive letter as an absolutenobu
path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17* ext/extmk.rb (extmake, parse_args): do not expand destdir.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/extmk.rb (extmake): hdrdir needs to be defined also innobu
Config::CONFIG. * lib/mkmf.rb (configuration, create_makefile): get rid of recursive macro reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* ext/extmk.rb (extmake): top_srcdir is based from ext directory.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* ext/extmk.rb (extmake): keep directory names in Makefile as macros.nobu
* lib/mkmf.rb (configuration, create_makefile): ditto. * lib/mkmf.rb (CXX_EXT): separate C++ extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30* Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,nobu
common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb, runruby.rb: backport extout. [ruby-dev:25963] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-02* ext/extmk.rb (parse_args): add DESTDIR only when not directednobu
already. fixed: [ruby-dev:25781] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06* mkconfig.rb: no longer embed srcdir and compile_dir intonobu
rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20* ext/extmk.rb (extmake): shoudn't set $extflags on mswin32.usa
* win32/Makefile.sub (LIBRUBY_SO): should use $DLDOBJS instead of $EXTOBJS. fixed: [ruby-core:04290] (backported from CVS HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01* ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.eban
* ext/enumerator/extconf.rb, ext/fcntl/extconf.rb, ext/stringio/extconf.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-28* ext/extmk.rb: prefer relative path. [ruby-talk:93037]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-02* ext/extmk.rb: already built-in libraries satisfy dependencies.nobu
[ruby-dev:24028] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15* ext/extmk.rb: skip linking when libraries to be preloaded notnobu
compiled. [ruby-list:39561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-26* ext/extmk.rb: Makefiles should depend on also rbconfig.rb.nobu
(ruby-bugs:PR#1256) * ext/win32ole/win32ole.c (set_argv): set real arguments to WIN32OLE::ARGV. [ruby-list:39073] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12*** empty log message ***nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03* ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.nobu
* lib/mkmf.rb (configuration): DLDFLAGS was duplicated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-17* ext/extmk.rb (extmake): should not force to remake Makefile whennobu
installation and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-16* marshal.c (w_symbol, w_object): get rid of warnings.nobu
* re.c (rb_memsearch): ditto. * time.c (time_dump): ditto. * ext/extmk.rb (extmake): not continue making when extconf.rb failed. * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely. * ext/openssl/ossl.h: remove version.h dependency. * ext/openssl/ruby_missing.h: ditto. * lib/mkmf.rb (pkg_config): use --libs output except with only-L for other options. [ruby-list:38099] * lib/mkmf.rb (create_makefile): separate rule for static library from shared object. * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub: define exec_prefix and libdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12commit missnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12* ext/extmk.rb (extmake): compact $extlibs.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12* Makefile.in: static link libraries to LIBRUBY_SO with static linkednobu
ext. [ruby-dev:21157] * ext/extmk.rb (extmake): sort extension library initialization order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06* ext/extmk.rb (extmake): pass LIBPATH to make ruby. [ruby-dev:21137]nobu
* ext/extmk.rb (extmake): set library name as source file name in Init_ext(). [ruby-dev:21137] * lib/mkmf.rb (Logging::postpone): postpone logging messages after heading message as the result of the block. * lib/mkmf.rb (macro_defined?): append newline to src unless ended with it. * lib/mkmf.rb (have_library): allow nil function name to just append a library. (ruby-bugs:PR#1083) * lib/mkmf.rb (pkg_config): should append additional libraries to $libs but not $LIBS. [ruby-dev:21137] * ext/io/wait/extconf.rb: check DOSISH macro instead of platform. * ext/digest/sha1/extconf.rb: have_library already appends library name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02* ext/extmk.rb (--no-undefined): annoying option removed.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29* ext/extmk.rb (INSTALL_PROG, INSTALL_DATA): modify verbose messages.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18* lib/mkmf.rb (rm_f): use FileUtils.nobu
* lib/mkmf.rb (modified?): return mtime of the target if it exists and newer than times. * lib/mkmf.rb (install_files): add a current directory file even if it does not exist yet. * lib/mkmf.rb (configuration): do not add $LDFLAGS to DLDFLAGS. * ext/extmk.rb (extmake): check whether Makefile is newer than depend and MANIFEST. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-24* ext/extmk.rb: add -Wl,--no-undefined to LDSHARED onlyeban
if GNU ld is 2.11 or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,akr
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21* regex.c (re_compile_pattern): fix previous change.akr
* instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-10* ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--".eban
do not add DESTDIR if already included in $fmlags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-27* instruby.rb (parse_args), ext/extmk.rb (parse_args): Prepend aknu
hyphen to the first argument of MAKEFLAGS only if appropriate. Remove wrong comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26* instruby.rb ($mflags.set?): Check $make instead of $nmake, sinseusa
there is no such a variable. * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return false if unmatched. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-26* instruby.rb (parse_args), ext/extmk.rb (parse_args): Detect -nknu
and emulate a dry run. Use 'make' in case no --make argument is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-25* instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,knu
bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS parser with something plain and comprehensible. This fixes a bug where make flags were wrongly reordered and the resulted command line often did not make sense especially when BSD make is used with extra arguments given. Tested with FreeBSD and Linux by me and mswin32, bccwin32 and mingw by usa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05*** empty log message ***nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05* ext/extmk.rb (extmake): set $0 temporarily while loadingnobu
extconf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e