1. xemacs
  2. bbdb


bbdb / Makefile

# Makefile for bbdb 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.02
MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
PACKAGE = bbdb
PKG_TYPE = regular
REQUIRES = bbdb edit-utils gnus mh-e rmail supercite vm tm apel mail-lib xemacs-base

ELCS = lisp/bbdb-com.elc lisp/bbdb-ftp.elc lisp/bbdb-gnus.elc \
	lisp/bbdb-hooks.elc lisp/bbdb-mhe.elc lisp/bbdb-migrate.elc \
	lisp/bbdb-print.elc lisp/bbdb-reportmail.elc lisp/bbdb-rmail.elc \
	lisp/bbdb-sc.elc lisp/bbdb-snarf.elc lisp/bbdb-srv.elc \
	lisp/bbdb-vm.elc lisp/bbdb-w3.elc lisp/bbdb-whois.elc \
	lisp/bbdb-xemacs.elc lisp/bbdb.elc

DATA_FILES = $(shell echo utils/*.?l)
INFO_FILES = texinfo/$(PACKAGE).info*
TEXI_FILES = texinfo/$(PACKAGE).texinfo
MANUAL = bbdb

include ../../XEmacs.rules

GENERATED = lisp/auto-autoloads.elc lisp/custom-load.elc

all:: lisp/auto-autoloads.el $(ELCS) lisp/auto-autoloads.elc \
	lisp/custom-load.elc texinfo/bbdb.info

	rm -f texi/*.info*

texinfo/bbdb.info: texinfo/bbdb.texinfo
	(cd texinfo; $(MAKEINFO) -o bbdb.info bbdb.texinfo)

lisp/auto-autoloads.el: $(ELC:.elc=.el) _pkg.el
	$(RCOPY) _pkg.el lisp
	$(XEMACS) -batch -vanilla \
		-eval "(setq autoload-package-name \"$(PACKAGE)\")" \
		-l autoload -f batch-update-directory lisp

lisp/custom-load.el: $(ELC:.elc=.el)
	$(XEMACS) -batch -vanilla -l cus-dep \
		-f Custom-make-dependencies lisp

.PHONY: srckit

	@echo "You cannot build a source package for bbdb"

binkit: binkit-sourcedatainfo