# Maintenance productions for the Lisp directory
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-# 2009 Free Software Foundation, Inc.
+# 2009, 2010 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
lisptagsfiles1 = $(lisp)/*.el
lisptagsfiles2 = $(lisp)/*/*.el
lisptagsfiles3 = $(lisp)/*/*/*.el
+lisptagsfiles4 = $(lisp)/*/*/*/*.el
ETAGS = ../lib-src/etags
# Automatically generated autoload files, apart from lisp/loaddefs.el.
finder-inf.el \
subdirs.el \
calc/calc-loaddefs.el \
- eshell/esh-groups.el
+ eshell/esh-groups.el \
+ cedet/semantic/loaddefs.el \
+ cedet/ede/loaddefs.el \
+ cedet/srecode/loaddefs.el
# Files to compile before others during a bootstrap. This is done to
# speed up the bootstrap process.
updates: update-subdirs autoloads finder-data custom-deps
-# This is useful after "cvs up".
-cvs-update: recompile autoloads finder-data custom-deps
+# This is useful after "bzr up".
+bzr-update: recompile autoloads finder-data custom-deps
+
+# For backwards compatibility:
+cvs-update: bzr-update
# Update the AUTHORS file.
update-authors:
$(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
-TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3)
- els=`echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
+TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
+ els=`echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
${ETAGS} -o $@ $$els
.PHONY: update-elclist
update-elclist:
echo "/^ELCFILES/,/^$$/c\\" > temp.sed
echo "ELCFILES =" | sed -e 's/$$/ \\\\\\/' >> temp.sed
- LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc | sed -e "s|^$(lisp)| \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
+ LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc | sed -e "s|^$(lisp)| \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
echo "" >> temp.sed
-sed -f temp.sed $(lisp)/Makefile.in > temp-elcfiles || rm temp-elcfiles
rm temp.sed
chmod +w $(lisp)/Makefile.in; \
mv -f temp-elcfiles $(lisp)/Makefile.in; \
fi
- -(COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc | sed 's/elc$$/el/'; \
- COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el; \
- COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el) | \
+ -(LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc | sed 's/elc$$/el/'; \
+ LC_COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el $(lisp)/*/*/*/*.el; \
+ LC_COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el $(lisp)/*/*/*/*.el) | \
sort | uniq -u | while read extra; do \
echo "Found left over byte-compiled file: $${extra}c !!" ;\
done
$(lisp)/cedet/ede/proj-shared.elc \
$(lisp)/cedet/ede/proj.elc \
$(lisp)/cedet/ede/project-am.elc \
+ $(lisp)/cedet/ede/shell.elc \
$(lisp)/cedet/ede/simple.elc \
$(lisp)/cedet/ede/source.elc \
$(lisp)/cedet/ede/speedbar.elc \
$(lisp)/cedet/pulse.elc \
$(lisp)/cedet/semantic.elc \
$(lisp)/cedet/semantic/analyze.elc \
+ $(lisp)/cedet/semantic/analyze/complete.elc \
+ $(lisp)/cedet/semantic/analyze/debug.elc \
+ $(lisp)/cedet/semantic/analyze/fcn.elc \
+ $(lisp)/cedet/semantic/analyze/refs.elc \
$(lisp)/cedet/semantic/bovine.elc \
+ $(lisp)/cedet/semantic/bovine/c-by.elc \
+ $(lisp)/cedet/semantic/bovine/c.elc \
+ $(lisp)/cedet/semantic/bovine/debug.elc \
+ $(lisp)/cedet/semantic/bovine/el.elc \
+ $(lisp)/cedet/semantic/bovine/gcc.elc \
+ $(lisp)/cedet/semantic/bovine/make-by.elc \
+ $(lisp)/cedet/semantic/bovine/make.elc \
+ $(lisp)/cedet/semantic/bovine/scm-by.elc \
+ $(lisp)/cedet/semantic/bovine/scm.elc \
$(lisp)/cedet/semantic/chart.elc \
$(lisp)/cedet/semantic/complete.elc \
$(lisp)/cedet/semantic/ctxt.elc \
$(lisp)/cedet/semantic/db.elc \
$(lisp)/cedet/semantic/debug.elc \
$(lisp)/cedet/semantic/decorate.elc \
+ $(lisp)/cedet/semantic/decorate/include.elc \
+ $(lisp)/cedet/semantic/decorate/mode.elc \
$(lisp)/cedet/semantic/dep.elc \
$(lisp)/cedet/semantic/doc.elc \
$(lisp)/cedet/semantic/ede-grammar.elc \
$(lisp)/cedet/semantic/senator.elc \
$(lisp)/cedet/semantic/sort.elc \
$(lisp)/cedet/semantic/symref.elc \
+ $(lisp)/cedet/semantic/symref/cscope.elc \
+ $(lisp)/cedet/semantic/symref/filter.elc \
+ $(lisp)/cedet/semantic/symref/global.elc \
+ $(lisp)/cedet/semantic/symref/grep.elc \
+ $(lisp)/cedet/semantic/symref/idutils.elc \
+ $(lisp)/cedet/semantic/symref/list.elc \
$(lisp)/cedet/semantic/tag-file.elc \
$(lisp)/cedet/semantic/tag-ls.elc \
$(lisp)/cedet/semantic/tag-write.elc \
$(lisp)/cedet/semantic/util-modes.elc \
$(lisp)/cedet/semantic/util.elc \
$(lisp)/cedet/semantic/wisent.elc \
+ $(lisp)/cedet/semantic/wisent/comp.elc \
+ $(lisp)/cedet/semantic/wisent/java-tags.elc \
+ $(lisp)/cedet/semantic/wisent/javascript.elc \
+ $(lisp)/cedet/semantic/wisent/javat-wy.elc \
+ $(lisp)/cedet/semantic/wisent/js-wy.elc \
+ $(lisp)/cedet/semantic/wisent/python-wy.elc \
+ $(lisp)/cedet/semantic/wisent/python.elc \
+ $(lisp)/cedet/semantic/wisent/wisent.elc \
$(lisp)/cedet/srecode.elc \
$(lisp)/cedet/srecode/args.elc \
$(lisp)/cedet/srecode/compile.elc \
$(lisp)/emacs-lisp/generic.elc \
$(lisp)/emacs-lisp/gulp.elc \
$(lisp)/emacs-lisp/helper.elc \
- $(lisp)/emacs-lisp/levents.elc \
$(lisp)/emacs-lisp/lisp-mnt.elc \
$(lisp)/emacs-lisp/lisp-mode.elc \
$(lisp)/emacs-lisp/lisp.elc \
$(lisp)/emacs-lisp/lmenu.elc \
- $(lisp)/emacs-lisp/lucid.elc \
$(lisp)/emacs-lisp/macroexp.elc \
$(lisp)/emacs-lisp/map-ynp.elc \
$(lisp)/emacs-lisp/pp.elc \
$(lisp)/follow.elc \
$(lisp)/font-core.elc \
$(lisp)/font-lock.elc \
+ $(lisp)/font-setting.elc \
$(lisp)/format-spec.elc \
$(lisp)/format.elc \
$(lisp)/forms.elc \
$(lisp)/help.elc \
$(lisp)/hex-util.elc \
$(lisp)/hexl.elc \
+ $(lisp)/hfy-cmap.elc \
$(lisp)/hi-lock.elc \
$(lisp)/hilit-chg.elc \
$(lisp)/hippie-exp.elc \
$(lisp)/hl-line.elc \
+ $(lisp)/htmlfontify.elc \
$(lisp)/ibuf-ext.elc \
$(lisp)/ibuf-macs.elc \
$(lisp)/ibuffer.elc \
$(lisp)/international/latexenc.elc \
$(lisp)/international/latin1-disp.elc \
$(lisp)/international/mule-cmds.elc \
+ $(lisp)/international/mule-conf.elc \
$(lisp)/international/mule-diag.elc \
$(lisp)/international/mule-util.elc \
$(lisp)/international/mule.elc \
$(lisp)/mouse-drag.elc \
$(lisp)/mouse-sel.elc \
$(lisp)/mouse.elc \
+ $(lisp)/mpc.elc \
$(lisp)/msb.elc \
$(lisp)/mwheel.elc \
$(lisp)/net/ange-ftp.elc \
$(lisp)/obsolete/iso-insert.elc \
$(lisp)/obsolete/iso-swed.elc \
$(lisp)/obsolete/lazy-lock.elc \
+ $(lisp)/obsolete/levents.elc \
+ $(lisp)/obsolete/lucid.elc \
$(lisp)/obsolete/old-whitespace.elc \
$(lisp)/obsolete/options.elc \
$(lisp)/obsolete/resume.elc \
$(lisp)/obsolete/sc.elc \
$(lisp)/obsolete/scribe.elc \
$(lisp)/obsolete/swedish.elc \
+ $(lisp)/obsolete/sym-comp.elc \
$(lisp)/obsolete/vc-mcvs.elc \
$(lisp)/obsolete/x-menu.elc \
$(lisp)/org/org-agenda.elc \
$(lisp)/org/org-clock.elc \
$(lisp)/org/org-colview.elc \
$(lisp)/org/org-compat.elc \
+ $(lisp)/org/org-crypt.elc \
+ $(lisp)/org/org-datetree.elc \
$(lisp)/org/org-docbook.elc \
$(lisp)/org/org-exp-blocks.elc \
$(lisp)/org/org-exp.elc \
$(lisp)/org/org-faces.elc \
$(lisp)/org/org-feed.elc \
$(lisp)/org/org-footnote.elc \
+ $(lisp)/org/org-freemind.elc \
$(lisp)/org/org-gnus.elc \
+ $(lisp)/org/org-habit.elc \
$(lisp)/org/org-html.elc \
$(lisp)/org/org-icalendar.elc \
$(lisp)/org/org-id.elc \
$(lisp)/org/org-macs.elc \
$(lisp)/org/org-mew.elc \
$(lisp)/org/org-mhe.elc \
+ $(lisp)/org/org-mobile.elc \
$(lisp)/org/org-mouse.elc \
$(lisp)/org/org-plot.elc \
$(lisp)/org/org-protocol.elc \
$(lisp)/progmodes/cc-menus.elc \
$(lisp)/progmodes/cc-mode.elc \
$(lisp)/progmodes/cc-styles.elc \
- $(lisp)/progmodes/cc-subword.elc \
$(lisp)/progmodes/cc-vars.elc \
$(lisp)/progmodes/cfengine.elc \
$(lisp)/progmodes/cmacexp.elc \
$(lisp)/progmodes/f90.elc \
$(lisp)/progmodes/flymake.elc \
$(lisp)/progmodes/fortran.elc \
- $(lisp)/progmodes/gdb-mi.elc \
+ $(lisp)/progmodes/gdb-ui.elc \
$(lisp)/progmodes/glasses.elc \
$(lisp)/progmodes/grep.elc \
$(lisp)/progmodes/gud.elc \
$(lisp)/progmodes/sh-script.elc \
$(lisp)/progmodes/simula.elc \
$(lisp)/progmodes/sql.elc \
- $(lisp)/progmodes/sym-comp.elc \
+ $(lisp)/progmodes/subword.elc \
$(lisp)/progmodes/tcl.elc \
$(lisp)/progmodes/vera-mode.elc \
$(lisp)/progmodes/verilog-mode.elc \
# the most common problems of not bootstrapping from a clean state.
compile-onefile:
@echo Compiling $(THEFILE)
- @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
+ @# Use byte-compile-refresh-preloaded to try and work around some of
+ @# the most common bootstrapping problems.
+ @$(emacs) -l bytecomp -f byte-compile-refresh-preloaded $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
# Files MUST be compiled one by one. If we compile several files in a
# row (i.e., in the same instance of Emacs) we can't make sure that
# unconditionally. Some files don't actually get compiled because they
# set the local variable no-byte-compile.
compile-always: doit
- cd $(lisp); rm -f *.elc */*.elc */*/*.elc
+ cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
$(MAKE) $(MFLAGS) compile EMACS=$(EMACS)
## In case any files are missing from ELCFILES.
-## Why is the UnicodeData check needed, when these files are no-byte-compile?
compile-last:
@wd=$(lisp); $(setwins); \
els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
for el in $$els; do \
test -f $$el || continue; \
test -f $${el}c && continue; \
- grep 'no-byte-compile: t' $$el > /dev/null && continue; \
- head -n 1 $$el | grep '^;; Automatically generated from UnicodeData.txt.' > /dev/null && continue; \
+ GREP_OPTIONS= grep 'no-byte-compile: t' $$el > /dev/null && continue; \
sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \
echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \
echo "Compiling $$el"; \
backup-compiled-files:
-mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
- -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc
+ -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc
# Compile Lisp files, but save old compiled files first.
# file, we don't want to store it in the source repository).
bootstrap-clean:
- cd $(lisp); rm -f *.elc */*.elc */*/*.elc $(AUTOGENEL)
+ cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
distclean:
-rm -f ./Makefile
$(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\
$(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\
$(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\
- $(lisp)/progmodes/cc-subword.elc $(lisp)/progmodes/cc-vars.elc: \
+ $(lisp)/progmodes/cc-vars.elc: \
$(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc
$(lisp)/progmodes/cc-align.elc: \
$(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
$(lisp)/progmodes/cc-align.elc
-$(lisp)/progmodes/cc-subword.elc: $(lisp)/progmodes/cc-cmds.elc
-
$(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc
# MH-E dependencies, mainly to prevent failures with parallel