summaryrefslogtreecommitdiffstats
path: root/shlibs
diff options
context:
space:
mode:
authorKarel Zak2011-01-25 16:27:16 +0100
committerKarel Zak2011-01-25 16:27:16 +0100
commit0719f04d94915861823d1b5156c5e5d02b285cca (patch)
tree11998b2589181bf924077a3b269a9e1b2ab4c74c /shlibs
parentlibmount: fix debug message (diff)
downloadkernel-qcow2-util-linux-0719f04d94915861823d1b5156c5e5d02b285cca.tar.gz
kernel-qcow2-util-linux-0719f04d94915861823d1b5156c5e5d02b285cca.tar.xz
kernel-qcow2-util-linux-0719f04d94915861823d1b5156c5e5d02b285cca.zip
libmount: don't compile tests by default
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs')
-rw-r--r--shlibs/blkid/src/Makefile.am2
-rw-r--r--shlibs/mount/src/Makefile.am6
2 files changed, 3 insertions, 5 deletions
diff --git a/shlibs/blkid/src/Makefile.am b/shlibs/blkid/src/Makefile.am
index b0701cb7b..1c114388a 100644
--- a/shlibs/blkid/src/Makefile.am
+++ b/shlibs/blkid/src/Makefile.am
@@ -55,7 +55,7 @@ CLEANFILES = $(tests)
tests: all $(tests)
test_%: %.c
- $(COMPILE) -DTEST_PROGRAM $< .libs/libblkid.a -o $@ $(UUID_LIBS)
+ $(AM_V_CC)$(COMPILE) -DTEST_PROGRAM $< .libs/libblkid.a -o $@ $(UUID_LIBS)
# move lib from $(usrlib_execdir) to $(libdir) if needed
diff --git a/shlibs/mount/src/Makefile.am b/shlibs/mount/src/Makefile.am
index 02c12b094..8fedd4127 100644
--- a/shlibs/mount/src/Makefile.am
+++ b/shlibs/mount/src/Makefile.am
@@ -39,8 +39,6 @@ endif
EXTRA_DIST = libmount.sym libmount.h.in
CLEANFILES = $(tests)
-all: tests
-
# move lib from $(usrlib_execdir) to $(libdir) if needed
install-exec-hook:
if test "$(usrlib_execdir)" != "$(libdir)"; then \
@@ -60,8 +58,8 @@ uninstall-hook:
tests = test_version test_cache test_optstr test_lock \
test_tab test_utils test_tab_update test_context
-tests: $(tests)
-test_%: %.c libmount.la
+tests: all $(tests)
+test_%: %.c
$(AM_V_CC)$(COMPILE) -DTEST_PROGRAM $< .libs/libmount.a \
$(ul_libblkid_builddir)/.libs/libblkid.a -o $@ \
$(TESTS_LIBS)