Split up libtool support into LWP and pthread
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 16 Sep 2012 14:39:25 +0000 (15:39 +0100)
committerDerrick Brashear <shadow@your-file-system.com>
Sun, 16 Sep 2012 20:34:57 +0000 (13:34 -0700)
commit88fc3c6f4257561d30234651fc5ec46ea62b020f
treedaf6588c20bc680954e732959eb91d2dc78b9d68
parent519f2b96c7ea84e7d78c558c6602960035e4c508
Split up libtool support into LWP and pthread

Currently, the type of library you build is determined by whether
the library is build in a pthread, or an lwp build directory. However,
this prevents building an LWP library in a directory that builds
pthreaded clients and servers.

As we want to continue to provide LWP libraries for backwards
compatibility, but move over to pthreaded binaries, this causes
some issues.

So, split up the libtool logic, so we have Makefile.libtool, which
you include if you want to build a pthreaded libtool library, and
Makefile.lwptool, for building a library which supports LWP and
pthreaded use. These only affect how .lo files are built - so the
.o files used for non-library objects are managed with the
Makefile.pthread and Makefile.lwp includes as before.

Change-Id: Ib1af48342253230abab9056eb15a3f79bd77a6de
Reviewed-on: http://gerrit.openafs.org/8126
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
30 files changed:
Makefile.in
configure.ac
src/audit/Makefile.in
src/auth/Makefile.in
src/cmd/Makefile.in
src/comerr/Makefile.in
src/config/.gitignore
src/config/Makefile.config.in
src/config/Makefile.libtool.in
src/config/Makefile.lwp.in
src/config/Makefile.lwptool.in [new file with mode: 0644]
src/config/Makefile.pthread.in
src/fsint/Makefile.in
src/kauth/Makefile.in
src/libacl/Makefile.in
src/libafsauthent/Makefile.in
src/libafsrpc/Makefile.in
src/lwp/Makefile.in
src/opr/Makefile.in
src/ptserver/Makefile.in
src/rx/Makefile.in
src/rxkad/Makefile.in
src/rxstat/Makefile.in
src/sys/Makefile.in
src/tbutc/Makefile.in
src/ubik/Makefile.in
src/usd/Makefile.in
src/util/Makefile.in
src/vlserver/Makefile.in
src/volser/Makefile.in