5 # force the shared library to be built
6 ruby-bindings: lib/$(LINKER_NAME)
7 ifeq ($(HAVE_RUBY_DEV),1)
9 EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \
10 LIBNOTMUCH="../../lib/$(LINKER_NAME)" \
11 NOTMUCH_SRCDIR='$(NOTMUCH_SRCDIR)' \
12 $(RUBY) extconf.rb --vendor
13 $(MAKE) -C $(dir)/ruby
16 CLEAN += $(patsubst %,$(dir)/ruby/%, \
18 Makefile database.o directory.o filenames.o\
19 init.o message.o messages.o mkmf.log notmuch.so query.o \
20 status.o tags.o thread.o threads.o)
22 CLEAN += bindings/ruby/.vendorarchdir.time