build: introduce shared libreiserfscore.so and export it

In order to use reiserfs functionality in external programs, we need to
make a shared library and includes available.

This converts both libmisc and libreiserfscore into shared libraries, and
links libmisc into libreiserfscore. We also export the includes and
a pkg-config file.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
Jeff Mahoney committed 2013-08-26 19:02:20 -04:00
1 parent 97fa944851
commit 19566d0878
10 files changed
+32 -14

No files matched your search

+2 -1
View File
@@ -20,7 +20,7 @@ AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_LIBTOOL
dnl Checks for libraries.
@@ -131,6 +131,7 @@ AC_OUTPUT(
lib/Makefile
Makefile
reiserfscore/Makefile
reiserfscore/reiserfscore.pc
debugreiserfs/Makefile
debugreiserfs/debugreiserfs.8
tune/Makefile