annotate src/Make_sas.mak @ 331:3933332f867d

updated for version 7.0086
author vimboss
date Thu, 16 Jun 2005 21:52:47 +0000
parents 7fd4b5df33be
children eb531146be0e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # vim: set ft=make :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for VIM on the Amiga, using SAS/Lattice C 6.0 to 6.58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Do NOT use the peephole optimizer with a version before 6.56!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # It messes up all kinds of things:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 # For 6.0 and 6.1, expand_env() will not work correctly.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 # For 6.2 and 6.3 the call to free_line in u_freeentry is wrong.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # The "read.me" file for version 6.56 includes a remark about a fix for the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # peephole optimizer. Everything before 6.56 will probably fail.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # You should use Manx Aztec C whenever possible, because it has been tested.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # The prototypes from Manx and SAS are incompatible. If the prototypes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 # were generated by Manx, first do "touch *.c; make proto" before "make".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 # The prototypes generated on Unix work for both.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 # Note: Not all dependencies are included. This was done to avoid having
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 # to compile everything when a global variable or function is added.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #>>>>> choose options:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 ### See feature.h for a list of optionals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 ### Any other defines can be included here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # NO_ARP Don't include ARP functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # SASC=658 Sas/C version number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 # NEWSASC fixes a bug in the syntax highlighting?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 DEFINES = DEF=NO_ARP DEF=NEWSASC DEF="SASC=658"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 #>>>>> if HAVE_TGETENT is defined termlib.o has to be used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 #TERMLIB = termlib.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 TERMLIB =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 #>>>>> choose NODEBUG for normal compiling, the other for debugging and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 # profiling
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 # don't switch on debugging when generating proto files, it crashes the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # compiler.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 DBG = NODEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 #DBG = DBG=SF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 #>>>>> choose NOOPTPEEP for 6.0 to 6.3, NOOPT for debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 # with version 6.56 and later you can probably use OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 OPTIMIZE = OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 #OPTIMIZE = NOOPTPEEP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 #OPTIMIZE = NOOPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 # for 6.58 you can use the line below, but be warned it takes a loooonnnggg time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 #OPTIMIZE=OPT OPTIMIZERSCHEDULER OPTIMIZERTIME NoOPTIMIZERALIAS \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 OptimizerComplexity=10 OptimizerDepth=10 OptimizerRecurDepth=10 \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 OptimizerInLocal OPTPEEP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 #generate code for your processor - 68060 will work for 040's as well.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 CPU=68000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 #CPU=68020
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 #CPU=68030
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 #CPU=68040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 #CPU=68060
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 #Error reporting - rexx or console
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 ERROR = ERRORCONSOLE ERRORSOURCE ERRORHIGHLIGHT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 #ERROR = ERRORREXX ERRORCONSOLE ERRORSOURCE ERRORHIGHLIGHT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 #memory types, if you have fast use it :->,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # ANY = will work on all machines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 # FAST = this is the best option, for speed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 #MEMORYTYPE=FAST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 MEMORYTYPE=ANY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 #MEMSIZE - this is for compile time only for speed of compilation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 #MEMSIZE=HUGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 MEMSIZE=LARGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 #MEMSIZE=SMALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 #>>>>> end of choices
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 CC = sc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 GST = vim.gst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 COPTS = SINT SCODE SDATA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 SHELL = csh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 DEL = $(SHELL) -c rm -f
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 # ignore error messages for uninitialized variables, they are mostly not correct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 CFLAGS = NOLINK $(DBG) CPU=$(CPU) NOSTACKCHECK DEF=AMIGA CODE=FAR idir=proto ignore=317
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 CFLAGS2 = $(OPTIMIZE) $(ERROR) GSTIMMEDIATE GST=$(GST)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 CFLAGS3 = $(COPTS) STRINGMERGE MEMSIZE=$(MEMSIZE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 CFLAGS4 = $(DEFINES) DATAMEMORY=$(MEMORYTYPE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 PROPT = DEF=PROTO GPROTO GPPARM MAXIMUMERRORS=999 GENPROTOSTATICS GENPROTOPARAMETERS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 SRC = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 buffer.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 charset.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 diff.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 digraph.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 edit.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 eval.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 ex_cmds.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 ex_cmds2.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 ex_docmd.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 ex_eval.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 ex_getln.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 fileio.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 fold.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 getchar.c \
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
106 hashtable.c \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 main.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 mark.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 memfile.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 memline.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 menu.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 message.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 misc1.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 misc2.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 move.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 mbyte.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 normal.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 ops.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 option.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 os_amiga.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 quickfix.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 regexp.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 screen.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 search.c \
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
125 spell.c \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syntax.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 tag.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 term.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 ui.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 undo.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 window.c \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 version.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 OBJ = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 buffer.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 charset.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 diff.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 digraph.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 edit.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 ex_cmds.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 ex_cmds2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 ex_docmd.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 ex_eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 ex_getln.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 fileio.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 fold.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 getchar.o \
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
149 hashtable.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 main.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 mark.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 memfile.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 memline.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 menu.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 message.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 misc1.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 misc2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 move.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 mbyte.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 normal.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 ops.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 option.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 os_amiga.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 quickfix.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 regexp.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 screen.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 search.o \
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
168 spell.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syntax.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 tag.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 term.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 ui.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 undo.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 window.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 $(TERMLIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 PRO = \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 proto/buffer.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 proto/charset.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 proto/diff.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 proto/digraph.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 proto/edit.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 proto/eval.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 proto/ex_cmds.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 proto/ex_cmds2.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 proto/ex_docmd.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 proto/ex_eval.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 proto/ex_getln.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 proto/fileio.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 proto/fold.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 proto/getchar.pro \
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
192 proto/hashtable.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 proto/main.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 proto/mark.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 proto/memfile.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 proto/memline.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 proto/menu.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 proto/message.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 proto/misc1.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 proto/misc2.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 proto/move.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 proto/mbyte.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 proto/normal.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 proto/ops.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 proto/option.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 proto/os_amiga.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 proto/quickfix.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 proto/regexp.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 proto/screen.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 proto/search.pro \
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
211 proto/spell.pro \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 proto/syntax.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 proto/tag.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 proto/term.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 proto/termlib.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 proto/ui.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 proto/undo.pro \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 proto/window.pro
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 all: proto Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 Vim: scoptions $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 $(CC) $(CFLAGS) version.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 $(CC) LINK $(COPTS) $(OBJ) version.o $(DBG) PNAME=Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 debug: scoptions $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 $(CC) $(CFLAGS) version.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 $(CC) LINK $(COPTS) $(OBJ) version.o $(DBG) PNAME=Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 proto: $(GST) $(PRO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 tags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 spat ctags $(SRC) *.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 # csh -c ctags $(SRC) *.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 # can't use delete here, too many file names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 $(DEL) *.o Vim $(GST)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 # generate GlobalSymbolTable, which speeds up the compile time.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 # A preprocessing stage is used to work arounda bug in the GST generator, in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 # that it does not handle nested makefiles properly in this stage.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 # Ignore error message for not producing any code (105).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 $(GST): scoptions vim.h keymap.h macros.h ascii.h term.h structs.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 $(CC) $(CFLAGS) PREPROCESSORONLY vim.h objectname pre.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 $(CC) MGST=$(GST) pre.h ignore=105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 $(DEL) pre.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 # generate an options file, because SAS/C smake can't handle the amiga command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 # line can handle the lengths that this makefile will impose on the shell.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # (Manx's make can do this).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 scoptions: Make_sas.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 @echo "Generating - $@ ..."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 @echo $(CFLAGS) > scoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 @echo $(CFLAGS1) >> scoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 @echo $(CFLAGS2) >> scoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 @echo $(CFLAGS3) >> scoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 @echo $(CFLAGS4) >> scoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 @echo $(COPTS) >>scoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 @echo done
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 $(OBJ): $(GST) vim.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 $(PRO): $(GST) vim.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 .c.o:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 $(CC) $(CFLAGS) $*.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 .c.pro:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 $(CC) $(CFLAGS) GPFILE=proto/$*.pro $(PROPT) $*.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 # dependancies
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 buffer.o: buffer.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 proto/buffer.pro: buffer.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 charset.o: charset.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 proto/charset.pro: charset.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 diff.o: diff.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 proto/diff.pro: diff.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 digraph.o: digraph.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 proto/digraph.pro: digraph.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 edit.o: edit.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 proto/edit.pro: edit.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 eval.o: eval.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 proto/eval.pro: eval.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 ex_cmds.o: ex_cmds.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 proto/ex_cmds.pro: ex_cmds.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 ex_cmds2.o: ex_cmds2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 proto/ex_cmds2.pro: ex_cmds2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 ex_docmd.o: ex_docmd.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 proto/ex_docmd.pro: ex_docmd.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 ex_eval.o: ex_eval.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 proto/ex_eval.pro: ex_eval.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 ex_getln.o: ex_getln.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 proto/ex_getln.pro: ex_getln.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 fileio.o: fileio.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 proto/fileio.pro: fileio.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 fold.o: fold.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 proto/fold.pro: fold.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 getchar.o: getchar.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 proto/getchar.pro: getchar.c
119
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
303 hashtable.o: hashtable.c
e8f07016e34d updated for version 7.0042
vimboss
parents: 7
diff changeset
304 proto/hashtable.pro: hashtable.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 main.o: main.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 proto/main.pro: main.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 mark.o: mark.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 proto/mark.pro: mark.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 memfile.o: memfile.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 proto/memfile.pro: memfile.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 memline.o: memline.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 proto/memline.pro: memline.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 menu.o: menu.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 proto/menu.pro: menu.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 message.o: message.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 proto/message.pro: message.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 misc1.o: misc1.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 proto/misc1.pro: misc1.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 misc2.o: misc2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 proto/misc2.pro: misc2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 move.o: move.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 proto/move.pro: move.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 mbyte.o: mbyte.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 proto/mbyte.pro: mbyte.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 normal.o: normal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 proto/normal.pro: normal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 ops.o: ops.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 proto/ops.pro: ops.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 option.o: option.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 proto/option.pro: option.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 os_amiga.o: os_amiga.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 proto/os_amiga.pro: os_amiga.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 quickfix.o: quickfix.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 proto/quickfix.pro: quickfix.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 regexp.o: regexp.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 proto/regexp.pro: regexp.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 screen.o: screen.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 proto/screen.pro: screen.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 search.o: search.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 proto/search.pro: search.c
221
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
341 spell.o: spell.c
7fd4b5df33be updated for version 7.0062
vimboss
parents: 119
diff changeset
342 proto/spell.pro: spell.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 syntax.o: syntax.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 proto/syntax.pro: syntax.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 tag.o: tag.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 proto/tag.pro: tag.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 term.o: term.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 proto/term.pro: term.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 termlib.o: termlib.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 proto/termlib.pro: termlib.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 ui.o: ui.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 proto/ui.pro: ui.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 undo.o: undo.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 proto/undo.pro: undo.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 window.o: window.c