|
165
|
1 # Modified by slb for integration with XEmacs.
|
|
|
2
|
|
|
3 EMACS = xemacs
|
|
|
4
|
|
|
5 OPTS = -batch -q -no-site-file
|
|
|
6
|
|
|
7 CMD = -f batch-byte-compile
|
|
|
8
|
|
|
9 PRELOADS = -l ./cc-vars.el -l ./cc-mode.el -l ./cc-menus.el -l ./cc-langs.el
|
|
|
10
|
|
|
11 .el.elc:
|
|
|
12 $(EMACS) $(OPTS) $(PRELOADS) $(CMD) $<
|
|
|
13
|
|
|
14 ALL_ELCS = \
|
|
|
15 cc-align.elc cc-auto.elc cc-cmds.elc cc-compat.elc \
|
|
|
16 cc-engine.elc cc-langs.elc cc-menus.elc cc-mode.elc \
|
|
|
17 cc-styles.elc cc-vars.elc
|
|
|
18
|
|
169
|
19 all: $(ALL_ELCS)
|
|
165
|
20
|
|
|
21 clean:
|
|
|
22 -rm $(ALL_ELCS)
|
|
169
|
23
|
|
|
24 autoloads: auto-autoloads.el
|
|
|
25
|
|
|
26 auto-autoloads.el: $(ALL_ELC:.elc=.el)
|
|
|
27 $(EMACS) -batch -q -no-site-file \
|
|
|
28 -eval '(setq autoload-target-directory "'`pwd`'/")' \
|
|
|
29 -l autoload \
|
|
|
30 -f batch-update-autoloads $?
|