Updated Russian translation.
[midnight-commander.git] / lib / vfs / mc-vfs / Makefile.am
blob1917d83a3f85375e0efeb6d40a555199dd2ca2dc
1 if ENABLE_VFS_SMB
2 SAMBA_CFLAGS  = -DCONFIGDIR=\""@smbconfigdir@"\"
3 SAMBA_SUBDIRS = samba
4 endif
6 DIST_SUBDIRS = extfs fish
8 SUBDIRS = $(SAMBA_SUBDIRS)
9 if ENABLE_VFS_EXTFS
10 SUBDIRS += extfs
11 endif
12 if ENABLE_VFS_FISH
13 SUBDIRS += fish
14 endif
16 AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(SAMBA_CFLAGS)
18 AM_CPPFLAGS = -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\"
20 BASICFILES = \
21         vfs.c vfs.h vfs-impl.h  \
22         direntry.c xdirentry.h  \
23         parse_ls_vga.c \
24         utilvfs.c utilvfs.h     \
25         gc.c gc.h               \
26         local.c local.h
28 CPIOFILES = cpio.c
29 TARFILES = tar.c
30 SFSFILES = sfs.c
31 EXTFSFILES = extfs.c
32 UNDELFILES = undelfs.c
34 NETFILES = netutil.c netutil.h
36 FTPFILES = ftpfs.c ftpfs.h
37 FISHFILES = fish.c fish.h fishdef.h
38 SMBFILES = smbfs.c smbfs.h
40 libvfs_mc_la_SOURCES = $(BASICFILES)
41 if ENABLE_VFS_CPIO
42 libvfs_mc_la_SOURCES += $(CPIOFILES)
43 endif
44 if ENABLE_VFS_TAR
45 libvfs_mc_la_SOURCES += $(TARFILES)
46 endif
47 if ENABLE_VFS_SFS
48 libvfs_mc_la_SOURCES += $(SFSFILES)
49 endif
50 if ENABLE_VFS_EXTFS
51 libvfs_mc_la_SOURCES += $(EXTFSFILES)
52 endif
53 if ENABLE_VFS_UNDELFS
54 libvfs_mc_la_SOURCES += $(UNDELFILES)
55 endif
56 if ENABLE_VFS_NET
57 libvfs_mc_la_SOURCES += $(NETFILES)
58 endif
59 if ENABLE_VFS_FTP
60 libvfs_mc_la_SOURCES += $(FTPFILES)
61 endif
62 if ENABLE_VFS_FISH
63 libvfs_mc_la_SOURCES += $(FISHFILES)
64 endif
65 if ENABLE_VFS_SMB
66 libvfs_mc_la_SOURCES += $(SMBFILES)
67 endif
69 EXTRA_DIST = HACKING README \
70         $(BASICFILES) \
71         $(CPIOFILES) \
72         $(TARFILES) \
73         $(SFSFILES) \
74         $(EXTFSFILES) \
75         $(UNDELFILES) \
76         $(NETFILES) \
77         $(FTPFILES) \
78         $(FISHFILES) \
79         $(SMBFILES)
81 dist-hook:
82         $(mkinstalldirs) $(distdir)/samba
83         $(mkinstalldirs) $(distdir)/samba/include
84         $(mkinstalldirs) $(distdir)/samba/lib
85         $(mkinstalldirs) $(distdir)/samba/libsmb
86         $(mkinstalldirs) $(distdir)/samba/param
87         for I in $(SAMBA_DIST); do \
88           cp -p $(srcdir)/samba/$$I $(distdir)/samba/$$I || exit 1; \
89         done
91 mostlyclean-local:
92         if test -f samba/Makefile; then \
93           (cd samba && $(MAKE) mostlyclean) \
94         else :; fi
96 clean-local:
97         if test -f samba/Makefile; then \
98           (cd samba && $(MAKE) clean) \
99         else :; fi
101 distclean-local:
102         if test -f samba/Makefile; then \
103           (cd samba && $(MAKE) distclean) \
104         else :; fi
106 noinst_LTLIBRARIES = libvfs-mc.la
108 SAMBA_DIST =                    \
109         Makefile.in             \
110         aclocal.m4              \
111         configure.ac            \
112         configure               \
113         internals.doc           \
114         parsing.doc             \
115         include/byteorder.h     \
116         include/charset.h       \
117         include/client.h        \
118         include/config.h.in     \
119         include/includes.h      \
120         include/kanji.h         \
121         include/local.h         \
122         include/nameserv.h      \
123         include/nterr.h         \
124         include/proto.h         \
125         include/smb.h           \
126         include/stamp-h.in      \
127         include/trans2.h        \
128         include/version.h       \
129         lib/charcnv.c           \
130         lib/charset.c           \
131         lib/debug.c             \
132         lib/interface.c         \
133         lib/kanji.c             \
134         lib/md4.c               \
135         lib/netmask.c           \
136         lib/slprintf.c          \
137         lib/system.c            \
138         lib/time.c              \
139         lib/username.c          \
140         lib/util.c              \
141         lib/util_file.c         \
142         lib/util_sock.c         \
143         lib/util_str.c          \
144         libsmb/clientgen.c      \
145         libsmb/namequery.c      \
146         libsmb/nmblib.c         \
147         libsmb/nterr.c          \
148         libsmb/pwd_cache.c      \
149         libsmb/smbdes.c         \
150         libsmb/smbencrypt.c     \
151         libsmb/smberr.c         \
152         param/loadparm.c        \
153         param/params.c