51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
|
|
if FUSE_INTERNAL
|
|
FUSE_CFLAGS = -I$(top_srcdir)/include/fuse-lite
|
|
FUSE_LIBS =
|
|
else
|
|
FUSE_CFLAGS = $(FUSE_MODULE_CFLAGS)
|
|
FUSE_LIBS = $(FUSE_MODULE_LIBS)
|
|
endif
|
|
|
|
bin_PROGRAMS = ntfs-3g.probe
|
|
rootbin_PROGRAMS = ntfs-3g
|
|
rootsbin_DATA = #Create directory
|
|
man_MANS = ntfs-3g.8 ntfs-3g.probe.8
|
|
|
|
ntfs_3g_LDADD = $(FUSE_LIBS) $(top_builddir)/libntfs-3g/libntfs-3g.la
|
|
if REALLYSTATIC
|
|
ntfs_3g_LDFLAGS = $(AM_LDFLAGS) -all-static
|
|
endif
|
|
ntfs_3g_CFLAGS = \
|
|
$(AM_CFLAGS) \
|
|
-DFUSE_USE_VERSION=26 \
|
|
$(FUSE_CFLAGS) \
|
|
-I$(top_srcdir)/include/ntfs-3g
|
|
ntfs_3g_SOURCES = ntfs-3g.c utils.c utils.h
|
|
|
|
ntfs_3g_probe_LDADD = $(top_builddir)/libntfs-3g/libntfs-3g.la
|
|
if REALLYSTATIC
|
|
ntfs_3g_probe_LDFLAGS = $(AM_LDFLAGS) -all-static
|
|
endif
|
|
ntfs_3g_probe_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include/ntfs-3g
|
|
ntfs_3g_probe_SOURCES = ntfs-3g.probe.c utils.c utils.h
|
|
|
|
if RUN_LDCONFIG
|
|
install-exec-hook:
|
|
$(LDCONFIG)
|
|
endif
|
|
|
|
install-exec-local:
|
|
$(INSTALL) -d "$(DESTDIR)$(rootsbindir)"
|
|
$(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
|
|
|
|
install-data-local:
|
|
$(INSTALL) -d "$(DESTDIR)$(man8dir)"
|
|
$(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
|
|
|
|
uninstall-local:
|
|
$(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g"
|
|
$(RM) -f "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
|