1998-07-24 10:35:02 +04:00
|
|
|
# This is the "Makefile.in" that is used when vfs is built as part of
|
|
|
|
# mc. Any changes here must also be made in Makefile.am.
|
1999-06-22 23:56:36 +04:00
|
|
|
# x
|
1998-07-24 10:35:02 +04:00
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
srcdir = @srcdir@
|
2000-09-14 19:12:00 +04:00
|
|
|
top_srcdir = @top_srcdir@
|
1998-02-27 07:54:42 +03:00
|
|
|
VPATH = @srcdir@
|
2000-09-18 08:57:29 +04:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
|
|
top_builddir = ..
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
@MCF@
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-10-06 10:49:45 +04:00
|
|
|
SAMBA_INCLUDES = -I$(srcdir)/samba/ubiqx -I$(srcdir)/samba/smbwrapper
|
|
|
|
|
|
|
|
CFLAGS = $(XCFLAGS)
|
|
|
|
CPPFLAGS = $(XCPPFLAGS) -D_LARGEFILE64_SOURCE -I. $(SAMBA_INCLUDES)
|
1998-09-26 00:10:06 +04:00
|
|
|
LDFLAGS = $(XLDFLAGS)
|
|
|
|
DEFS = $(XDEFS)
|
1998-12-02 08:18:20 +03:00
|
|
|
LIBS = @LINTL@ @SHADOWLIB@ $(XLIBS) @TERMNET@ @PAMLIBS@ @LCRYPT@ $(XLIB)
|
1998-09-26 00:10:06 +04:00
|
|
|
INSTALL = @INSTALL@
|
1998-02-27 07:54:42 +03:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 755
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
AR = @AR@
|
|
|
|
|
|
|
|
#
|
|
|
|
# VFS code
|
|
|
|
#
|
1999-06-23 01:02:08 +04:00
|
|
|
NETFILES = tcputil.o fish.o ftpfs.o @smbfs@ mcfs.o utilvfs.o
|
1999-06-22 23:56:36 +04:00
|
|
|
|
|
|
|
SAMBAFILES= \
|
|
|
|
samba/param/loadparm.o \
|
|
|
|
samba/lib/time.o \
|
|
|
|
samba/lib/slprintf.o \
|
|
|
|
samba/lib/util.o \
|
|
|
|
samba/lib/debug.o \
|
|
|
|
samba/lib/system.o \
|
|
|
|
samba/lib/util_str.o \
|
|
|
|
samba/lib/kanji.o \
|
|
|
|
samba/lib/charcnv.o \
|
|
|
|
samba/lib/charset.o \
|
|
|
|
samba/lib/username.o \
|
|
|
|
samba/lib/util_file.o \
|
|
|
|
samba/lib/signal.o \
|
|
|
|
samba/lib/util_sock.o \
|
|
|
|
samba/lib/genrand.o \
|
|
|
|
samba/lib/md4.o \
|
|
|
|
samba/lib/doscalls.o \
|
|
|
|
samba/param/params.o \
|
|
|
|
samba/libsmb/clientgen.o \
|
|
|
|
samba/libsmb/pwd_cache.o \
|
|
|
|
samba/libsmb/smbencrypt.o \
|
|
|
|
samba/libsmb/smbdes.o \
|
|
|
|
samba/lib/util_unistr.o \
|
|
|
|
samba/lib/getsmbpass.o \
|
|
|
|
samba/libsmb/nmblib.o \
|
|
|
|
samba/libsmb/namequery.o\
|
|
|
|
samba/lib/interface.o \
|
|
|
|
samba/lib/netmask.o \
|
|
|
|
samba/libsmb/nterr.o \
|
|
|
|
samba/libsmb/smberr.o
|
1998-02-27 07:54:42 +03:00
|
|
|
|
1999-06-26 03:11:47 +04:00
|
|
|
SAMBA_DIST_TOPLEVEL = \
|
|
|
|
Makefile.in \
|
1999-07-04 12:16:31 +04:00
|
|
|
acconfig.h \
|
1999-06-26 03:11:47 +04:00
|
|
|
aclocal.m4 \
|
|
|
|
architecture.doc \
|
|
|
|
configure.in \
|
1999-07-05 12:43:35 +04:00
|
|
|
configure \
|
1999-06-26 03:11:47 +04:00
|
|
|
internals.doc \
|
|
|
|
parsing.doc \
|
|
|
|
samba-files \
|
1999-07-04 12:16:31 +04:00
|
|
|
smbadduser
|
|
|
|
|
|
|
|
SAMBA_DIST_INCLUDE = \
|
|
|
|
byteorder.h \
|
|
|
|
charset.h \
|
|
|
|
client.h \
|
|
|
|
config.h.in \
|
|
|
|
dlinklist.h \
|
|
|
|
includes.h \
|
|
|
|
kanji.h \
|
|
|
|
local.h \
|
|
|
|
nameserv.h \
|
|
|
|
ntdomain.h \
|
|
|
|
nterr.h \
|
|
|
|
proto.h \
|
|
|
|
rpc_dce.h \
|
|
|
|
rpc_lsa.h \
|
|
|
|
rpc_misc.h \
|
|
|
|
rpc_netlogon.h \
|
|
|
|
rpc_reg.h \
|
|
|
|
rpc_samr.h \
|
|
|
|
rpc_secdes.h \
|
|
|
|
rpc_srvsvc.h \
|
|
|
|
rpc_wkssvc.h \
|
|
|
|
rpcclient.h \
|
|
|
|
smb.h \
|
2000-08-18 09:18:47 +04:00
|
|
|
stamp-h.in \
|
1999-07-04 12:16:31 +04:00
|
|
|
trans2.h \
|
|
|
|
version.h
|
|
|
|
|
|
|
|
SAMBA_DIST_LIB = \
|
|
|
|
charcnv.c \
|
|
|
|
charset.c \
|
|
|
|
debug.c \
|
|
|
|
doscalls.c \
|
|
|
|
genrand.c \
|
|
|
|
getsmbpass.c \
|
|
|
|
interface.c \
|
|
|
|
kanji.c \
|
|
|
|
md4.c \
|
|
|
|
netmask.c \
|
|
|
|
signal.c \
|
|
|
|
slprintf.c \
|
|
|
|
system.c \
|
|
|
|
time.c \
|
|
|
|
username.c \
|
|
|
|
util.c \
|
|
|
|
util_file.c \
|
|
|
|
util_sock.c \
|
|
|
|
util_str.c \
|
|
|
|
util_unistr.c
|
|
|
|
|
|
|
|
SAMBA_DIST_LIBSMB = \
|
|
|
|
clientgen.c \
|
|
|
|
namequery.c \
|
|
|
|
nmblib.c \
|
|
|
|
nterr.c \
|
|
|
|
pwd_cache.c \
|
|
|
|
smbdes.c \
|
|
|
|
smbencrypt.c \
|
|
|
|
smberr.c
|
|
|
|
|
|
|
|
SAMBA_DIST_PARAM = \
|
|
|
|
loadparm.c \
|
|
|
|
params.c
|
|
|
|
|
|
|
|
SAMBA_DIST_SMBWRAPPER = \
|
|
|
|
smbw.h
|
|
|
|
|
|
|
|
SAMBA_DIST_TESTS = \
|
|
|
|
README \
|
|
|
|
crypttest.c \
|
|
|
|
fcntl_lock.c \
|
|
|
|
ftruncate.c \
|
|
|
|
ftruncroot.c \
|
|
|
|
getgroups.c \
|
|
|
|
shared_mmap.c \
|
|
|
|
summary.c \
|
|
|
|
sysv_ipc.c \
|
|
|
|
trapdoor.c \
|
|
|
|
trivial.c
|
|
|
|
|
|
|
|
SAMBA_DIST_UBIQX = \
|
|
|
|
COPYING.LIB \
|
|
|
|
README.UBI \
|
|
|
|
debugparse.h \
|
|
|
|
sys_include.h \
|
|
|
|
ubi_BinTree.h \
|
|
|
|
ubi_Cache.h \
|
|
|
|
ubi_SplayTree.h \
|
|
|
|
ubi_dLinkList.h \
|
|
|
|
ubi_sLinkList.h
|
1999-06-26 03:11:47 +04:00
|
|
|
|
1998-09-26 00:10:06 +04:00
|
|
|
NONETFILES = \
|
2000-02-22 21:21:41 +03:00
|
|
|
cpio.o \
|
1998-10-26 03:06:43 +03:00
|
|
|
direntry.o \
|
1998-09-26 00:10:06 +04:00
|
|
|
extfs.o \
|
|
|
|
local.o \
|
|
|
|
names.o \
|
|
|
|
tar.o \
|
|
|
|
sfs.o \
|
1998-10-16 02:38:00 +04:00
|
|
|
vfs.o @undelfs_o@
|
1998-02-27 07:54:42 +03:00
|
|
|
|
1998-09-26 00:10:06 +04:00
|
|
|
VFSSRCS = \
|
|
|
|
container.c \
|
2000-02-22 21:21:41 +03:00
|
|
|
cpio.c \
|
1998-10-26 03:06:43 +03:00
|
|
|
direntry.c \
|
1998-09-26 00:10:06 +04:00
|
|
|
extfs.c \
|
|
|
|
ftpfs.c \
|
|
|
|
fish.c \
|
|
|
|
local.c \
|
1998-12-16 06:20:38 +03:00
|
|
|
local.h \
|
1998-09-26 00:10:06 +04:00
|
|
|
mcfs.c \
|
|
|
|
names.c \
|
|
|
|
mcserv.c \
|
|
|
|
sfs.c \
|
|
|
|
shared_tar_ext.c \
|
|
|
|
shared_ftp_fish.c \
|
1999-07-04 14:21:43 +04:00
|
|
|
smbfs.c \
|
1998-09-26 00:10:06 +04:00
|
|
|
tar.c \
|
|
|
|
tcputil.c \
|
|
|
|
undelfs.c \
|
|
|
|
utilvfs.c \
|
1999-02-06 23:19:50 +03:00
|
|
|
util-alone.c \
|
1998-09-26 00:10:06 +04:00
|
|
|
vfs.c
|
|
|
|
|
|
|
|
VFSHDRS = \
|
|
|
|
container.h \
|
|
|
|
extfs.h \
|
|
|
|
fish.h \
|
|
|
|
ftpfs.h \
|
|
|
|
mcfs.h \
|
|
|
|
names.h \
|
1999-07-04 14:21:43 +04:00
|
|
|
smbfs.h \
|
1998-09-26 00:10:06 +04:00
|
|
|
tar.h \
|
|
|
|
tcputil.h \
|
1999-01-25 19:50:38 +03:00
|
|
|
utilvfs.h \
|
1998-10-26 03:38:32 +03:00
|
|
|
vfs.h \
|
1999-02-06 23:19:50 +03:00
|
|
|
util-alone.h \
|
1998-10-26 03:38:32 +03:00
|
|
|
xdirentry.h
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
VFSOBJS = $(NONETFILES) @NETFILES@
|
|
|
|
|
2000-09-18 08:57:29 +04:00
|
|
|
Makefile: $(srcdir)/Make-mc.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) && CONFIG_FILES=vfs/Makefile:vfs/Make-mc.in CONFIG_HEADERS= $(SHELL) ./config.status
|
1998-09-26 00:10:06 +04:00
|
|
|
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
|
|
|
# Distribution variables
|
|
|
|
#
|
|
|
|
|
1999-04-12 12:56:40 +04:00
|
|
|
DISTVFS = Make-mc.in ChangeLog $(VFSSRCS) $(VFSHDRS) callback.h README README.fish
|
1998-02-27 07:54:42 +03:00
|
|
|
|
1998-06-16 11:58:53 +04:00
|
|
|
all: @LIBVFS@ @mcserv@
|
2000-09-23 09:14:31 +04:00
|
|
|
(cd extfs; $(MAKE) all)
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
|
|
|
|
|
|
|
|
check:
|
|
|
|
@echo no tests are supplied.
|
|
|
|
|
2000-09-14 20:13:36 +04:00
|
|
|
SRC_LINKS = mad.c mad.h
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-09-14 20:13:36 +04:00
|
|
|
$(SRC_LINKS):
|
|
|
|
for i in $(SRC_LINKS); do \
|
|
|
|
$(LN_S) $(mcsrcdir)/$$i . || exit 1; \
|
|
|
|
done
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-09-14 20:13:36 +04:00
|
|
|
mcserv: mcserv.o tcputil.o mad.o
|
1998-02-27 07:54:42 +03:00
|
|
|
$(CC) $(LDFLAGS) -o mcserv mcserv.o tcputil.o mad.o $(LIBS)
|
|
|
|
|
1999-06-22 23:56:36 +04:00
|
|
|
$(SAMBAFILES):
|
|
|
|
cd samba && $(MAKE)
|
|
|
|
|
1999-06-26 02:22:31 +04:00
|
|
|
libvfs-mc.a: $(VFSOBJS) @SAMBAFILES@
|
2000-09-23 09:14:31 +04:00
|
|
|
rm -f $@
|
1999-07-02 19:06:21 +04:00
|
|
|
$(AR) cr $@ $(VFSOBJS) @SAMBAFILES@
|
1998-02-27 07:54:42 +03:00
|
|
|
-$(RANLIB) $@
|
|
|
|
|
|
|
|
showlibdep:
|
|
|
|
@echo 'OBJS="$(VFSOBJS)"'
|
|
|
|
|
|
|
|
TAGS: $(VFSSRCS)
|
|
|
|
etags $(VFSSRCS)
|
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
mostlyclean:
|
|
|
|
(cd extfs; $(MAKE) mostlyclean)
|
|
|
|
rm -f $(SAMBAFILES)
|
|
|
|
rm -f *.o core a.out
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
clean: mostlyclean
|
|
|
|
(cd extfs; $(MAKE) clean)
|
|
|
|
(cd samba; $(MAKE) clean)
|
|
|
|
rm -f mcserv *.a
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-09-23 09:14:31 +04:00
|
|
|
distclean: clean
|
2000-09-02 01:34:26 +04:00
|
|
|
(cd extfs; $(MAKE) distclean)
|
2000-09-23 09:14:31 +04:00
|
|
|
(cd samba; $(MAKE) distclean)
|
|
|
|
rm -f $(SRC_LINKS)
|
|
|
|
rm -f .depend
|
|
|
|
rm -f TAGS
|
|
|
|
rm -f *~
|
|
|
|
rm -f Makefile
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-08-24 18:39:33 +04:00
|
|
|
install: install_@mcserv@ install.extfs
|
|
|
|
|
|
|
|
install_:
|
|
|
|
|
|
|
|
install_mcserv:
|
2000-09-18 08:57:29 +04:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
2000-08-24 18:39:33 +04:00
|
|
|
$(INSTALL_PROGRAM) mcserv $(DESTDIR)$(bindir)/$(binprefix)mcserv
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
install.extfs:
|
2000-09-02 01:34:26 +04:00
|
|
|
(cd extfs; $(MAKE) install)
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
uninstall:
|
2000-09-02 01:34:26 +04:00
|
|
|
(cd extfs; $(MAKE) uninstall)
|
2000-09-23 09:14:31 +04:00
|
|
|
rm -f $(DESTDIR)$(bindir)/$(binprefix)mcserv
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-08-28 22:51:22 +04:00
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
|
|
|
|
distdir:
|
2000-09-15 10:05:22 +04:00
|
|
|
for I in $(DISTVFS); \
|
|
|
|
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
|
|
|
|
done
|
2000-08-28 22:51:22 +04:00
|
|
|
mkdir $(distdir)/extfs
|
2000-09-02 01:34:26 +04:00
|
|
|
(cd extfs && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) \
|
|
|
|
distdir=../$(distdir)/extfs distdir) || exit 1
|
2000-08-28 22:51:22 +04:00
|
|
|
mkdir $(distdir)/samba
|
|
|
|
mkdir $(distdir)/samba/include
|
|
|
|
mkdir $(distdir)/samba/lib
|
|
|
|
mkdir $(distdir)/samba/libsmb
|
|
|
|
mkdir $(distdir)/samba/param
|
|
|
|
mkdir $(distdir)/samba/smbwrapper
|
|
|
|
mkdir $(distdir)/samba/tests
|
|
|
|
mkdir $(distdir)/samba/ubiqx
|
|
|
|
|
2000-09-15 10:05:22 +04:00
|
|
|
for I in $(SAMBA_DIST_TOPLEVEL); do cp -p $(srcdir)/samba/$$I $(distdir)/samba || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_INCLUDE); do cp -p $(srcdir)/samba/include/$$I $(distdir)/samba/include || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_LIB); do cp -p $(srcdir)/samba/lib/$$I $(distdir)/samba/lib || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_LIBSMB); do cp -p $(srcdir)/samba/libsmb/$$I $(distdir)/samba/libsmb || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_PARAM); do cp -p $(srcdir)/samba/param/$$I $(distdir)/samba/param || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_SMBWRAPPER); do cp -p $(srcdir)/samba/smbwrapper/$$I $(distdir)/samba/smbwrapper || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_TESTS); do cp -p $(srcdir)/samba/tests/$$I $(distdir)/samba/tests || exit 1; done
|
|
|
|
for I in $(SAMBA_DIST_UBIQX); do cp -p $(srcdir)/samba/ubiqx/$$I $(distdir)/samba/ubiqx || exit 1; done
|
1999-06-26 03:11:47 +04:00
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
depend dep: mcdep
|
|
|
|
|
|
|
|
fastdeploc:
|
|
|
|
|
|
|
|
# ***Dependencies***Do not edit***
|
|
|
|
@DOTDEPEND@
|
|
|
|
# ***End of dependencies***
|