Source

leim / Makefile

# Makefile for LEIM/Quail 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.18
AUTHOR_VERSION =
MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
PACKAGE = leim
PKG_TYPE = regular
REQUIRES = mule-base fsf-compat xemacs-base
CATEGORY = mule

ELCS = quail.elc leim-list.elc
ELCS_1 = quail/4Corner.elc quail/ARRAY30.elc quail/CCDOSPY.elc \
	quail/CTLau.elc quail/CTLauB.elc quail/ECDICT.elc quail/ETZY.elc \
	quail/PY-b5.elc quail/PY.elc quail/Punct-b5.elc quail/Punct.elc \
	quail/QJ-b5.elc quail/QJ.elc quail/SW.elc quail/TONEPY.elc \
	quail/ZIRANMA.elc quail/ZOZY.elc quail/czech.elc quail/cyril-jis.elc \
	quail/cyrillic.elc quail/greek.elc quail/hangul.elc \
	quail/hangul3.elc quail/hanja-jis.elc quail/hanja.elc quail/ipa.elc \
	quail/latin-alt.elc quail/latin-post.elc quail/latin-pre.elc \
	quail/py-punct.elc quail/pypunct-b5.elc quail/quick-b5.elc \
	quail/quick-cns.elc quail/symbol-ksc.elc quail/thai-xtis.elc \
	quail/tsang-b5.elc quail/tsang-cns.elc quail/croatian.elc

ELCS_1_FILES = $(ELCS_1) $(ELCS_1:.elc=.el)
ELCS_1_DEST = $(PACKAGE)/quail

EXTRA_OBJS = $(ELCS_1)
# EXTRA_SOURCES = quail

SOURCES = $(EXTRA_SOURCES) ChangeLog auto-autoloads.el auto-autoloads.elc \
	_pkg.el
BASE_FILES = $(BASE_ELCS) $(BASE_ELCS:.elc=.el)
QUAIL_FILES = $(QUAIL_ELCS) $(QUAIL_ELCS:.elc=.el)

include ../../XEmacs.rules

ifeq ($(BUILD_WITHOUT_MULE),)

all:: $(ELCS) $(ELCS_1) auto-autoloads.elc

srckit: srckit-std

binkit: binkit-common
#binkit: all
#	-rm -rf $(STAGING)/lisp/$(PACKAGE)
#	-mkdir -p $(STAGING)/lisp/$(PACKAGE)/quail
#	-rm -f $(STAGING)/$(MANIFEST)
#	-mkdir -p $(STAGING)/pkginfo
#	-touch $(STAGING)/$(MANIFEST)
#	$(RCOPY) $(SOURCES) $(BASE_FILES) $(STAGING)/lisp/$(PACKAGE)
#	$(RCOPY) $(QUAIL_FILES)	$(STAGING)/lisp/$(PACKAGE)/quail
#	(cd $(STAGING); \
#	rm -f $(PACKAGE)-$(VERSION)-pkg.tar*; \
#	ls -1 $(MANIFEST) \
#		$(patsubst %, lisp/$(PACKAGE)/%, $(SOURCES)) \
#		$(patsubst %, lisp/$(PACKAGE)/%, $(BASE_FILES)) \
#		$(patsubst %, lisp/$(PACKAGE)/quail/%, $(notdir $(QUAIL_FILES))) \
#		> $(MANIFEST); \
#	$(TAR) $(EXCLUDES) -cf $(PACKAGE)-$(VERSION)-pkg.tar \
#		$(MANIFEST) lisp/$(PACKAGE); \
#	gzip -v9 $(PACKAGE)-$(VERSION)-pkg.tar)


else
all::
	@echo This Package requires XEmacs/Mule to build

# Two noops
srckit:
binkit:

endif