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:
1 parent
97fa944851
commit
19566d0878
10 files changed
+32
-14
No files matched your search
+4
-3
@@ -1,13 +1,14 @@
|
||||
sbin_PROGRAMS = reiserfsck
|
||||
|
||||
reiserfsck_SOURCES = main.c pass0.c pass1.c pass2.c semantic_check.c \
|
||||
semantic_rebuild.c pass4.c lost+found.c ubitmap.c uobjectid.c ustree.c \
|
||||
ufile.c check_tree.c info.c super.c fsck.h
|
||||
semantic_rebuild.c pass4.c lost+found.c ubitmap.c \
|
||||
uobjectid.c ustree.c ufile.c check_tree.c info.c \
|
||||
super.c fsck.h
|
||||
|
||||
man_MANS = reiserfsck.8
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
reiserfsck_LDADD = $(top_builddir)/reiserfscore/libcore.a $(top_builddir)/lib/libmisc.a
|
||||
reiserfsck_LDADD = $(top_builddir)/reiserfscore/libreiserfscore.la
|
||||
|
||||
install-exec-hook:
|
||||
$(LN_S) reiserfsck $(DESTDIR)$(sbindir)/fsck.reiserfs
|
||||
|
||||
Reference in new issue
Block a user