2002-07-03 03:10:15 +04:00
|
|
|
if USE_SAMBA_FS
|
2009-01-30 18:46:44 +03:00
|
|
|
SAMBA_CFLAGS = -DCONFIGDIR=\""@configdir@"\"
|
|
|
|
SAMBA_SUBDIRS = samba
|
2002-07-03 03:10:15 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
DIST_SUBDIRS = extfs
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2009-01-30 18:46:44 +03:00
|
|
|
SUBDIRS = extfs $(SAMBA_SUBDIRS)
|
|
|
|
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(SAMBA_CFLAGS)
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
BASICFILES = \
|
|
|
|
cpio.c \
|
|
|
|
direntry.c \
|
|
|
|
extfs.c \
|
2003-11-08 02:43:55 +03:00
|
|
|
gc.c \
|
2001-12-31 11:08:18 +03:00
|
|
|
local.c \
|
|
|
|
tar.c \
|
|
|
|
sfs.c \
|
2003-10-29 10:19:25 +03:00
|
|
|
utilvfs.c \
|
2001-12-31 11:08:18 +03:00
|
|
|
vfs.c
|
|
|
|
|
|
|
|
VFSHDRS = \
|
2006-02-23 19:00:13 +03:00
|
|
|
fish.h \
|
2001-12-31 11:08:18 +03:00
|
|
|
ftpfs.h \
|
2003-11-08 02:43:55 +03:00
|
|
|
gc.h \
|
2001-12-31 11:08:18 +03:00
|
|
|
local.h \
|
|
|
|
mcfs.h \
|
2002-10-05 05:02:07 +04:00
|
|
|
mcfsutil.h \
|
2010-01-13 16:16:57 +03:00
|
|
|
netutil.h \
|
2001-12-31 11:08:18 +03:00
|
|
|
smbfs.h \
|
|
|
|
utilvfs.h \
|
|
|
|
vfs.h \
|
2004-08-17 04:48:28 +04:00
|
|
|
vfs-impl.h \
|
2001-12-31 11:08:18 +03:00
|
|
|
xdirentry.h
|
|
|
|
|
|
|
|
SMBFILES = smbfs.c
|
|
|
|
if USE_SAMBA_FS
|
|
|
|
SMB_NETFILES = $(SMBFILES)
|
|
|
|
endif
|
|
|
|
|
|
|
|
UNDELFILES = undelfs.c
|
2009-09-12 17:03:10 +04:00
|
|
|
if ENABLE_VFS_UNDELFS
|
2001-12-31 11:08:18 +03:00
|
|
|
UNDEL_FILES = $(UNDELFILES)
|
|
|
|
endif
|
|
|
|
|
2010-01-13 16:17:47 +03:00
|
|
|
NETFILES = netutil.c fish.c ftpfs.c mcfs.c mcfsutil.c $(SMB_NETFILES)
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
NONETFILES = $(BASICFILES) $(UNDEL_FILES)
|
|
|
|
|
2009-05-27 02:08:55 +04:00
|
|
|
EXTRA_DIST = HACKING README README.fish \
|
2001-12-31 11:08:18 +03:00
|
|
|
$(VFSHDRS) $(BASICFILES) $(NETFILES) $(SMBFILES) $(UNDELFILES)
|
|
|
|
|
|
|
|
dist-hook:
|
2002-07-03 03:10:15 +04:00
|
|
|
$(mkinstalldirs) $(distdir)/samba
|
|
|
|
$(mkinstalldirs) $(distdir)/samba/include
|
|
|
|
$(mkinstalldirs) $(distdir)/samba/lib
|
|
|
|
$(mkinstalldirs) $(distdir)/samba/libsmb
|
|
|
|
$(mkinstalldirs) $(distdir)/samba/param
|
2001-12-31 11:08:18 +03:00
|
|
|
for I in $(SAMBA_DIST); do \
|
|
|
|
cp -p $(srcdir)/samba/$$I $(distdir)/samba/$$I || exit 1; \
|
|
|
|
done
|
|
|
|
|
2002-01-03 04:26:24 +03:00
|
|
|
mostlyclean-local:
|
|
|
|
if test -f samba/Makefile; then \
|
|
|
|
(cd samba && $(MAKE) mostlyclean) \
|
|
|
|
else :; fi
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
if test -f samba/Makefile; then \
|
|
|
|
(cd samba && $(MAKE) clean) \
|
|
|
|
else :; fi
|
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
if test -f samba/Makefile; then \
|
|
|
|
(cd samba && $(MAKE) distclean) \
|
|
|
|
else :; fi
|
|
|
|
|
2009-12-29 14:39:13 +03:00
|
|
|
if ENABLE_VFS
|
2001-12-31 11:08:18 +03:00
|
|
|
noinst_LIBRARIES = libvfs-mc.a
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES =
|
|
|
|
endif
|
|
|
|
|
2009-12-29 14:39:13 +03:00
|
|
|
if ENABLE_VFS_NET
|
2001-12-31 11:08:18 +03:00
|
|
|
libvfs_mc_a_SOURCES = $(NETFILES) $(NONETFILES)
|
|
|
|
else
|
|
|
|
libvfs_mc_a_SOURCES = $(NONETFILES)
|
|
|
|
endif
|
|
|
|
|
2009-05-14 15:40:47 +04:00
|
|
|
if ENABLE_MCSERVER
|
2001-12-31 11:08:18 +03:00
|
|
|
sbin_PROGRAMS = mcserv
|
2002-10-05 05:02:07 +04:00
|
|
|
mcserv_SOURCES = mcserv.c mcfsutil.c
|
2009-12-11 16:52:05 +03:00
|
|
|
mcserv_LDADD = $(MCSERVLIBS) $(GLIB_LIBS)
|
2009-05-14 15:40:47 +04:00
|
|
|
endif
|
|
|
|
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
SAMBA_DIST = \
|
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
2004-01-22 09:30:30 +03:00
|
|
|
configure.ac \
|
2001-12-31 11:08:18 +03:00
|
|
|
configure \
|
|
|
|
internals.doc \
|
|
|
|
parsing.doc \
|
|
|
|
include/byteorder.h \
|
|
|
|
include/charset.h \
|
|
|
|
include/client.h \
|
|
|
|
include/config.h.in \
|
|
|
|
include/includes.h \
|
|
|
|
include/kanji.h \
|
|
|
|
include/local.h \
|
|
|
|
include/nameserv.h \
|
|
|
|
include/nterr.h \
|
|
|
|
include/proto.h \
|
|
|
|
include/smb.h \
|
|
|
|
include/stamp-h.in \
|
|
|
|
include/trans2.h \
|
|
|
|
include/version.h \
|
|
|
|
lib/charcnv.c \
|
|
|
|
lib/charset.c \
|
|
|
|
lib/debug.c \
|
|
|
|
lib/interface.c \
|
|
|
|
lib/kanji.c \
|
|
|
|
lib/md4.c \
|
|
|
|
lib/netmask.c \
|
|
|
|
lib/slprintf.c \
|
|
|
|
lib/system.c \
|
|
|
|
lib/time.c \
|
|
|
|
lib/username.c \
|
|
|
|
lib/util.c \
|
|
|
|
lib/util_file.c \
|
|
|
|
lib/util_sock.c \
|
|
|
|
lib/util_str.c \
|
|
|
|
libsmb/clientgen.c \
|
|
|
|
libsmb/namequery.c \
|
|
|
|
libsmb/nmblib.c \
|
|
|
|
libsmb/nterr.c \
|
|
|
|
libsmb/pwd_cache.c \
|
|
|
|
libsmb/smbdes.c \
|
|
|
|
libsmb/smbencrypt.c \
|
|
|
|
libsmb/smberr.c \
|
|
|
|
param/loadparm.c \
|
2003-08-30 11:14:54 +04:00
|
|
|
param/params.c
|
2001-12-31 11:08:18 +03:00
|
|
|
|