Signed-off-by: Karel Zak <kzak@redhat.com>
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 \
tests = test_version test_cache test_optstr test_lock \
test_tab test_utils test_tab_update test_context
-tests: all $(tests)
-test_%: %.c all
- $(COMPILE) -DTEST_PROGRAM $< .libs/libmount.a \
+tests: $(tests)
+test_%: %.c libmount.la
+ $(AM_V_CC)$(COMPILE) -DTEST_PROGRAM $< .libs/libmount.a \
$(ul_libblkid_builddir)/.libs/libblkid.a -o $@ \
$(TESTS_LIBS)