File: makefile.bcc

package info (click to toggle)
jvim 3.0-2.1a-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,744 kB
  • ctags: 4,544
  • sloc: ansic: 145,262; makefile: 228; sh: 41
file content (245 lines) | stat: -rw-r--r-- 4,338 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
#
# Makefile for Borland C++ 2.0
# Can also be used for Turbo C++
#
# The options are at the end of this file
#

.AUTODEPEND

#		*Translator Definitions*
#   use tcc for Turbo C++
CC = bcc +VIM.CFG
#CC = tcc +VIM.CFG
TASM = TASM
TLIB = tlib
TLINK = tlink
#
# Adjust the paths for your environment
# use the first two if you don't have the spawno library
#	then also remove the SPAWNO define further down and the line
#	with spawnl.lib
#
#LIBPATH = C:\BORLANDC\LIB
#INCLUDEPATH = C:\BORLANDC\INCLUDE
LIBPATH = C:\BORLANDC\LIB;C:\CC\SPAWN
INCLUDEPATH = C:\BORLANDC\INCLUDE;C:\CC\SPAWN
 
 
#		*Implicit Rules*
#
# use -v for debugging
#
.c.obj:
  $(CC) -c {$< }
#  $(CC) -c -v {$< }
 
#		*List Macros*
 
 
EXE_dependencies =  \
 alloc.obj \
 buffer.obj \
 charset.obj \
 cmdcmds.obj \
 cmdline.obj \
 csearch.obj \
 digraph.obj \
 edit.obj \
 fileio.obj \
 getchar.obj \
 help.obj \
 linefunc.obj \
 main.obj \
 mark.obj \
 memfile.obj \
 memline.obj \
 message.obj \
 misccmds.obj \
 msdos.obj \
 normal.obj \
 ops.obj \
 param.obj \
 quickfix.obj \
 regexp.obj \
 regsub.obj \
 screen.obj \
 search.obj \
 tag.obj \
 term.obj \
 undo.obj \
 window.obj \
 version.obj
 
#		*Explicit Rules*
#  add /v to TLINK for degubbing
vim.exe: vim.cfg $(EXE_dependencies)
  $(CC) -c version.c
  $(TLINK) /x/c/L$(LIBPATH) @&&|
c0l.obj+
alloc.obj+
buffer.obj+
charset.obj+
cmdcmds.obj+
cmdline.obj+
csearch.obj+
digraph.obj+
edit.obj+
fileio.obj+
getchar.obj+
help.obj+
linefunc.obj+
main.obj+
mark.obj+
memfile.obj+
memline.obj+
message.obj+
misccmds.obj+
msdos.obj+
normal.obj+
ops.obj+
param.obj+
quickfix.obj+
regexp.obj+
regsub.obj+
screen.obj+
search.obj+
tag.obj+
term.obj+
undo.obj+
window.obj+
version.obj
vim
		# no map file
fp87.lib+
mathl.lib+
spawnl.lib+
cl.lib
|
 
 
#		*Individual File Dependencies*
alloc.obj: alloc.c 
 
buffer.obj: buffer.c 
 
charset.obj: charset.c 
 
cmdcmds.obj: cmdcmds.c
 
cmdline.obj: cmdline.c cmdtab.h
 
cmdtab.h: cmdtab.tab mkcmdtab.exe
	mkcmdtab cmdtab.tab cmdtab.h

mkcmdtab.exe: mkcmdtab.obj
	$(CC) -ml -omkcmdtab mkcmdtab.obj

mkcmdtab.obj: mkcmdtab.c
	$(CC) $(CFLAGS) mkcmdtab.c

csearch.obj: csearch.c 
 
digraph.obj: digraph.c 
 
edit.obj: edit.c 
 
fileio.obj: fileio.c 

getchar.obj: getchar.c 

help.obj: help.c 
 
linefunc.obj: linefunc.c 
 
main.obj: main.c globals.h param.h
 
mark.obj: mark.c
 
memfile.obj: memfile.c 

memline.obj: memline.c 

message.obj: message.c 
 
misccmds.obj: misccmds.c 
 
msdos.obj: msdos.c 
 
normal.obj: normal.c ops.h
 
ops.obj: ops.c ops.h
 
param.obj: param.c 
 
quickfix.obj: quickfix.c 
 
regexp.obj: regexp.c 
 
regsub.obj: regsub.c 
 
screen.obj: screen.c 
 
search.obj: search.c 
 
tag.obj: tag.c
 
term.obj: term.c term.h
 
undo.obj: undo.c 

window.obj: window.c 
 
version.obj: version.c 
 
#		*Compiler Configuration File*
# The following compile options can be changed for better machines.
#	replace -1- with -2 to produce code for a 80286 or higher
#	replace -1- with -3 to produce code for a 80386 or higher
#	add -v for source debugging
vim.cfg: makefile
  copy &&|
-ml
-1-
-f-
-C
-N
-O
-Z
-k-
-d
-h
-vi-
-H=VIM.SYM
-w-par
-w-pro
-weas
-wpre
-I$(INCLUDEPATH)
-L$(LIBPATH)
-DPC;MSDOS;SPAWNO;DIGRAPHS;WEBB_COMPLETE;WEBB_KEYWORD_COMPL
| vim.cfg

#
# options:
### -DDIGRAPHS		digraph support (at the cost of 1.6 Kbyte code)
### -DNO_ARP		do not use arp.library, DOS 2.0 required
### -DCOMPATIBLE	start in vi-compatible mode
### -DNOBACKUP		default is no backup file
### -DDEBUG		output a lot of debugging garbage
### -DTERMCAP		include termcap file support
### -DNO_BUILTIN_TCAPS	do not include builtin termcap entries
###				(use only with -DTERMCAP)
### -DSOME_BUILTIN_TCAPS include most useful builtin termcap entries
###				(use only without -DNO_BUILTIN_TCAPS)
### -DALL_BUILTIN_TCAPS	include all builtin termcap entries
###				(use only without -DNO_BUILTIN_TCAPS)
### -DVIMRC_FILE	name of the .vimrc file in current dir
### -DEXRC_FILE		name of the .exrc file in current dir
### -DSYSVIMRC_FILE	name of the global .vimrc file
### -DSYSEXRC_FILE	name of the global .exrc file
### -DDEFVIMRC_FILE	name of the system-wide .vimrc file
### -DVIM_HLP		name of the help file
### -DWEBB_COMPLETE	include Webb's code for command line completion
### -DWEBB_KEYWORD_COMPL include Webb's code for keyword completion
### -DNOTITLE		'title' option off by default