# Makefile for SEMI 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.6
MAINTAINER = Kazuhiko Kiriyama <kiri@truefc.org>
PACKAGE = semi
PKG_TYPE = regular
REQUIRES = apel xemacs-base mail-lib bbdb w3 flim
CATEGORY = standard

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

AUTOLOAD_PATH = semi

ELCS=	semi/mail-mime-setup.elc \
	semi/mime-bbdb.elc \
	semi/mime-edit.elc \
	semi/mime-image.elc \
	semi/mime-partial.elc \
	semi/mime-pgp.elc \
	semi/mime-play.elc \
	semi/mime-setup.elc \
	semi/mime-view.elc \
	semi/mime-w3.elc \
	semi/pgg-def.elc \
	semi/pgg-gpg.elc \
	semi/pgg-parse.elc \
	semi/pgg-pgp.elc \
	semi/pgg-pgp5.elc \
	semi/pgg.elc \
	semi/postpet.elc \
	semi/semi-def.elc \
	semi/semi-setup.elc \
	semi/signature.elc \
	semi/smime.elc

EXTRA_SOURCES =	semi/ChangeLog.org \
	semi/NEWS \
	semi/README.en \
	semi/SEMI-naming.ol \
	semi/TODO \
	semi/VERSION

EXPLICIT_DOCS = semi/mime-ui-en.texi

EXTRA_DOC_FILES = semi/mime-ui-en.sgml

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

EXPLICIT_DOCS += semi/mime-ui-ja.texi

EXTRA_DOC_FILES += semi/mime-ui-en.sgml
endif

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

include ../../XEmacs.rules
