mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added rubyspec-capiext target
This target builds extensions for rubyspec optional C-API tests.
This commit is contained in:
parent
a6db9e8d7b
commit
ece917bab3
1 changed files with 10 additions and 0 deletions
|
@ -383,3 +383,13 @@ update-deps:
|
|||
$(RMDIR) $(dir $(deps_dir))
|
||||
git --git-dir=$(GIT_DIR) merge --no-edit --ff-only $(update_deps)
|
||||
git --git-dir=$(GIT_DIR) branch --delete $(update_deps)
|
||||
|
||||
# order-only-prerequisites doesn't work for $(RUBYSPEC_CAPIEXT)
|
||||
# because the same named directory exists in the source tree.
|
||||
$(RUBYSPEC_CAPIEXT)/%.$(DLEXT): $(srcdir)/$(RUBYSPEC_CAPIEXT)/%.c $(srcdir)/$(RUBYSPEC_CAPIEXT)/rubyspec.h $(RUBY_H_INCLUDES)
|
||||
$(ECHO) building $@
|
||||
$(Q) $(MAKEDIRS) $(@D)
|
||||
$(Q) $(DLDSHARED) $(DLDFLAGS) $(ARCH_FLAG) $(CFLAGS) $(INCFLAGS) $(CPPFLAGS) $(OUTFLAG)$@ $<
|
||||
$(Q) $(RMALL) $@.*
|
||||
rubyspec-capiext: $(patsubst %.c,$(RUBYSPEC_CAPIEXT)/%.$(DLEXT),$(notdir $(wildcard $(srcdir)/$(RUBYSPEC_CAPIEXT)/*.c)))
|
||||
@ $(NULLCMD)
|
||||
|
|
Loading…
Reference in a new issue