]> err.no Git - util-linux/commitdiff
build-sys: complete /libs to /shlibs rename
authorKarel Zak <kzak@redhat.com>
Thu, 14 May 2009 15:40:52 +0000 (17:40 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 14 May 2009 15:40:52 +0000 (17:40 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
config/include-Makefile.am
configure.ac
shlibs/blkid/src/Makefile.am
shlibs/blkid/src/probers/Makefile.am
tests/commands.sh.in

index 8fea6fa6338339db769fbfb7233b495b4e5aff56..0c8fb693d7f96479caa645256a24bbf6b5b28982 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS = \
        fdisk \
        getopt \
        lib \
-       libs \
+       shlibs \
        login-utils \
        misc-utils \
        po \
index d5da619ac19e7f86a2972622f6804ac1813780a8..bc9433014d5209d40733be12ce9c6a68b6f6f195 100644 (file)
@@ -16,9 +16,9 @@ dist_noinst_DATA = $(dist_man_MANS)
 
 # 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)
index ec41ae609da966b433160c354a4480d2ee655b20..1abf688f6a43cfb4f36844d452399829971788f0 100644 (file)
@@ -773,7 +773,6 @@ LIBS=""
 AC_CONFIG_HEADERS(config.h)
 
 AC_CONFIG_FILES([
-Makefile
 disk-utils/Makefile
 fdisk/Makefile
 fsck/Makefile
@@ -781,24 +780,25 @@ getopt/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
index 805d0899b794a78f671853e2d1a359000313b82a..2b935e2994b9ed2facbb1315f006a8b3325b5b66 100644 (file)
@@ -2,7 +2,7 @@ include $(top_srcdir)/config/include-Makefile.am
 
 SUBDIRS = probers .
 
-AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
+AM_CPPFLAGS += -I$(ul_libblkid_srcdir)
 
 common_ldadd =
 
@@ -28,9 +28,7 @@ libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c  \
 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 \
index d8a98ed2484a3a040ac57f3e072d03b588c714e2..4591db6aefdae949ec98040aa077245e187aedf0 100644 (file)
@@ -1,6 +1,6 @@
 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 = \
index 232ae63041ba037e6651f7072efec4c2c27ef06f..c6a5e26bd9f7003ccdf7aa4c1a6c7513a183199e 100644 (file)
@@ -45,6 +45,6 @@ TS_CMD_ISLOCAL=${TS_CMD_ISLOCAL-"$TOPDIR/login-utils/islocal_test"}
 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"}