mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
use miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4f42eded12
commit
a5a60f53b3
5 changed files with 31 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Thu Aug 7 16:28:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
|
||||
use miniruby.
|
||||
|
||||
Thu Aug 7 14:16:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb, {bcc32,win32}/Makefile.sub (CLEANLIBS, CLEANOBJS):
|
||||
|
|
|
|||
|
|
@ -183,6 +183,14 @@ clean-local::
|
|||
|
||||
distclean-local::
|
||||
@$(RM) ext/config.cache $(RBCONFIG)
|
||||
-$(RM) $(INSTALLED_LIST)
|
||||
|
||||
clean-ext distclean-ext realclean-ext::
|
||||
@find ext -name Makefile | sort | while read mk; do \
|
||||
dir=`dirname "$$mk"`; \
|
||||
echo $(@:-ext=)ing `expr "$$dir" : 'ext/\(.*\)'`; \
|
||||
(cd "$$dir"; $(MAKE) $(MFLAGS) $(@:-ext=)); \
|
||||
done
|
||||
|
||||
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
|
||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(OUTFLAG)$@ -c ext/extinit.c
|
||||
|
|
|
|||
|
|
@ -486,6 +486,14 @@ distclean-local::
|
|||
@$(RM) ext\config.cache $(RBCONFIG:/=\)
|
||||
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
||||
|
||||
clean-ext distclean-ext realclean-ext::
|
||||
@for /R ext %I in (.) do @if exist %I\Makefile ( \
|
||||
echo $(@:-ext=)ing %~nI & \
|
||||
cd %I & \
|
||||
$(MAKE) $(MFLAGS) $(@:-ext=) & \
|
||||
cd %CD% \
|
||||
)
|
||||
|
||||
update-rubyspec:
|
||||
@echo SPEC_EXISTS=0 > $@.mk
|
||||
@if exist $(srcdir:/=\)\rubyspec\nul echo SPEC_EXISTS=1 >> $@.mk
|
||||
|
|
|
|||
|
|
@ -284,22 +284,19 @@ clean-local::
|
|||
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
|
||||
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
|
||||
@$(RM) y.tab.c y.output
|
||||
clean-ext:
|
||||
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS) clean
|
||||
clean-ext::
|
||||
|
||||
distclean: distclean-ext distclean-local
|
||||
distclean-local:: clean-local
|
||||
@$(RM) $(MKFILES) config.h rbconfig.rb
|
||||
@$(RM) config.cache config.log config.status
|
||||
@$(RM) *~ *.bak *.stackdump core *.core gmon.out $(PREP)
|
||||
distclean-ext:
|
||||
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS) distclean
|
||||
distclean-ext::
|
||||
|
||||
realclean:: realclean-ext realclean-local
|
||||
realclean-local:: distclean-local
|
||||
@$(RM) parse.c lex.c
|
||||
realclean-ext::
|
||||
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS) realclean
|
||||
|
||||
check: test test-all
|
||||
|
||||
|
|
|
|||
|
|
@ -619,6 +619,14 @@ distclean-local::
|
|||
@$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
|
||||
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
||||
|
||||
clean-ext distclean-ext realclean-ext::
|
||||
@for /R ext %I in (.) do @if exist %I\Makefile ( \
|
||||
echo $(@:-ext=)ing %~nI & \
|
||||
cd %I & \
|
||||
$(MAKE) $(MFLAGS) $(@:-ext=) & \
|
||||
cd %CD% \
|
||||
)
|
||||
|
||||
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG)
|
||||
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
|
||||
-ruby_name=$(RUBY_INSTALL_NAME) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue