(r_alloc_reinit): New function.
[emacs.git] / lisp / Makefile
blob2a6360dd33a9942091b3494d379bf87723ce2eeb
2 # Maintenance productions for the Lisp directory
4 EMACS = emacs
5 SOURCES = *.el COPYING Makefile
6 lisptagsfiles = [a-zA-Z]*.el [a-zA-Z]*/[a-zA-Z]*.el
8 dontcompilefiles: bindings.el blessmail.el bruce.el cus-load.el cus-start.el
9 dontcompilefiles: cyril-util.el forms-d2.el forms-pass.el
10 dontcompilefiles: latin-1.el latin-2.el latin-3.el latin-4.el latin-5.el
11 dontcompilefiles: loaddefs.el loadup.el mule-conf.el patcomp.el
12 dontcompilefiles: paths.el sc.el subdirs.el term-nasty.el version.el
14 doit:
16 custom-deps: doit
17 subdirs=`find . -type d -print`; \
18 for file in $$subdirs; do \
19 case $$file in */Old | */RCS) ;; \
20 *) wins="$$wins $$file" ;; \
21 esac; \
22 done; \
23 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins
25 finder-data: doit
26 subdirs=`find . -type d -print`; \
27 for file in $$subdirs; do \
28 case $$file in */Old | */RCS | */=* ) ;; \
29 *) wins="$$wins $$file" ;; \
30 esac; \
31 done; \
32 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins
34 autoloads: doit
35 subdirs=`find . -type d -print`; \
36 for file in $$subdirs; do \
37 case $$file in */Old | */RCS | */=* ) ;; \
38 *) wins="$$wins $$file" ;; \
39 esac; \
40 done; \
41 $(EMACS) -batch -f batch-update-autoloads $$wins
43 update-subdirs: doit
44 subdirs=`find . -type d -print`; \
45 for file in $$subdirs; do \
46 case $$file in */Old | */RCS | */=* ) ;; \
47 *) wins="$$wins $$file" ;; \
48 esac; \
49 done; \
50 for file in $$wins; do \
51 ../update-subdirs $$file; \
52 done;
54 updates: doit
55 subdirs=`find . -type d -print`; \
56 for file in $$subdirs; do \
57 case $$file in */Old | */RCS | */=* ) ;; \
58 *) wins="$$wins $$file" ;; \
59 esac; \
60 done; \
61 for file in $$wins; do \
62 ../update-subdirs $$file; \
63 done; \
64 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins \
65 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins \
66 $(EMACS) -batch -f batch-update-autoloads $$wins
68 TAGS: $(lisptagsfiles)
69 ../lib-src/etags $(lisptagsfiles)