fdisk \
getopt \
lib \
- libs \
+ shlibs \
login-utils \
misc-utils \
po \
# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions)
#
-ul_libblkid_srcdir = $(top_srcdir)/libs/blkid/src
-ul_libblkid_builddir = $(top_builddir)/libs/blkid/src
-ul_libblkid_la = $(top_builddir)/libs/blkid/src/libblkid.la
+ul_libblkid_srcdir = $(top_srcdir)/shlibs/blkid/src
+ul_libblkid_builddir = $(top_builddir)/shlibs/blkid/src
+ul_libblkid_la = $(top_builddir)/shlibs/blkid/src/libblkid.la
$(ul_libblkid_la):
$(MAKE) -C $(ul_libblkid_builddir)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([
-Makefile
disk-utils/Makefile
fdisk/Makefile
fsck/Makefile
hwclock/Makefile
include/Makefile
lib/Makefile
-libs/Makefile
-libs/blkid/blkid.pc
-libs/blkid/Makefile
-libs/blkid/bin/Makefile
-libs/blkid/src/Makefile
-libs/blkid/src/probers/Makefile
login-utils/Makefile
+Makefile
+misc-utils/chkdupexe:misc-utils/chkdupexe.pl
misc-utils/Makefile
mount/Makefile
partx/Makefile
po/Makefile.in
schedutils/Makefile
+shlibs/blkid/bin/Makefile
+shlibs/blkid/blkid.pc
+shlibs/blkid/Makefile
+shlibs/blkid/src/Makefile
+shlibs/blkid/src/probers/Makefile
+shlibs/Makefile
sys-utils/Makefile
-text-utils/Makefile
-tests/Makefile
-tests/helpers/Makefile
tests/commands.sh
-misc-utils/chkdupexe:misc-utils/chkdupexe.pl
+tests/helpers/Makefile
+tests/Makefile
+text-utils/Makefile
])
AC_OUTPUT
SUBDIRS = probers .
-AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
+AM_CPPFLAGS += -I$(ul_libblkid_srcdir)
common_ldadd =
libblkid_la_LIBADD = probers/libblkid_probers.la $(common_ldadd)
libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym
-# TODO: for unknown reason "make distcheck" requires
-# full path to the version script
-libblkid_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/libs/blkid/src/blkid.sym \
+libblkid_la_LDFLAGS = -Wl,--version-script=$(ul_libblkid_srcdir)/blkid.sym \
-version-info 1:0:0
tests = test_cache test_config test_dev test_devname test_devno test_getsize \
include $(top_srcdir)/config/include-Makefile.am
-AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
+AM_CPPFLAGS += -I$(ul_libblkid_srcdir)
noinst_LTLIBRARIES = libblkid_probers.la
libblkid_probers_la_SOURCES = \
TS_CMD_HWCLOCK=${TS_CMD_HWCLOCK-"$TOPDIR/hwclock/hwclock"}
TS_CMD_LSCPU=${TS_CMD_LSCPU-"$TOPDIR/sys-utils/lscpu"}
-TS_CMD_BLKID=${TS_CMD_BLKID-"$TOPDIR/libs/blkid/bin/blkid"}
+TS_CMD_BLKID=${TS_CMD_BLKID-"$TOPDIR/shlibs/blkid/bin/blkid"}