OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4449-g33f20e8
Gerrit Code Review
gerrit@openafs.org
Wed, 5 Nov 2014 08:37:23 -0500
The following commit has been merged in the master branch:
commit 33f20e841d1ba39761b292d8a69aec2e6fdf883d
Author: Benjamin Kaduk <kaduk@mit.edu>
Date: Fri Sep 19 23:04:10 2014 -0400
Build libuafs with libtool
Use the standard program for building PIC and non-PIC object files,
instead of rolling our own. This allows us to pull the build rules
into the Makefile.common, leaving just compiler flags and similar
in the MakefileProtos.
This does change the build flags being used to compile these files
somewhat -- the old CRULE1 and CRULEPIC used CC instead of CCOBJ
or MT_CC, and did not pass MT_CFLAGS, but it should be safe to
move to the standard compiler invocations. We can also eliminate
the libuafs-specific 'OPTF' variable which expands to OPTMZ almost
everywhere.
Rename our COMMON_INCLUDE to MODULE_INCLUDE so it's picked up properly
by the standard build rules; this will let us remove
${TOP_OBJDIR}/src/config and ${TOP_INCDIR} once the rest of the
build rules in this Makefile are converted to use libtool, as those
include directories are already added by COMMON_INCL in Makefile.config.
As a side effect, we get rid of the LIBUAFS make variable -- all sites
were defining it to libuafs.a anyway, so we can just hardcode it.
We can also build a shared libuafs.la "for free". Don't install
it anywhere just yet, though.
Change-Id: I2bda2f40bbd0aa808c24e074d2d7bcd329f6b77e
Reviewed-on: http://gerrit.openafs.org/11472
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/libuafs/Makefile.common.in | 1214 ++++++++++++----------------------
src/libuafs/MakefileProto.AIX.in | 17 +-
src/libuafs/MakefileProto.DARWIN.in | 11 -
src/libuafs/MakefileProto.DFBSD.in | 11 -
src/libuafs/MakefileProto.DUX.in | 13 -
src/libuafs/MakefileProto.FBSD.in | 11 -
src/libuafs/MakefileProto.HPUX.in | 11 -
src/libuafs/MakefileProto.IRIX.in | 11 -
src/libuafs/MakefileProto.LINUX.in | 11 -
src/libuafs/MakefileProto.NBSD.in | 11 -
src/libuafs/MakefileProto.OBSD.in | 11 -
src/libuafs/MakefileProto.SOLARIS.in | 11 -
src/libuafs/libuafs.la.sym | 47 ++
13 files changed, 458 insertions(+), 932 deletions(-)
--
OpenAFS Master Repository