| xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
-ENABLE_ALL = --enable-static-programs \
+ENABLE_ALL = --enable-static-programs --with-fsprobe=builtin \
--enable-elvtune --enable-init --enable-kill --enable-last \
--enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
--enable-login-utils --enable-write --enable-arch --enable-mount
# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions)
#
-ul_libblkid_srcdir = $(top_builddir)/libs/blkid/src
-ul_libblkid_la = $(ul_libblkid_srcdir)/libblkid.la
+ul_libblkid_srcdir = $(top_srcdir)/libs/blkid/src
+ul_libblkid_la = $(top_builddir)/libs/blkid/src/libblkid.la
$(ul_libblkid_la):
- $(MAKE) -C $(ul_libblkid_srcdir)
+ $(MAKE) -C $(ul_libblkid_builddir)
SUBDIRS = probers .
-AM_CPPFLAGS += -I$(top_builddir)/libs/blkid/src
+AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
common_ldadd =
libblkid_la_LIBADD = probers/libblkid_probers.la $(common_ldadd)
libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym
-libblkid_la_LDFLAGS = -Wl,--version-script=blkid.sym -version-info @BLKID_VERSION_INFO@
+# TODO: for unknown reason "make distcheck" requires
+# full path to the version string
+libblkid_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/libs/blkid/src/blkid.sym \
+ -version-info @BLKID_VERSION_INFO@
tests = test_cache test_config test_dev test_devname test_devno test_getsize \
test_read test_resolve test_save test_tag test_verify test_evaluate
include $(top_srcdir)/config/include-Makefile.am
-AM_CPPFLAGS += -I$(top_builddir)/libs/blkid/src
+AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
noinst_LTLIBRARIES = libblkid_probers.la
libblkid_probers_la_SOURCES = \