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>
14 lines
369 B
Makefile
14 lines
369 B
Makefile
sbin_PROGRAMS = reiserfstune
|
|
|
|
reiserfstune_SOURCES = tune.c tune.h
|
|
|
|
man_MANS = reiserfstune.8
|
|
EXTRA_DIST = $(man_MANS)
|
|
|
|
LDADD = $(top_builddir)/reiserfscore/libreiserfscore.la
|
|
|
|
install-exec-hook:
|
|
$(LN_S) reiserfstune $(DESTDIR)$(sbindir)/tunefs.reiserfs
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8
|
|
$(LN_S) reiserfstune.8 $(DESTDIR)$(mandir)/man8/tunefs.reiserfs.8
|