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
|
|
|
|
|
2010-06-23 17:10:05 +04:00
|
|
|
DIST_SUBDIRS = extfs fish
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2010-06-23 17:10:05 +04:00
|
|
|
SUBDIRS = extfs fish $(SAMBA_SUBDIRS)
|
2009-01-30 18:46:44 +03:00
|
|
|
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(SAMBA_CFLAGS)
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2010-01-27 19:22:56 +03:00
|
|
|
AM_CPPFLAGS = -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\"
|
|
|
|
|
2010-07-10 19:47:34 +04:00
|
|
|
BASICFILES = \
|
|
|
|
vfs.c vfs.h vfs-impl.h \
|
|
|
|
direntry.c xdirentry.h \
|
|
|
|
utilvfs.c utilvfs.h \
|
|
|
|
local.c local.h \
|
|
|
|
gc.c gc.h \
|
2010-07-13 11:47:05 +04:00
|
|
|
extfs.c
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2010-07-13 11:24:03 +04:00
|
|
|
CPIOFILES = cpio.c
|
2010-07-13 11:38:38 +04:00
|
|
|
TARFILES = tar.c
|
|
|
|
SFSFILES = sfs.c
|
|
|
|
EXTFSFILES = extfs.c
|
2010-07-10 19:47:34 +04:00
|
|
|
UNDELFILES = undelfs.c
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2010-07-10 19:47:34 +04:00
|
|
|
NETFILES = \
|
|
|
|
netutil.c netutil.h \
|
|
|
|
fish.c fish.h fishdef.h \
|
|
|
|
ftpfs.c ftpfs.h
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2010-07-10 19:47:34 +04:00
|
|
|
SMBFILES = smbfs.c smbfs.h
|
|
|
|
|
|
|
|
libvfs_mc_la_SOURCES = $(BASICFILES)
|
2010-07-13 11:24:03 +04:00
|
|
|
if ENABLE_VFS_CPIO
|
|
|
|
libvfs_mc_la_SOURCES += $(CPIOFILES)
|
|
|
|
endif
|
2010-07-13 11:38:38 +04:00
|
|
|
if ENABLE_VFS_TAR
|
|
|
|
libvfs_mc_la_SOURCES += $(TARFILES)
|
|
|
|
endif
|
2010-07-13 11:47:05 +04:00
|
|
|
if ENABLE_VFS_SFS
|
|
|
|
libvfs_mc_la_SOURCES += $(SFSFILES)
|
|
|
|
endif
|
2009-09-12 17:03:10 +04:00
|
|
|
if ENABLE_VFS_UNDELFS
|
2010-07-10 19:47:34 +04:00
|
|
|
libvfs_mc_la_SOURCES += $(UNDELFILES)
|
|
|
|
endif
|
|
|
|
if ENABLE_VFS_NET
|
|
|
|
libvfs_mc_la_SOURCES += $(NETFILES)
|
|
|
|
endif
|
|
|
|
if USE_SAMBA_FS
|
|
|
|
libvfs_mc_la_SOURCES += $(SMBFILES)
|
2001-12-31 11:08:18 +03:00
|
|
|
endif
|
|
|
|
|
2010-06-23 17:10:05 +04:00
|
|
|
EXTRA_DIST = HACKING README \
|
2010-07-13 11:24:03 +04:00
|
|
|
$(BASICFILES) \
|
|
|
|
$(CPIOFILES) \
|
2010-07-13 11:38:38 +04:00
|
|
|
$(TARFILES) \
|
2010-07-13 11:47:05 +04:00
|
|
|
$(SFSFILES) \
|
2010-07-13 11:24:03 +04:00
|
|
|
$(UNDELFILES) \
|
|
|
|
$(NETFILES) \
|
|
|
|
$(SMBFILES)
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
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
|
2010-01-08 17:47:19 +03:00
|
|
|
noinst_LTLIBRARIES = libvfs-mc.la
|
2001-12-31 11:08:18 +03:00
|
|
|
else
|
2010-01-08 17:47:19 +03:00
|
|
|
noinst_LTLIBRARIES =
|
2001-12-31 11:08:18 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
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
|