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>
13 lines
353 B
Makefile
13 lines
353 B
Makefile
sbin_PROGRAMS = mkreiserfs
|
|
|
|
mkreiserfs_SOURCES = mkreiserfs.c
|
|
man_MANS = mkreiserfs.8
|
|
EXTRA_DIST = $(man_MANS)
|
|
|
|
LDADD = $(top_builddir)/reiserfscore/libreiserfscore.la
|
|
|
|
install-exec-hook:
|
|
$(LN_S) mkreiserfs $(DESTDIR)$(sbindir)/mkfs.reiserfs
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8
|
|
$(LN_S) mkreiserfs.8 $(DESTDIR)$(mandir)/man8/mkfs.reiserfs.8
|