1
by Clint Byrum
Import upstream version 0.21 |
1 |
AUTOMAKE_OPTIONS = gnu |
2 |
EXTRA_DIST = autogen.sh ceph.spec.in |
|
0.3.1
by Laszlo Boszormenyi (GCS)
Import upstream version 0.25.2 |
3 |
# the "." here makes sure check-local builds gtest before it is used
|
4 |
SUBDIRS = . src qa man |
|
5 |
||
6 |
EXTRA_DIST += \ |
|
7 |
src/test/run-cli-tests \
|
|
8 |
src/test/cli \
|
|
9 |
src/test/downloads \
|
|
10 |
udev/50-rbd.rules |
|
11 |
check-local: |
|
12 |
# Build gtest before we build our own tests. Doing this instead
|
|
13 |
# of SUBDIRS because with that, gtest's own tests would be run
|
|
14 |
# and that would slow us down.
|
|
15 |
@echo "Making lib/libgtest.a lib/libgtest_main.a in src/gtest"
|
|
16 |
@cd src/gtest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la |
|
17 |
||
18 |
# exercise cli tools
|
|
19 |
$(srcdir)/src/test/run-cli-tests '$(top_builddir)/src/test' |
|
20 |
||
21 |
# "make distclean" both runs this and recurses into src/gtest, if
|
|
22 |
# gtest is in DIST_SUBDIRS. Take extra care to not fail when
|
|
23 |
# effectively cleaned twice.
|
|
24 |
clean-local: |
|
25 |
@if test -e src/gtest/Makefile; then \ |
|
26 |
echo "Making clean in src/gtest"; \ |
|
27 |
cd src/gtest && $(MAKE) $(AM_MAKEFLAGS) clean; \ |
|
28 |
fi
|
|
29 |
||
30 |
@rm -rf src/test/virtualenv |