Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / ntfs-3g / libntfs-3g / Makefile.am
blobb84cf64dc7f4d9dfb24b75426df028e7b5669de8
2 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
4 if INSTALL_LIBRARY
5 rootlib_LTLIBRARIES=#Create directory
6 lib_LTLIBRARIES    = libntfs-3g.la
7 pkgconfig_DATA     = libntfs-3g.pc
8 else
9 noinst_LTLIBRARIES = libntfs-3g.la
10 endif
12 libntfs_3g_la_CFLAGS  = $(AM_CFLAGS) -I$(top_srcdir)/include/ntfs-3g
14 libntfs_3g_la_LDFLAGS = -version-info $(LIBNTFS_3G_VERSION) -no-undefined
16 libntfs_3g_la_SOURCES = \
17         acls.c  \
18         attrib.c        \
19         attrlist.c      \
20         bitmap.c        \
21         bootsect.c      \
22         cache.c         \
23         collate.c       \
24         compat.c        \
25         compress.c      \
26         debug.c         \
27         device.c        \
28         dir.c           \
29         efs.c           \
30         index.c         \
31         inode.c         \
32         lcnalloc.c      \
33         logfile.c       \
34         logging.c       \
35         mft.c           \
36         misc.c          \
37         mst.c           \
38         object_id.c     \
39         realpath.c      \
40         reparse.c       \
41         runlist.c       \
42         security.c      \
43         unistr.c        \
44         volume.c        \
45         xattrs.c
47 if NTFS_DEVICE_DEFAULT_IO_OPS
48 if WINDOWS
49 libntfs_3g_la_SOURCES += win32_io.c
50 else
51 libntfs_3g_la_SOURCES += unix_io.c
52 endif
53 endif
55 # We may need to move .so files to root
56 # And create ldscript or symbolic link from /usr
57 install-exec-hook: install-rootlibLTLIBRARIES
58 if INSTALL_LIBRARY
59         if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
60                 $(MV) -f "$(DESTDIR)/$(libdir)"/libntfs-3g.so* "$(DESTDIR)/$(rootlibdir)";  \
61         fi
62 if GENERATE_LDSCRIPT
63         if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
64                 $(install_sh_PROGRAM) "libntfs-3g.script.so" "$(DESTDIR)/$(libdir)/libntfs-3g.so"; \
65         fi
66 else
67         if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
68                 $(LN_S) "$(rootlibdir)/libntfs-3g.so" "$(DESTDIR)/$(libdir)/libntfs-3g.so"; \
69         fi
70 endif
71 endif
73 uninstall-local:
74 if INSTALL_LIBRARY
75         $(RM) -f "$(DESTDIR)/$(rootlibdir)"/libntfs-3g.so*
76 endif
78 if ENABLE_NTFSPROGS
79 libs:   $(lib_LTLIBRARIES)
80 endif