# Makefile for apel 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., 51 Franklin St, Fifth Floor,
# Boston, MA  02110-1301  USA

VERSION = 1.37
AUTHOR_VERSION = 10.8
MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
PACKAGE = apel
PKG_TYPE = regular
REQUIRES = fsf-compat xemacs-base
CATEGORY = standard

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

AUTOLOAD_PATH = apel

ELCS =	apel/alist.elc \
	apel/apel-ver.elc \
	apel/broken.elc \
	apel/calist.elc \
	apel/emu.elc \
	apel/filename.elc \
	apel/install.elc \
	apel/inv-xemacs.elc \
	apel/invisible.elc \
	apel/mcharset.elc \
	apel/mule-caesar.elc \
	apel/path-util.elc \
	apel/pccl-20.elc \
	apel/pccl.elc \
	apel/pces.elc \
	apel/pces-20.elc \
	apel/pces-xfc.elc \
	apel/pcustom.elc \
	apel/poe-xemacs.elc \
	apel/poe.elc \
	apel/poem.elc \
	apel/product.elc \
	apel/pym.elc \
	apel/richtext.elc \
	apel/static.elc \
	apel/timezone.elc \
	apel/pces-raw.elc

## The following files are no longer in upstream apel, but tm needs them.
#ELCS +=	apel/std11.elc \
#	apel/std11-parse.elc

## The following files are considered obsolete, but bbdb-rmail needs them.
#ELCS +=	apel/atype.elc \
#	apel/file-detect.elc

## The following files are only needed for non-MULE XEmacsen.
ELCS +=	apel/poem-ltn1.elc \
	apel/mcs-ltn1.elc

EXTRA_SOURCES =	ChangeLog.upstream \
		apel/ChangeLog.org \
		apel/README.en

ifeq ($(BUILD_WITHOUT_MULE),)
ELCS +=	apel/mcs-20.elc \
	apel/poem-e20.elc \
	apel/poem-xm.elc \
	apel/pces-xm.elc \
	apel/mcs-xm.elc \
	apel/mcs-xmu.elc
EXTRA_SOURCES += apel/README.ja
endif

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

include ../../XEmacs.rules
