Reverted the use of bool in favour of gboolean
[midnight-commander.git] / vfs / Makefile.am
blobad62225f027789bd785e4fa906c37d6173a5ceba
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 = ChangeLog 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 USE_MCFS
91 sbin_PROGRAMS = mcserv
92 endif
94 mcserv_SOURCES = mcserv.c mcfsutil.c
96 mcserv_LDADD = $(MCSERVLIBS)
98 SAMBA_DIST =                    \
99         Makefile.in             \
100         aclocal.m4              \
101         configure.ac            \
102         configure               \
103         internals.doc           \
104         parsing.doc             \
105         include/byteorder.h     \
106         include/charset.h       \
107         include/client.h        \
108         include/config.h.in     \
109         include/includes.h      \
110         include/kanji.h         \
111         include/local.h         \
112         include/nameserv.h      \
113         include/nterr.h         \
114         include/proto.h         \
115         include/smb.h           \
116         include/stamp-h.in      \
117         include/trans2.h        \
118         include/version.h       \
119         lib/charcnv.c           \
120         lib/charset.c           \
121         lib/debug.c             \
122         lib/interface.c         \
123         lib/kanji.c             \
124         lib/md4.c               \
125         lib/netmask.c           \
126         lib/slprintf.c          \
127         lib/system.c            \
128         lib/time.c              \
129         lib/username.c          \
130         lib/util.c              \
131         lib/util_file.c         \
132         lib/util_sock.c         \
133         lib/util_str.c          \
134         libsmb/clientgen.c      \
135         libsmb/namequery.c      \
136         libsmb/nmblib.c         \
137         libsmb/nterr.c          \
138         libsmb/pwd_cache.c      \
139         libsmb/smbdes.c         \
140         libsmb/smbencrypt.c     \
141         libsmb/smberr.c         \
142         param/loadparm.c        \
143         param/params.c