annotate src/Make_bc3.mak @ 7867:3b79ecd05a51

Added tag v7.4.1230 for changeset 30a9f5fc3508e60c66993b2977a59bedc94cd2ec
author Christian Brabandt <cb@256bit.org>
date Mon, 01 Feb 2016 21:45:06 +0100
parents bce3b5ddb393
children
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 # Makefile for Borland C++ 3.1 or 4.0 to compile a 16 bit version of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 #
7435
a4b4cbf8d044 commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents: 6126
diff changeset
3 # NOTE: THIS IS OLD AND PROBABLY NO LONGER WORKS.
a4b4cbf8d044 commit https://github.com/vim/vim/commit/17b609ed7f3d718e233a561f792f7473e48b0aaa
Christian Brabandt <cb@256bit.org>
parents: 6126
diff changeset
4 #
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # There are compilation options at the end of this file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 # Command line variables:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # BOR path to root of Borland C (E:\BORLANDC)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # DEBUG set to "yes" for debugging (no)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # SPAWNO path to the spawno library directory, empty if you do not have
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # it; use 8.3 filenames! (C:\CC\SPAWN)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 .AUTODEPEND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 !ifndef BOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 BOR = E:\BORLANDC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 !if ("$(DEBUG)" == "yes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 DEBUG_FLAG = -v
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 DEBUG_FLAG =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 CC = $(BOR)\bin\bcc.exe +VIM.CFG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 TLINK = $(BOR)\bin\tlink.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 !ifndef SPAWNO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 SPAWNO = C:\CC\SPAWN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 !if ("$(SPAWNO)" == "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 LIBPATH = $(BOR)\LIB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 INCLUDEPATH = $(BOR)\INCLUDE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 SPAWND =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 SPAWNL =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 !else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 LIBPATH = $(BOR)\LIB;$(SPAWNO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 INCLUDEPATH = $(BOR)\INCLUDE;$(SPAWNO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 SPAWND = ;SPAWNO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 SPAWNL = spawnl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 !endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 # *Implicit Rules*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 # use -v for debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 .c.obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 $(CC) -c $(DEBUG_FLAG) {$< }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # *List Macros*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 EXE_dependencies = \
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 803
diff changeset
56 blowfish.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 buffer.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 charset.obj \
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 2192
diff changeset
59 crypt.obj \
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 2192
diff changeset
60 crypt_zip.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 diff.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 digraph.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 edit.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 ex_cmds.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 ex_cmds2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 ex_docmd.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 ex_eval.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 ex_getln.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 fileio.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 fold.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 getchar.obj \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 227
diff changeset
73 hardcopy.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 540
diff changeset
74 hashtab.obj \
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 7435
diff changeset
75 json.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 main.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 mark.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 memfile.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 memline.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 menu.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 message.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 misc1.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 misc2.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 move.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 os_msdos.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 normal.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 ops.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 option.obj \
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 540
diff changeset
89 popupmnu.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 quickfix.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 regexp.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 screen.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 search.obj \
2192
40edf1be1cd8 Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents: 803
diff changeset
94 sha256.obj \
227
ef254e0f2365 updated for version 7.0063
vimboss
parents: 119
diff changeset
95 spell.obj \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syntax.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 tag.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 term.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 ui.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 undo.obj \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 window.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 all: vim.exe install.exe uninstal.exe xxd/xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 # *Explicit Rules*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 vim.exe: vim.cfg $(EXE_dependencies) version.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 $(CC) $(DEBUG_FLAG) -c version.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 $(TLINK) /x/c/L$(LIBPATH) $(DEBUG_FLAG) @&&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 c0l.obj $(EXE_dependencies) version.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 # no map file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 $(SPAWNL) cl.lib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 install.exe: dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 $(CC) -einstall $(DEBUG_FLAG) dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 uninstal.exe: uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 $(CC) $(DEBUG_FLAG) uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 # This may fail for older make versions, building xxd will fail anyway then.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 xxd/xxd.exe: xxd/xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 cd xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 $(MAKE) -f Make_bc3.mak BOR=$(BOR) DEBUG=$(DEBUG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 cd ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 # cleaning up: Delete all generated files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 -del *.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 -del vim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 -del vim.sym
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 -del install.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 -del uninstal.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 -del xxd\*.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 -del xxd\xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 -del vim.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 -del testdir\*.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 # Individual File Dependencies (incomplete)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 ex_docmd.obj: ex_docmd.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 ex_eval.obj: ex_eval.c ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 main.obj: main.c globals.h option.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 term.obj: term.c term.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 version.obj: version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 # Compiler Configuration File
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 # The following compile options can be changed for better machines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 # replace -1- with -2 to produce code for a 80286 or higher
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 # replace -1- with -3 to produce code for a 80386 or higher
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 # add -v for source debugging
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 vim.cfg: Make_bc3.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 copy &&|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 -ml
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 -1-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 -f-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 -C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 -N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 -O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 -Z
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 -k-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 -d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 -h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 -vi-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 -H=VIM.SYM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 -w-par
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 -weas
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 -wpre
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 -Iproto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 -I$(INCLUDEPATH)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 -L$(LIBPATH)
803
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 799
diff changeset
178 -DMSDOS;FEAT_TINY$(SPAWND)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 | vim.cfg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 cd testdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 $(MAKE) -f Make_dos.mak small
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 cd ..