Initial Commit
[packages] / xemacs-packages / Sun / Makefile.epl
1 ### Makefile --- The makefile to build EOS
2
3 ## Copyright (C) 1995 Sun Microsystems, Inc.
4
5 ## Maintainer:  Eduardo Pelegri-Llopart <eduardo.pelegri-llopart@Eng.Sun.COM>
6 ## Author:      Eduardo Pelegri-Llopart <eduardo.pelegri-llopart@Eng.Sun.COM>
7
8 ## Keywords:    SPARCworks EOS Era on SPARCworks make makefile
9
10 ### Commentary:
11
12 ## Please send feedback to eduardo.pelegri-llopart@eng.sun.com
13
14 ### Code:
15
16 # what emacs is called on your system
17 EMACS = ../../src/xemacs
18
19 # compile with noninteractive and relatively clean environment
20 BATCHFLAGS = -batch -vanilla -eval "(push \"$$(pwd)\" load-path)"
21
22 # files that contain variables and macros that everything else depends on
23 CORE = sun-eos-common.el
24
25 OBJECTS = \
26         sun-eos-browser.elc sun-eos-common.elc sun-eos-debugger-extra.elc  \
27         sun-eos-debugger.elc sun-eos-editor.elc sun-eos-init.elc \
28         sun-eos-menubar.elc sun-eos-toolbar.elc sun-eos-load.elc
29
30 SOURCES = \
31         sun-eos-browser.el sun-eos-common.el sun-eos-debugger-extra.el  \
32         sun-eos-debugger.el sun-eos-editor.el sun-eos-init.el \
33         sun-eos-menubar.el sun-eos-toolbar.el sun-eos-load.el
34
35 EXTRA = custom-load.elc
36
37 all:    $(OBJECTS)
38
39 clean:
40         rm -f $(OBJECTS)
41
42 custom-load.elc: auto-autoloads.el
43         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile custom-load.el
44
45 sun-eos-browser.elc: sun-eos-browser.el $(CORE)
46         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-browser.el
47
48 sun-eos-debugger.elc: sun-eos-debugger.el $(CORE)
49         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-debugger.el
50
51 sun-eos-debugger-extra.elc: sun-eos-debugger-extra.el $(CORE)
52         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-debugger-extra.el
53
54 sun-eos-editor.elc: sun-eos-editor.el $(CORE)
55         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-editor.el
56
57 sun-eos-toolbar.elc: sun-eos-toolbar.el $(CORE)
58         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-toolbar.el
59
60 sun-eos-menubar.elc: sun-eos-menubar.el $(CORE)
61         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-menubar.el
62
63 sun-eos-common.elc: sun-eos-common.el
64         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-common.el
65
66 sun-eos-init.elc: sun-eos-init.el
67         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-init.el
68
69 sun-eos-load.elc: sun-eos-load.el
70         ${EMACS} ${BATCHFLAGS} -f batch-byte-compile sun-eos-load.el
71
72 autoloads: custom-load.el
73
74 custom-load.el: $(SOURCES)
75         $(EMACS) -batch -q -no-site-file \
76                 -eval '(setq autoload-target-directory "'`pwd`'/")' \
77                 -l autoload \
78                 -f batch-update-autoloads $?
79
80 ### Makefile ends here