Initial Commit
[packages] / xemacs-packages / w3 / lisp / descrip.mms
1 # where the w3 lisp files should go
2 prefix  = gnu_root
3 datadir = $(prefix):[lib]
4 lispdir = $(prefix):[lib.emacs.site-lisp]
5 confdir = $(prefix):[lib.emacs.w3]
6
7 EMACS = emacs
8 ECHO  = write sys$output
9 MKDIR = create/dir
10
11 ############## no user servicable parts beyond this point ###################
12 # Have to preload a few things to get a nice clean compile
13
14 EMACS     = emacs
15 WIDGETDIR = 
16
17 DEPS = -l sys$disk:[]vmsloadup.el
18
19 # compile with noninteractive and relatively clean environment
20 BATCHFLAGS = -batch -q -no-site-file
21
22 URLSOURCES = \
23         url-nfs.el url-file.el url-cookie.el url-parse.el url-irc.el    \
24         url-gopher.el url-http.el url-mail.el url-misc.el url-news.el   \
25         url-vars.el url-auth.el mm.el md5.el url-gw.el ssl.el base64.el \
26         url.el socks.el url-cache.el url-ns.el
27
28 URLOBJECTS    = $(URLSOURCES:.el=.elc)
29
30 SOURCES = \
31         mule-sysdp.el w3-widget.el devices.el w3-imap.el                \
32         css.el dsssl.el dsssl-flow.el font.el images.el w3-vars.el      \
33         w3-cus.el w3-style.el w3-keyword.el w3-forms.el w3-emulate.el   \
34         w3-props.el w3-auto.el w3-menu.el w3-mouse.el w3-toolbar.el     \
35         w3-speak.el w3-latex.el w3-parse.el w3-display.el               \
36         w3-print.el w3-about.el w3-hot.el w3-e19.el w3-xemac.el w3.el   \
37         w3-script.el w3-jscript.el w3-elisp.el w3-e20.el                \
38         auto-autoloads.el custom-load.el w3-speak-table.el
39
40 OBJECTS = $(SOURCES:.el=.elc)
41
42 AUTOSOURCES = auto-autoloads.el custom-load.el w3-auto.el
43 AUTOOBJECTS = $(AUTOSOURCES:.el=.elc)
44
45 ALLSOURCES = $(SOURCES) $(URLSOURCES) $(AUTOSOURCES)
46 ALLOBJECTS = $(OBJECTS) $(URLOBJECTS) $(AUTOOBJECTS)
47
48 # Warning!  Currently, the following file can _NOT_ be bytecompiled.
49 EXTRAS = w3-sysdp.el docomp.el
50
51 .SUFFIXES: .elc .el
52
53 .el.elc:
54         $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $(MMS$SOURCE)
55
56 all:    w3
57
58 w3:     $(SOURCES) $(EXTRAS) $(OBJECTS)
59         @echo Build of w3 complete...
60
61 fast:   $(SOURCES) $(EXTRAS)
62         $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $(SOURCES)
63
64 install: all
65         @$(ECHO) Installing in $(lispdir)
66         if f$parse("$(lispdir)") .eqs. "" then $(MKDIR) $(lispdir)
67         copy/log $(SOURCES),$(OBJECTS),$(EXTRAS) $(lispdir)
68         - purge/log $(lispdir)
69
70 distclean: clean
71         $(RM) config.* Makefile
72
73 clean:
74         $(RM) $(OBJECTS)
75
76 w3-vars.elc: w3-cus.elc w3-vars.el
77 w3-display.elc: w3-display.el css.elc font.elc w3-imap.elc
78 css.elc: css.el font.elc
79 w3.elc: css.elc w3-vars.elc w3.el
80 dsssl.elc: dsssl.el dsssl-flow.elc