annotate src/Make_bc3.mak @ 7301:514f51fa1966 v7.4.956

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