2002-07-03 03:10:15 +04:00
|
|
|
if USE_SAMBA_FS
|
|
|
|
SUBDIRS = samba extfs
|
|
|
|
else
|
2001-12-31 11:08:18 +03:00
|
|
|
SUBDIRS = extfs
|
2002-07-03 03:10:15 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
DIST_SUBDIRS = extfs
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2002-01-11 11:24:17 +03:00
|
|
|
if USE_SAMBA_FS
|
|
|
|
AM_CFLAGS = $(GLIB_CFLAGS) -DCONFIGDIR=\""@configdir@"\"
|
|
|
|
else
|
2001-12-31 11:08:18 +03:00
|
|
|
AM_CFLAGS = $(GLIB_CFLAGS)
|
2002-01-11 11:24:17 +03:00
|
|
|
endif
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
BASICFILES = \
|
|
|
|
cpio.c \
|
|
|
|
direntry.c \
|
|
|
|
extfs.c \
|
|
|
|
local.c \
|
|
|
|
names.c \
|
|
|
|
tar.c \
|
|
|
|
sfs.c \
|
|
|
|
vfs.c
|
|
|
|
|
|
|
|
VFSHDRS = \
|
|
|
|
extfs.h \
|
|
|
|
fish.h \
|
|
|
|
ftpfs.h \
|
|
|
|
local.h \
|
|
|
|
mcfs.h \
|
2002-10-05 05:02:07 +04:00
|
|
|
mcfsutil.h \
|
2001-12-31 11:08:18 +03:00
|
|
|
names.h \
|
|
|
|
smbfs.h \
|
|
|
|
tar.h \
|
|
|
|
tcputil.h \
|
|
|
|
utilvfs.h \
|
|
|
|
vfs.h \
|
|
|
|
xdirentry.h
|
|
|
|
|
|
|
|
SMBFILES = smbfs.c
|
|
|
|
if USE_SAMBA_FS
|
|
|
|
SMB_NETFILES = $(SMBFILES)
|
|
|
|
endif
|
|
|
|
|
|
|
|
UNDELFILES = undelfs.c
|
|
|
|
if USE_UNDEL_FS
|
|
|
|
UNDEL_FILES = $(UNDELFILES)
|
|
|
|
endif
|
|
|
|
|
2002-10-05 05:02:07 +04:00
|
|
|
NETFILES = tcputil.c fish.c ftpfs.c mcfs.c mcfsutil.c utilvfs.c \
|
|
|
|
$(SMB_NETFILES)
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
NONETFILES = $(BASICFILES) $(UNDEL_FILES)
|
|
|
|
|
|
|
|
EXTRA_DIST = ChangeLog README README.fish \
|
|
|
|
$(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
|
|
|
|
$(mkinstalldirs) $(distdir)/samba/tests
|
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
|
|
|
|
|
2001-12-31 11:08:18 +03:00
|
|
|
if USE_VFS
|
|
|
|
noinst_LIBRARIES = libvfs-mc.a
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_VFS_NET
|
|
|
|
libvfs_mc_a_SOURCES = $(NETFILES) $(NONETFILES)
|
|
|
|
else
|
|
|
|
libvfs_mc_a_SOURCES = $(NONETFILES)
|
|
|
|
endif
|
|
|
|
|
2002-09-13 10:01:41 +04:00
|
|
|
if USE_MCFS
|
2001-12-31 11:08:18 +03:00
|
|
|
sbin_PROGRAMS = mcserv
|
2002-02-20 06:07:42 +03:00
|
|
|
endif
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2002-10-05 05:02:07 +04:00
|
|
|
mcserv_SOURCES = mcserv.c mcfsutil.c
|
2001-12-31 11:08:18 +03:00
|
|
|
|
2002-11-17 04:00:42 +03:00
|
|
|
mcserv_LDADD = $(MCSERVLIBS)
|
2001-12-31 11:08:18 +03:00
|
|
|
|
|
|
|
SAMBA_DIST = \
|
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
|
|
|
architecture.doc \
|
|
|
|
configure.in \
|
|
|
|
configure \
|
|
|
|
internals.doc \
|
|
|
|
parsing.doc \
|
|
|
|
include/byteorder.h \
|
|
|
|
include/charset.h \
|
|
|
|
include/client.h \
|
|
|
|
include/config.h.in \
|
|
|
|
include/dlinklist.h \
|
|
|
|
include/includes.h \
|
|
|
|
include/kanji.h \
|
|
|
|
include/local.h \
|
|
|
|
include/nameserv.h \
|
|
|
|
include/ntdomain.h \
|
|
|
|
include/nterr.h \
|
|
|
|
include/proto.h \
|
|
|
|
include/rpc_dce.h \
|
|
|
|
include/rpc_lsa.h \
|
|
|
|
include/rpc_misc.h \
|
|
|
|
include/rpc_netlogon.h \
|
|
|
|
include/rpc_reg.h \
|
|
|
|
include/rpc_samr.h \
|
|
|
|
include/rpc_secdes.h \
|
|
|
|
include/rpc_srvsvc.h \
|
|
|
|
include/rpc_wkssvc.h \
|
|
|
|
include/rpcclient.h \
|
|
|
|
include/smb.h \
|
|
|
|
include/stamp-h.in \
|
|
|
|
include/trans2.h \
|
|
|
|
include/version.h \
|
|
|
|
lib/charcnv.c \
|
|
|
|
lib/charset.c \
|
|
|
|
lib/debug.c \
|
|
|
|
lib/doscalls.c \
|
|
|
|
lib/genrand.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 \
|
|
|
|
lib/util_unistr.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 \
|
|
|
|
param/params.c \
|
|
|
|
tests/README \
|
|
|
|
tests/getgroups.c \
|
|
|
|
tests/summary.c \
|
|
|
|
tests/trivial.c
|
|
|
|
|