Fix various config/build issues.

Don't look for a shared libunwind if --with-static-libunwind is
specified.

Set SONAME when linking the shared libjemalloc.

Add DESTDIR support.

Add install_{include,lib/man} build targets.

Clean up compiler flag configuration.
This commit is contained in:
Jason Evans
2010-03-03 15:48:20 -08:00
parent 9df0215f9b
commit cfeccd34a3
3 changed files with 35 additions and 17 deletions

View File

@@ -151,9 +151,11 @@ PATH="?"
=== Advanced compilation =======================================================
To run integrated regression tests, type:
To install only parts of jemalloc, use the following targets:
make check
install_include
install_lib
install_man
To clean up build results to varying degrees, use the following make targets:
@@ -175,6 +177,10 @@ LIBDIR="?"
MANDIR="?"
Use this as the installation prefix for man pages.
DESTDIR="?"
Prepend DESTDIR to INCLUDEDIR, LIBDIR, and MANDIR. This is useful when
installing to a different path than was specified via --prefix.
CC="?"
Use this to invoke the C compiler.