Automatically build (and install) the DUMM Ruby extension.
This commit is contained in:
@@ -17,3 +17,16 @@ irdumm_LDADD = libdumm.la -lruby1.8
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan ${gtk_CFLAGS} \
|
||||
${RUBYINCLUDE}
|
||||
AM_CFLAGS = -D_FILE_OFFSET_BITS=64
|
||||
|
||||
all-local: ext
|
||||
|
||||
clean-local:
|
||||
(test -f ext/Makefile && cd ext && $(MAKE) clean && rm Makefile || true)
|
||||
|
||||
install-data-local:
|
||||
(test -f ext/Makefile && cd ext && $(MAKE) install)
|
||||
|
||||
ext: libdumm.la
|
||||
(cd ext && $(RUBY) extconf.rb && $(MAKE))
|
||||
|
||||
.PHONY: ext
|
||||
|
||||
Reference in New Issue
Block a user