/[cmucl]/src/tools/hemcom.lisp
ViewVC logotype

Contents of /src/tools/hemcom.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.19 - (hide annotations) (vendor branch)
Wed Feb 5 21:34:17 1992 UTC (22 years, 2 months ago) by ram
Changes since 1.1.1.18: +1 -0 lines
Compile tools/rcs.
1 ram 1.1.1.9 ;;;
2 ram 1.1 ;;; This file compiles all of Hemlock.
3     ;;;
4    
5 ram 1.1.1.12 #+bootstrap
6     (progn
7     (when (ext:get-command-line-switch "slave")
8     (error "Cannot compile Hemlock in a slave due to its clobbering needed
9     typescript routines by renaming the package."))
10    
11     ;;; Blast the old packages in case they are around. We do this solely to
12     ;;; prove Hemlock can compile cleanly without its having to exist already.
13     ;;;
14     (copy-packages '("ED" "HI")))
15 ram 1.1
16    
17     ;;; Stuff to set up the packages Hemlock uses.
18     ;;;
19     (in-package "HEMLOCK-INTERNALS"
20     :nicknames '("HI")
21     :use '("LISP" "EXTENSIONS" "SYSTEM"))
22 ram 1.1.1.4
23 ram 1.1 ;;;
24     (in-package "HEMLOCK"
25     :nicknames '("ED")
26     :use '("LISP" "HEMLOCK-INTERNALS" "EXTENSIONS" "SYSTEM"))
27     ;;;
28 wlott 1.1.1.7 (export 'c::compile-from-stream (find-package "C"))
29 ram 1.1.1.2
30 ram 1.1.1.4
31 ram 1.1.1.1 (in-package "USER")
32    
33 ram 1.1 (pushnew :command-bits *features*)
34     (pushnew :buffered-lines *features*)
35    
36 ram 1.1.1.18 #-clx
37     ;;; If CLX has not been loaded, but has been compiled, then load it.
38     ;;;
39     (when (probe-file (make-pathname :defaults "target:clx/defsystem"
40     :type (c:backend-fasl-file-type c:*backend*)))
41     (setf (search-list "clx:") '("target:clx/"))
42     (load "clx:defsystem")
43     (xlib::load-clx (pathname "clx:"))
44     (load "target:code/clx-ext"))
45    
46 ram 1.1.1.12 (with-compiler-log-file
47     ("target:compile-hemlock.log"
48     :optimize
49 ram 1.1.1.14 '(optimize (debug-info #-small 2 #+small .5)
50 ram 1.1.1.12 (speed 2) (inhibit-warnings 2)
51     (safety #-small 1 #+small 0))
52     :optimize-interface
53 ram 1.1.1.14 '(optimize-interface (debug-info .5))
54 ram 1.1.1.12 :context-declarations
55 ram 1.1.1.13 '(((:or :external (:match "$%SET-"))
56 ram 1.1.1.14 (declare (optimize (safety 2))
57     (optimize-interface (debug-info 1))))))
58 ram 1.1
59 ram 1.1.1.10 (comf "target:code/globals")
60     (comf "target:code/struct")
61     (comf "target:hemlock/charmacs")
62 wlott 1.1.1.17 (comf "target:hemlock/key-event" :load t)
63 ram 1.1.1.10 (comf "target:hemlock/struct")
64     ;(comf "target:hemlock/struct-ed")
65     (comf "target:hemlock/rompsite")
66 ram 1.1.1.3 ;;;
67     ;;; This is necessary since all the #k uses in Hemlock will expand into
68     ;;; EXT:MAKE-KEY-EVENT calls with keysyms and bits from the compiling Lisp, not
69     ;;; for the Lisp new code will run in. This destroys the compiling Lisp with
70     ;;; respect to running code with #k's compiled for it, but it causes the
71     ;;; compilation to see new keysyms, modifiers, and CLX modifier maps correctly
72     ;;; for the new system.
73     ;;;
74     (ext::re-initialize-key-events)
75 ram 1.1.1.10 (comf "target:hemlock/keysym-defs")
76 wlott 1.1.1.6 (comf "target:hemlock/input")
77 ram 1.1.1.10 (comf "target:hemlock/macros")
78     (comf "target:hemlock/line")
79 wlott 1.1.1.6 (comf "target:hemlock/ring")
80     (comf "target:hemlock/table")
81     (comf "target:hemlock/htext1")
82     (comf "target:hemlock/htext2")
83     (comf "target:hemlock/htext3")
84     (comf "target:hemlock/htext4")
85     (comf "target:hemlock/search1")
86     (comf "target:hemlock/search2")
87     (comf "target:hemlock/linimage")
88     (comf "target:hemlock/cursor")
89     (comf "target:hemlock/syntax")
90     (comf "target:hemlock/winimage")
91     #+clx (comf "target:hemlock/hunk-draw")
92     ;(comf "target:hemlock/bit-stream")
93     (comf "target:hemlock/termcap")
94     (comf "target:hemlock/display")
95     #+clx (comf "target:hemlock/bit-display")
96     (comf "target:hemlock/tty-disp-rt")
97 ram 1.1.1.13 (with-compilation-unit (:optimize '(optimize (safety 2) (debug-info 3)))
98     (comf "target:hemlock/tty-display")) ; Buggy...
99 wlott 1.1.1.6 ;(comf "target:hemlock/tty-stream")
100     (comf "target:hemlock/pop-up-stream")
101     (comf "target:hemlock/screen")
102     #+clx (comf "target:hemlock/bit-screen")
103     (comf "target:hemlock/tty-screen")
104     (comf "target:hemlock/window")
105     (comf "target:hemlock/font")
106     (comf "target:hemlock/interp")
107     (comf "target:hemlock/vars")
108     (comf "target:hemlock/buffer")
109     (comf "target:hemlock/files")
110     (comf "target:hemlock/streams")
111     (comf "target:hemlock/echo")
112     (comf "target:hemlock/main")
113     (comf "target:hemlock/echocoms")
114     (comf "target:hemlock/defsyn")
115 ram 1.1.1.12
116 chiles 1.1.1.16
117 ram 1.1.1.12 (with-compilation-unit
118     (:optimize
119     '(optimize (safety 2))
120     :context-declarations
121     '(((:match "-COMMAND$")
122     (declare (optimize (safety #+small 0 #-small 1))
123     (optimize-interface (safety 2))))))
124    
125 wlott 1.1.1.6 (comf "target:hemlock/command")
126     (comf "target:hemlock/morecoms")
127     (comf "target:hemlock/undo")
128     (comf "target:hemlock/killcoms")
129     (comf "target:hemlock/searchcoms")
130     (comf "target:hemlock/filecoms")
131     (comf "target:hemlock/indent")
132     (comf "target:hemlock/lispmode")
133     (comf "target:hemlock/comments")
134     (comf "target:hemlock/fill")
135     (comf "target:hemlock/text")
136     (comf "target:hemlock/doccoms")
137     (comf "target:hemlock/srccom")
138     (comf "target:hemlock/group")
139     (comf "target:hemlock/spell-rt")
140     (comf "target:hemlock/spell-corr")
141     (comf "target:hemlock/spell-aug")
142     (comf "target:hemlock/spell-build")
143     (comf "target:hemlock/spellcoms")
144     (comf "target:hemlock/abbrev")
145     (comf "target:hemlock/overwrite")
146     (comf "target:hemlock/gosmacs")
147     (comf "target:hemlock/ts-buf")
148     (comf "target:hemlock/ts-stream")
149     (comf "target:hemlock/eval-server")
150     (comf "target:hemlock/lispbuf")
151     (comf "target:hemlock/lispeval")
152     (comf "target:hemlock/kbdmac")
153     (comf "target:hemlock/icom")
154     (comf "target:hemlock/hi-integrity")
155     (comf "target:hemlock/ed-integrity")
156     (comf "target:hemlock/scribe")
157     (comf "target:hemlock/pascal")
158     (comf "target:hemlock/edit-defs")
159     (comf "target:hemlock/auto-save")
160     (comf "target:hemlock/register")
161     (comf "target:hemlock/xcoms")
162     (comf "target:hemlock/unixcoms")
163     (comf "target:hemlock/mh")
164     (comf "target:hemlock/highlight")
165     (comf "target:hemlock/dired")
166     (comf "target:hemlock/diredcoms")
167     (comf "target:hemlock/bufed")
168     (comf "target:hemlock/lisp-lib")
169     (comf "target:hemlock/completion")
170     (comf "target:hemlock/shell")
171 chiles 1.1.1.15 (comf "target:hemlock/debug")
172 chiles 1.1.1.16 (comf "target:hemlock/netnews")
173 ram 1.1.1.19 (comf "target:tools/rcs")
174 ram 1.1.1.12
175 chiles 1.1.1.16 ) ;WITH-COMPILATION-UNIT for commands
176    
177    
178 wlott 1.1.1.6 (comf "target:hemlock/bindings")
179     (comf "target:hemlock/hacks")
180 ram 1.1.1.1
181 chiles 1.1.1.16 ) ;WITH-COMPILER-LOG-FILE

  ViewVC Help
Powered by ViewVC 1.1.5