# Makefile for FLIM 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.10
AUTHOR_VERSION = 1.14.9
MAINTAINER = Kazuhiko Kiriyama <kiri@truefc.org>
PACKAGE = flim
PKG_TYPE = regular
REQUIRES = apel xemacs-base mail-lib
CATEGORY = standard

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

AUTOLOAD_PATH = flim

ELCS =	flim/eword-decode.elc \
	flim/eword-encode.elc \
	flim/hex-util.elc \
	flim/hmac-def.elc \
	flim/hmac-md5.elc \
	flim/hmac-sha1.elc \
	flim/luna.elc \
	flim/lunit.elc \
	flim/md4.elc \
	flim/md5.elc \
	flim/mel-b-ccl.elc \
	flim/mel-b-el.elc \
	flim/mel-g.elc \
	flim/mel-q-ccl.elc \
	flim/mel-q.elc \
	flim/mel-u.elc \
	flim/mel.elc \
	flim/mime-conf.elc \
	flim/mime-def.elc \
	flim/mime-parse.elc \
	flim/mime.elc \
	flim/mmbuffer.elc \
	flim/mmcooked.elc \
	flim/mmexternal.elc \
	flim/mmgeneric.elc \
	flim/ntlm.elc \
	flim/qmtp.elc \
	flim/sasl-cram.elc \
	flim/sasl-digest.elc \
	flim/sasl-ntlm.elc \
	flim/sasl-scram.elc \
	flim/sasl.elc \
	flim/sha1-el.elc \
	flim/sha1.elc \
	flim/smtp.elc \
	flim/std11.elc
EXTRA_SOURCES =	flim/ChangeLog.org \
	flim/FLIM-API.en \
	flim/Makefile \
	flim/NEWS \
	flim/README.en \
	flim/VERSION

EXPLICIT_DOCS = flim/mime-en.texi

EXTRA_DOC_FILES = flim/mime-en.sgml

ifeq ($(BUILD_WITHOUT_MULE),)
COMPILE_INFO_AS_MULE = t
EXTRA_SOURCES += flim/README.ja

EXPLICIT_DOCS	+= flim/mime-ja.texi

EXTRA_DOC_FILES += flim/mime-ja.sgml
endif

PRELOADS = -eval '(setq load-path (append (list "./flim") load-path))' -l FLIM-MK -f compile-flim-package NONE \#

include ../../XEmacs.rules
