# Makefile for W3 lisp 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.41
AUTHOR_VERSION = 4.0pre47
MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
PACKAGE = w3
PKG_TYPE = regular
REQUIRES = w3 mail-lib xemacs-base ecrypto gnus net-utils sh-script fsf-compat eterm
CATEGORY = standard

ELCS =  lisp/css.elc lisp/devices.elc lisp/docomp.elc lisp/dsssl-flow.elc    \
	lisp/dsssl.elc lisp/images.elc lisp/socks.elc lisp/ssl.elc	     \
	lisp/url-about.elc lisp/url-auth.elc lisp/url-cache.elc		     \
	lisp/url-cid.elc lisp/url-cookie.elc lisp/url-dav.elc		     \
	lisp/url-dired.elc lisp/url-domsuf.elc lisp/url-expand.elc	     \
	lisp/url-file.elc lisp/url-ftp.elc lisp/url-future.elc		     \
	lisp/url-gw.elc lisp/url-handlers.elc lisp/url-history.elc	     \
	lisp/url-http.elc lisp/url-imap.elc lisp/url-irc.elc		     \
	lisp/url-ldap.elc lisp/url-mailto.elc lisp/url-methods.elc	     \
	lisp/url-misc.elc lisp/url-news.elc lisp/url-nfs.elc lisp/url-ns.elc \
	lisp/url-parse.elc lisp/url-privacy.elc lisp/url-proxy.elc	     \
	lisp/url-queue.elc lisp/url-util.elc lisp/url-vars.elc lisp/url.elc  \
	lisp/w3-cfg.elc lisp/w3-compat.elc lisp/w3-cus.elc		     \
	lisp/w3-display.elc lisp/w3-emulate.elc lisp/w3-fast-parse.elc	     \
	lisp/w3-forms.elc lisp/w3-hot.elc lisp/w3-hotindex.elc		     \
	lisp/w3-imap.elc lisp/w3-java.elc lisp/w3-keymap.elc		     \
	lisp/w3-latex.elc lisp/w3-menu.elc lisp/w3-mouse.elc		     \
	lisp/w3-parse.elc lisp/w3-print.elc lisp/w3-props.elc		     \
	lisp/w3-speak-table.elc lisp/w3-speak.elc lisp/w3-style.elc	     \
	lisp/w3-toolbar.elc lisp/w3-vars.elc lisp/w3-widget.elc		     \
	lisp/w3-xemac.elc lisp/w3.elc

EXTRA_SOURCES = BUGS HOWTO INSTALL README README.NT README.VMS TODO \
	lisp/md5.el.upstream

DATA_FILES = stylesheet $(wildcard images/*.x?m) etc/publicsuffix.txt
DATA_DEST = $(PACKAGE)

EXPLICIT_DOCS = texi/w3-faq.txi texi/w3.txi
DOCS_TXI_EXTENSION = t

WIDGETDIR = .

AUTOLOAD_PATH = lisp

PRELOADS = -l advice -l cl-macs -l cus-face -l docomp -l url-parse.el \
	-l url-vars.el -l w3-vars.el

EXTRA_DEPENDENCIES = stylesheet

include ../../XEmacs.rules

stylesheet: etc/default.css
	rm -f stylesheet
	$(RCOPY) etc/default.css stylesheet

