forked from groonga/groonga
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
42 lines (34 loc) · 937 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
SUBDIRS = lib src examples test
DISTONLY_SUBDIRS = bindings doc
pkginclude_HEADERS = groonga.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = groonga.pc
LCOV_TMP = lcov_tmp
LCOV_HTML = lcov_html
LCOV_LCOV = @LCOV@
LCOV_GENHTML = @GENHTML@
dist-hook:
# copy dist-only files
for subdir in $(DISTONLY_SUBDIRS); do \
cp -rp $$subdir $(distdir)/$$subdir; \
done
# misc
rm -rf `find $(distdir) -name '*.loT'`
rm -rf `find $(distdir) -name '*.cache'`
rm -rf `find $(distdir) -name '*.bak'`
rm -rf `find $(distdir) -name '*.orig'`
ruby-bindings:
cd bindings/ruby && \
ruby extconf.rb && \
make clean && make
install-ruby-bindings:
cd bindings/ruby && \
make install
test-ruby-bindings:
cd bindings/ruby/test && \
ruby all_test.rbx
valgrind-ruby-bindings:
cd bindings/ruby/test && \
valgrind --leak-check=full --show-reachable=yes ruby all_test.rbx
benchmark:
cd test/benchmark && $(MAKE) $(AM_MAKEFLAGS) benchmark