Got the target libs to build libntfs-3g and libfuse-lite if selected
This commit is contained in:
18
Makefile.am
18
Makefile.am
@@ -34,13 +34,25 @@ dist-hook:
|
|||||||
libtool: $(LIBTOOL_DEPS)
|
libtool: $(LIBTOOL_DEPS)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
|
libs:
|
||||||
|
if FUSE_INTERNAL
|
||||||
|
(cd libfuse-lite && $(MAKE) libs) || exit 1;
|
||||||
|
endif
|
||||||
|
(cd libntfs-3g && $(MAKE) libs) || exit 1;
|
||||||
|
|
||||||
|
libntfs:
|
||||||
|
(cd libntfs-3g && $(MAKE) libs) || exit 1;
|
||||||
|
|
||||||
|
drivers: libs
|
||||||
|
(cd src && $(MAKE) drivers) || exit 1;
|
||||||
|
|
||||||
|
ntfsprogs: libntfs
|
||||||
|
(cd ntfsprogs && $(MAKE)) || exit 1;
|
||||||
|
|
||||||
if ENABLE_NTFSPROGS
|
if ENABLE_NTFSPROGS
|
||||||
strip:
|
strip:
|
||||||
(cd ntfsprogs && $(MAKE) strip) || exit 1;
|
(cd ntfsprogs && $(MAKE) strip) || exit 1;
|
||||||
|
|
||||||
libs:
|
|
||||||
(cd libntfs-3g && $(MAKE) libs) || exit 1;
|
|
||||||
|
|
||||||
extra: extras
|
extra: extras
|
||||||
|
|
||||||
extras: libs
|
extras: libs
|
||||||
|
|||||||
6
README
6
README
@@ -52,6 +52,12 @@ Below are a few specific options to ./configure :
|
|||||||
--enable-xattr-mappings : enable system extended attributes mappings
|
--enable-xattr-mappings : enable system extended attributes mappings
|
||||||
--with-fuse=external : use external fuse (overriding Linux default)
|
--with-fuse=external : use external fuse (overriding Linux default)
|
||||||
|
|
||||||
|
There are also a few make targets for building parts :
|
||||||
|
make libntfs : only build the libntfs-3g library
|
||||||
|
make libs : only build libntfs-3g (and libfuse-lite, if relevant)
|
||||||
|
make drivers : only build drivers and libraries, without ntfsprogs
|
||||||
|
make ntfsprogs : only build ntfsprogs and libntfs-3g, without drivers
|
||||||
|
|
||||||
Non-Linux: Please see
|
Non-Linux: Please see
|
||||||
|
|
||||||
http://www.tuxera.com/community/ntfs-3g-download/
|
http://www.tuxera.com/community/ntfs-3g-download/
|
||||||
|
|||||||
@@ -26,3 +26,5 @@ libfuse_lite_la_SOURCES = \
|
|||||||
mount.c \
|
mount.c \
|
||||||
mount_util.c \
|
mount_util.c \
|
||||||
mount_util.h
|
mount_util.h
|
||||||
|
|
||||||
|
libs: libfuse-lite.la
|
||||||
|
|||||||
@@ -13,10 +13,6 @@ libntfs_3g_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include/ntfs-3g
|
|||||||
|
|
||||||
libntfs_3g_la_LDFLAGS = -version-info $(LIBNTFS_3G_VERSION) -no-undefined
|
libntfs_3g_la_LDFLAGS = -version-info $(LIBNTFS_3G_VERSION) -no-undefined
|
||||||
|
|
||||||
if FUSE_INTERNAL
|
|
||||||
libntfs_3g_la_LIBADD = $(top_builddir)/libfuse-lite/libfuse-lite.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
libntfs_3g_la_SOURCES = \
|
libntfs_3g_la_SOURCES = \
|
||||||
acls.c \
|
acls.c \
|
||||||
attrib.c \
|
attrib.c \
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|||||||
|
|
||||||
if FUSE_INTERNAL
|
if FUSE_INTERNAL
|
||||||
FUSE_CFLAGS = -I$(top_srcdir)/include/fuse-lite
|
FUSE_CFLAGS = -I$(top_srcdir)/include/fuse-lite
|
||||||
FUSE_LIBS =
|
FUSE_LIBS = $(top_builddir)/libfuse-lite/libfuse-lite.la
|
||||||
else
|
else
|
||||||
FUSE_CFLAGS = $(FUSE_MODULE_CFLAGS)
|
FUSE_CFLAGS = $(FUSE_MODULE_CFLAGS)
|
||||||
FUSE_LIBS = $(FUSE_MODULE_LIBS)
|
FUSE_LIBS = $(FUSE_MODULE_LIBS)
|
||||||
@@ -57,6 +57,8 @@ ntfs_3g_probe_SOURCES = ntfs-3g.probe.c
|
|||||||
ntfs_3g_usermap_SOURCES = usermap.c
|
ntfs_3g_usermap_SOURCES = usermap.c
|
||||||
ntfs_3g_secaudit_SOURCES = secaudit.c
|
ntfs_3g_secaudit_SOURCES = secaudit.c
|
||||||
|
|
||||||
|
drivers : $(FUSE_LIBS) ntfs-3g lowntfs-3g
|
||||||
|
|
||||||
if RUN_LDCONFIG
|
if RUN_LDCONFIG
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
$(LDCONFIG)
|
$(LDCONFIG)
|
||||||
|
|||||||
Reference in New Issue
Block a user