Whamcloud - gitweb
LU-5541 build: move libcfs and liblustreapi over to libtool 62/30562/6
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 8 Jan 2018 22:30:23 +0000 (17:30 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 14 Jan 2018 02:37:04 +0000 (02:37 +0000)
commit7b659a1e68174212c443761be1880774b440a901
tree9afe134c019998381ad25028f786aa19ae112d5f
parent5f327f6670d31f53927598116a00ec6b219a9046
LU-5541 build: move libcfs and liblustreapi over to libtool

Change libcfs into a convenience library using libtool. This allows
use to embbed libcfs library into both liblnetconfig and liblustreapi
so their is no longer a need to link applications to libcfs.a
anymore. With this change we need migrate liblustreapi to libtool.

libtool knows how to build both static and dymanic libraries for
liblusteapi, so no need to hack the Makefile. As two added benefits,
the utilities will now use the dynamic version, thus reducing their
footprint, and calling make twice in a row won't rebuild objects
already built.

Test-Parameters: trivial

Change-Id: Icc1e5d42df503b9bf393396fe09f4e4f1f242486
Signed-off-by: frank zago <fzago@cray.com>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30562
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
19 files changed:
.gitignore
config/lustre-build.m4
configure.ac
debian/.gitignore
debian/control
debian/control.main
debian/rules
libcfs/libcfs/autoMakefile.am
lnet/utils/Makefile.am
lnet/utils/lnetconfig/Makefile.am
lustre-dkms_pre-build.sh
lustre.spec.in
lustre/conf/Makefile.am
lustre/tests/.gitignore
lustre/tests/Makefile.am
lustre/tests/mpi/Makefile.am
lustre/utils/Makefile.am
lustre/utils/gss/Makefile.am
snmp/Makefile.am