# Makefile for tramp code

# This file is part of XEmacs.

# XEmacs is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.

# XEmacs is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

# You should have received a copy of the GNU General Public License
# along with XEmacs; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

VERSION = 1.57
AUTHOR_VERSION = 2.2.13
MAINTAINER = Michael Albinus <michael.albinus@gmx.de>
PACKAGE = tramp
PKG_TYPE = regular
REQUIRES = tramp xemacs-base vc efs dired mail-lib gnus ediff sh-script edebug
CATEGORY = standard

include ../../Local.rules.inc

LISPFILES = lisp/tramp.el lisp/tramp-adb.el lisp/tramp-cache.el \
	lisp/tramp-cmds.el lisp/tramp-compat.el lisp/tramp-efs.el \
	lisp/tramp-sh.el lisp/tramp-smb.el lisp/tramp-uu.el lisp/trampver.el

ELCS = $(LISPFILES:.el=.elc) lisp/tramp-loaddefs.elc

EXTRA_SOURCES = ChangeLog.upstream

EXPLICIT_DOCS = texi/$(PACKAGE).texi
MAKEINFO_FLAGS = --footnote-style=end -D xemacs

AUTOLOAD_PATH = lisp

include ../../XEmacs.rules

lisp/tramp-loaddefs.el: $(LISPFILES)
	${MAKE} EMACS_GVFS=no EMACS_GW=no EMACS_INFO=xemacs \
		EMACS=$(XEMACS_BINARY) \
		builddir=$(XEMACS_PACKAGES_BASE)/xemacs-packages/tramp/lisp \
		-C lisp autoloads
