fix: incorrect move/delete block if 'Cursor beyond end of line' swiched on
[free-mc.git] / vfs / Makefile.am
blob5f30ddabb4fa67ae7a03e73492433067b12a0913
1 if USE_SAMBA_FS
2 SAMBA_CFLAGS  = -DCONFIGDIR=\""@configdir@"\"
3 SAMBA_SUBDIRS = samba
4 endif
6 DIST_SUBDIRS = extfs
8 SUBDIRS   = extfs $(SAMBA_SUBDIRS)
9 AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(SAMBA_CFLAGS)
11 BASICFILES =                    \
12         cpio.c                  \
13         direntry.c              \
14         extfs.c                 \
15         gc.c                    \
16         local.c                 \
17         tar.c                   \
18         sfs.c                   \
19         utilvfs.c               \
20         vfs.c
22 VFSHDRS =                       \
23         fish.h                  \
24         ftpfs.h                 \
25         gc.h                    \
26         local.h                 \
27         mcfs.h                  \
28         mcfsutil.h              \
29         smbfs.h                 \
30         tcputil.h               \
31         utilvfs.h               \
32         vfs.h                   \
33         vfs-impl.h              \
34         xdirentry.h
36 SMBFILES = smbfs.c
37 if USE_SAMBA_FS
38 SMB_NETFILES = $(SMBFILES)
39 endif
41 UNDELFILES = undelfs.c
42 if USE_UNDEL_FS
43 UNDEL_FILES = $(UNDELFILES)
44 endif
46 NETFILES = tcputil.c fish.c ftpfs.c mcfs.c mcfsutil.c $(SMB_NETFILES)
48 NONETFILES = $(BASICFILES) $(UNDEL_FILES)
50 EXTRA_DIST = HACKING README README.fish \
51         $(VFSHDRS) $(BASICFILES) $(NETFILES) $(SMBFILES) $(UNDELFILES)
53 dist-hook:
54         $(mkinstalldirs) $(distdir)/samba
55         $(mkinstalldirs) $(distdir)/samba/include
56         $(mkinstalldirs) $(distdir)/samba/lib
57         $(mkinstalldirs) $(distdir)/samba/libsmb
58         $(mkinstalldirs) $(distdir)/samba/param
59         for I in $(SAMBA_DIST); do \
60           cp -p $(srcdir)/samba/$$I $(distdir)/samba/$$I || exit 1; \
61         done
63 mostlyclean-local:
64         if test -f samba/Makefile; then \
65           (cd samba && $(MAKE) mostlyclean) \
66         else :; fi
68 clean-local:
69         if test -f samba/Makefile; then \
70           (cd samba && $(MAKE) clean) \
71         else :; fi
73 distclean-local:
74         if test -f samba/Makefile; then \
75           (cd samba && $(MAKE) distclean) \
76         else :; fi
78 if USE_VFS
79 noinst_LIBRARIES = libvfs-mc.a
80 else
81 noinst_LIBRARIES =
82 endif
84 if USE_VFS_NET
85 libvfs_mc_a_SOURCES = $(NETFILES) $(NONETFILES)
86 else
87 libvfs_mc_a_SOURCES = $(NONETFILES)
88 endif
90 if ENABLE_MCSERVER
91 sbin_PROGRAMS = mcserv
92 mcserv_SOURCES = mcserv.c mcfsutil.c
93 mcserv_LDADD = $(MCSERVLIBS)
94 endif
97 SAMBA_DIST =                    \
98         Makefile.in             \
99         aclocal.m4              \
100         configure.ac            \
101         configure               \
102         internals.doc           \
103         parsing.doc             \
104         include/byteorder.h     \
105         include/charset.h       \
106         include/client.h        \
107         include/config.h.in     \
108         include/includes.h      \
109         include/kanji.h         \
110         include/local.h         \
111         include/nameserv.h      \
112         include/nterr.h         \
113         include/proto.h         \
114         include/smb.h           \
115         include/stamp-h.in      \
116         include/trans2.h        \
117         include/version.h       \
118         lib/charcnv.c           \
119         lib/charset.c           \
120         lib/debug.c             \
121         lib/interface.c         \
122         lib/kanji.c             \
123         lib/md4.c               \
124         lib/netmask.c           \
125         lib/slprintf.c          \
126         lib/system.c            \
127         lib/time.c              \
128         lib/username.c          \
129         lib/util.c              \
130         lib/util_file.c         \
131         lib/util_sock.c         \
132         lib/util_str.c          \
133         libsmb/clientgen.c      \
134         libsmb/namequery.c      \
135         libsmb/nmblib.c         \
136         libsmb/nterr.c          \
137         libsmb/pwd_cache.c      \
138         libsmb/smbdes.c         \
139         libsmb/smbencrypt.c     \
140         libsmb/smberr.c         \
141         param/loadparm.c        \
142         param/params.c