File: makefile

package info (click to toggle)
dosemu-freedos 1%3A0.0.b9r5a%2Betch.1-0etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 19,744 kB
  • ctags: 23,279
  • sloc: ansic: 143,864; asm: 20,397; makefile: 3,868; perl: 1,106; yacc: 690; sh: 553; pascal: 297; xml: 150; cpp: 67
file content (613 lines) | stat: -rw-r--r-- 27,646 bytes parent folder | download | duplicates (2)
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
# $Id: makefile,v 1.13 2003/12/09 21:29:24 skaus Exp $
#
# Makefile for the FreeCOM library
#
# $Log: makefile,v $
# Revision 1.13  2003/12/09 21:29:24  skaus
# bugfix: Ask for FreeCOM location when STRINGS are missing [#687]
#
# Revision 1.12  2003/12/09 20:25:34  skaus
# bugfix: INIT: FreeCOM-path and TTY can be in any order
#
# Revision 1.11  2003/09/01 14:14:30  skaus
# bugfix: typo: bad varable specification [#1678]
#
# Revision 1.10  2002/11/12 19:48:47  skaus
# bugfix: COPY: additional output to honor redirection {Eric Auer} [bugID #1313]
#
# Revision 1.9  2002/04/25 18:50:40  skaus
# v0.83 Beta 38:
#
# Revision 1.8  2002/04/23 16:40:41  skaus
# bugfix: CTTY: added to try to set the device flags
#
# Revision 1.7  2002/04/02 23:36:37  skaus
# add: XMS-Only Swap feature (FEATURE_XMS_SWAP) (Tom Ehlert)
#
# Revision 1.6  2002/04/02 20:58:13  skaus
# add: XMS-Only Swap feature (FEATURE_XMS_SWAP) (Tom Ehlert)
#
# Revision 1.5  2002/04/02 18:09:31  skaus
# add: XMS-Only Swap feature (FEATURE_XMS_SWAP) (Tom Ehlert)
#
# Revision 1.3  2001/06/10 17:17:24  skaus
# bugfix: Single point of configuration CONFIG.MAK/.H
#
# Revision 1.2  2001/04/29 11:33:51  skaus
# chg: default heap size (tools\ptchsize) set to 6KB
# chg: error displaying functions centralized into lib\err_fcts.src
# add: displayError()
# chg: all errors are displayed through functions void error_*()
# bugfix: somtimes error messages are not displayed (see displayError())
# bugfix: docommand(): type:file must pass ":file" to TYPE
# bugfix: error_sfile(): string _SFILE_
# bugfix: error message on empty redirection
# bugfix: comma and semicolon ';' are recognized as argument seperators
# 	of internal commands
#
# Revision 1.1  2001/04/12 00:33:53  skaus
# chg: new structure
# chg: If DEBUG enabled, no available commands are displayed on startup
# fix: PTCHSIZE also patches min extra size to force to have this amount
#    of memory available on start
# bugfix: CALL doesn't reset options
# add: PTCHSIZE to patch heap size
# add: VSPAWN, /SWAP switch, .SWP resource handling
# bugfix: COMMAND.COM A:\
# bugfix: CALL: if swapOnExec == ERROR, no change of swapOnExec allowed
# add: command MEMORY
# bugfix: runExtension(): destroys command[-2]
# add: clean.bat
# add: localized CRITER strings
# chg: use LNG files for hard-coded strings (hangForEver(), init.c)
# 	via STRINGS.LIB
# add: DEL.C, COPY.C, CBREAK.C: STRINGS-based prompts
# add: fixstrs.c: prompts & symbolic keys
# add: fixstrs.c: backslash escape sequences
# add: version IDs to DEFAULT.LNG and validation to FIXSTRS.C
# chg: splitted code apart into LIB\*.c and CMD\*.c
# bugfix: IF is now using error system & STRINGS to report errors
# add: CALL: /N
#
#

MAXLINELENGTH !:= 4096

.INCLUDE : ../_config.mk

# Sources of this make target
SRC = alprmblk.c alsysblk.c beep_l.c beep_n.c brk_get.c brk_set.c cbreak.c \
	cbs.c cd_dir.c cgetch.c cgettime.c chgctxt.c chgdrv.c chgenv.c chgenvc.c \
	chgenvr.c clrline.c cmdinput.c comfile.c compfile.c ctxt.c ctxt_adr.c \
	ctxt_as.c ctxt_chg.c ctxt_clr.c ctxt_get.c ctxt_inf.c ctxt_mk.c \
	ctxt_mkb.c ctxt_mkn.c ctxt_pop.c ctxt_psh.c ctxt_rnu.c ctxt_set.c \
	ctxt_ss.c ctxt_vw.c curdatel.c curtime.c cwd.c dateget.c dateset.c \
	dbg_c.c dbg_mem.c dbg_prnt.c dbg_s.c dbg_sn.c devopen.c dispcnt.c \
	drvnum.c efct_001.c exec.c exec1.c farread.c fcompl1.c fcompl2.c \
	fdattr.c fdevopen.c fdsattr.c fillcomp.c find.c freep.c frsysblk.c \
	fstpcpy.c gallstr.c get1mcb.c getenv.c goxy.c grabfcom.c gumblink.c \
	hdlrctxt.c hist_get.c hist_set.c inputdos.c is_empty.c is_fnamc.c \
	is_fnstr.c is_pchr.c isadev.c keyprsd.c kswap_c.c lastdget.c lastdset.c \
	leadopt.c lowexec.asm ltrimcl.c ltrimsp.c lwr1wd.c match.c messages.c \
	mk_rddir.c mktmpfil.c msg_dflt.c msg_dps.c msg_fstr.c msg_get.c \
	msg_gpt.c msg_mkey.c msg_prmp.c mux_ae.c nls.c nls_date.c nls_time.c \
	num_fmt.c onoff.c openf.c optsb.c optsi.c optss.c parsenum.c pr_date.c \
	pr_prmpt.c pr_time.c prprompt.c readcmd.c realnum.c res.c res_r.c \
	res_vald.c res_w.c resfile.c rmtmpfil.c rtrimcl.c rtrimsp.c salloc.c \
	samefile.c scancmd.c scanopt.c session.c showcmds.c skqwd.c split.c \
	sumblink.c tempfile.c timeget.c timeset.c tmpnam.c trimcl.c trimsp.c \
	truncate.c txtlend.c unquote.c vcgetch.c vcgetstr.c where.c
OBJ = alprmblk.obj alsysblk.obj beep_l.obj beep_n.obj brk_get.obj \
	brk_set.obj cbreak.obj cbs.obj cd_dir.obj cgetch.obj cgettime.obj \
	chgctxt.obj chgdrv.obj chgenv.obj chgenvc.obj chgenvr.obj clrline.obj \
	cmdinput.obj comfile.obj compfile.obj ctxt.obj ctxt_adr.obj ctxt_as.obj \
	ctxt_chg.obj ctxt_clr.obj ctxt_get.obj ctxt_inf.obj ctxt_mk.obj \
	ctxt_mkb.obj ctxt_mkn.obj ctxt_pop.obj ctxt_psh.obj ctxt_rnu.obj \
	ctxt_set.obj ctxt_ss.obj ctxt_vw.obj curdatel.obj curtime.obj cwd.obj \
	dateget.obj dateset.obj dbg_c.obj dbg_mem.obj dbg_prnt.obj dbg_s.obj \
	dbg_sn.obj devopen.obj dispcnt.obj drvnum.obj efct_001.obj exec.obj \
	exec1.obj farread.obj fcompl1.obj fcompl2.obj fdattr.obj fdevopen.obj \
	fdsattr.obj fillcomp.obj find.obj freep.obj frsysblk.obj fstpcpy.obj \
	gallstr.obj get1mcb.obj getenv.obj goxy.obj grabfcom.obj gumblink.obj \
	hdlrctxt.obj hist_get.obj hist_set.obj inputdos.obj is_empty.obj \
	is_fnamc.obj is_fnstr.obj is_pchr.obj isadev.obj keyprsd.obj kswap_c.obj \
	lastdget.obj lastdset.obj leadopt.obj lowexec.obj ltrimcl.obj \
	ltrimsp.obj lwr1wd.obj match.obj messages.obj mk_rddir.obj mktmpfil.obj \
	msg_dflt.obj msg_dps.obj msg_fstr.obj msg_get.obj msg_gpt.obj \
	msg_mkey.obj msg_prmp.obj mux_ae.obj nls.obj nls_date.obj nls_time.obj \
	num_fmt.obj onoff.obj openf.obj optsb.obj optsi.obj optss.obj \
	parsenum.obj pr_date.obj pr_prmpt.obj pr_time.obj prprompt.obj \
	readcmd.obj realnum.obj res.obj res_r.obj res_vald.obj res_w.obj \
	resfile.obj rmtmpfil.obj rtrimcl.obj rtrimsp.obj salloc.obj samefile.obj \
	scancmd.obj scanopt.obj session.obj showcmds.obj skqwd.obj split.obj \
	sumblink.obj tempfile.obj timeget.obj timeset.obj tmpnam.obj trimcl.obj \
	trimsp.obj truncate.obj txtlend.obj unquote.obj vcgetch.obj vcgetstr.obj \
	where.obj
HDR = ..\config.h ..\context.h_c ..\err_fcts.h ..\include/batch.h \
	..\include/cmdline.h ..\include/command.h ..\include/context.h \
	..\include/crossjmp.h ..\include/cswap.h ..\include/datefunc.h \
	..\include/debug.h ..\include/keys.h ..\include/kswap.h \
	..\include/misc.h ..\include/mux_ae.h ..\include/nls.h \
	..\include/openf.h ..\include/res.h ..\include/resource.h \
	..\include/strings.typ ..\include/timefunc.h ..\include\command.h \
	..\include\context.h ..\include\crossjmp.h ..\include\large.inc \
	..\include\misc.h ..\include\model.inc ..\include\small.inc \
	..\include\stuff.inc ..\strings.h


#	Default target
all: freecom.lib

# Error functions generated by scanerr.pl
.INCLUDE : err_fcts.mk
SRC += $(SRC_ERR)
OBJ += $(OBJ_ERR)


dist : lib.mak

%.obj : %.asm ; $(NASM) $(NASMFLAGS) -f obj -F borland -o $@ $< >>errlist

### Utils are required by build process
.INIT .PHONY .SEQUENTIAL : verscheck $(CFG) __errl

.IF $(THISMAKE) == $(LASTMAKE)
verscheck :;
.ELSE
verscheck : 
	@+-echo Changed Make parameters, already made files invalid!
	+-echo LASTMAKE = $(THISMAKE) >lastmake.mk
	$(RUNMAKE) clobber
.IF $(CFG)
	$(RUNMAKE) $(CFG)
.ENDIF
.ENDIF

__errl:
	@+-if exist errlist del errlist >nul
	-ctags *.c ..\cmd\*.c ..\shell\*.c $(FREEDOS)\SRC\LIB\SUPPL\*.c

freecom.lib .LIBRARY : $(OBJ)

#MAKEDEP START
onoff.obj : onoff.c \
	 ../config.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
lastdget.obj : lastdget.c \
	 ../config.h ../err_fcts.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
fdsattr.obj : fdsattr.c
gumblink.obj : gumblink.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
pr_date.obj : pr_date.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/nls.h \
	../include/timefunc.h
find.obj : find.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
ctxt_clr.obj : ctxt_clr.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
ctxt.obj : ctxt.c \
	 ../config.h ../include/context.h ../include/debug.h
lastdset.obj : lastdset.c \
	 ../config.h ../err_fcts.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
truncate.obj : truncate.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
beep_l.obj : beep_l.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
is_fnstr.obj : is_fnstr.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
ctxt_ss.obj : ctxt_ss.c \
	 ../config.h ../include/context.h ../include/debug.h
cbreak.obj : cbreak.c \
	 ../config.h ../include/batch.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h ../strings.h
getenv.obj : getenv.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
beep_n.obj : beep_n.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
res.obj : res.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/resource.h \
	../include/timefunc.h
parsenum.obj : parsenum.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
dbg_prnt.obj : dbg_prnt.c \
	 ../config.h ../include/debug.h
fcompl2.obj : fcompl2.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
hist_get.obj : hist_get.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
fdevopen.obj : fdevopen.c \
	 ../include/openf.h
ctxt_rnu.obj : ctxt_rnu.c \
	 ../config.h ../include/command.h ../include/context.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
chgenv.obj : chgenv.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
drvnum.obj : drvnum.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
rtrimcl.obj : rtrimcl.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
mux_ae.obj : mux_ae.c \
	 ../config.h ../include/command.h ../include/crossjmp.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/mux_ae.h ../include/nls.h ../include/timefunc.h
comfile.obj : comfile.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
hist_set.obj : hist_set.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
get1mcb.obj : get1mcb.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
msg_prmp.obj : msg_prmp.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
cd_dir.obj : cd_dir.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
trimcl.obj : trimcl.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
dbg_mem.obj : dbg_mem.c \
	 ../config.h ../include/debug.h
hdlrctxt.obj : hdlrctxt.c \
	 ../config.h ../err_fcts.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
ctxt_psh.obj : ctxt_psh.c \
	 ../config.h ../include/command.h ../include/context.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
optsi.obj : optsi.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
rtrimsp.obj : rtrimsp.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
vcgetstr.obj : vcgetstr.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
farread.obj : farread.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
alprmblk.obj : alprmblk.c \
	 ../config.h ../context.h_c ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/kswap.h ../include/misc.h \
	../include/timefunc.h
scanopt.obj : scanopt.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
openf.obj : openf.c \
	 ../config.h ../include/debug.h ../include/openf.h
messages.obj : messages.c \
	 ../config.h ../include/command.h ../include/cswap.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/res.h ../include/resource.h ../include/strings.typ \
	../include/timefunc.h ../strings.h
scancmd.obj : scancmd.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
optss.obj : optss.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
ctxt_mk.obj : ctxt_mk.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/context.h \
	../include/crossjmp.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
where.obj : where.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
isadev.obj : isadev.c \
	 ../include/openf.h
trimsp.obj : trimsp.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
res_w.obj : res_w.c \
	 ../include/resource.h
mktmpfil.obj : mktmpfil.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
cmdinput.obj : cmdinput.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/keys.h ../include/misc.h \
	../include/timefunc.h
exec.obj : exec.c \
	 ../config.h ../include/command.h ../include/cswap.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/nls.h ../include/timefunc.h
fdattr.obj : fdattr.c
goxy.obj : goxy.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
clrline.obj : clrline.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
fstpcpy.obj : fstpcpy.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
tmpnam.obj : tmpnam.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
frsysblk.obj : frsysblk.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
unquote.obj : unquote.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
cgettime.obj : cgettime.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
freep.obj : freep.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
realnum.obj : realnum.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
tempfile.obj : tempfile.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
inputdos.obj : inputdos.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
chgenvc.obj : chgenvc.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
dateget.obj : dateget.c \
	 ../config.h ../include/datefunc.h ../include/debug.h
lwr1wd.obj : lwr1wd.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
keyprsd.obj : keyprsd.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
showcmds.obj : showcmds.c \
	 ../config.h ../context.h_c ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/kswap.h ../include/misc.h \
	../include/timefunc.h ../strings.h
kswap_c.obj : kswap_c.c \
	 ../config.h ../context.h_c ../include/debug.h ../include/kswap.h
is_pchr.obj : is_pchr.c
is_empty.obj : is_empty.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
dateset.obj : dateset.c \
	 ../config.h ../include/datefunc.h ../include/debug.h
split.obj : split.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
nls.obj : nls.c \
	 ../config.h ../include/debug.h ../include/nls.h
match.obj : match.c \
	 ../config.h ../include/cmdline.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
timeget.obj : timeget.c \
	 ../config.h ../include/debug.h ../include/timefunc.h
compfile.obj : compfile.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
dbg_c.obj : dbg_c.c \
	 ../config.h ../include/debug.h
readcmd.obj : readcmd.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
devopen.obj : devopen.c \
	 ../include/openf.h
num_fmt.obj : num_fmt.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
lowexec.obj : lowexec.asm \
	 .\..\include\large.inc .\..\include\model.inc .\..\include\small.inc \
	.\..\include\stuff.inc
ctxt_adr.obj : ctxt_adr.c \
	 ../config.h ../include/context.h ../include/debug.h
timeset.obj : timeset.c \
	 ../config.h ../include/debug.h ../include/timefunc.h
nls_time.obj : nls_time.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/nls.h ../include/timefunc.h ../strings.h
cwd.obj : cwd.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
dbg_s.obj : dbg_s.c \
	 ../config.h ../include/debug.h
is_fnamc.obj : is_fnamc.c \
	 ../config.h ../include/debug.h ../include/nls.h
grabfcom.obj : grabfcom.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
prprompt.obj : prprompt.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
sumblink.obj : sumblink.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
msg_fstr.obj : msg_fstr.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/strings.typ ../include/timefunc.h \
	../strings.h
skqwd.obj : skqwd.c \
	 ../config.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
mk_rddir.obj : mk_rddir.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
msg_gpt.obj : msg_gpt.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
efct_001.obj : efct_001.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
fcompl1.obj : fcompl1.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
curdatel.obj : curdatel.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/nls.h \
	../include/timefunc.h ../strings.h
exec1.obj : exec1.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
ltrimcl.obj : ltrimcl.c \
	 ../config.h ../include/cmdline.h ../include/debug.h
ctxt_get.obj : ctxt_get.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
txtlend.obj : txtlend.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
vcgetch.obj : vcgetch.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/keys.h ../include/misc.h ../include/timefunc.h
msg_get.obj : msg_get.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
optsb.obj : optsb.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
resfile.obj : resfile.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
ltrimsp.obj : ltrimsp.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
rmtmpfil.obj : rmtmpfil.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
cgetch.obj : cgetch.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/keys.h ../include/misc.h \
	../include/timefunc.h
ctxt_set.obj : ctxt_set.c \
	 ../config.h ../include/context.h ../include/debug.h
pr_time.obj : pr_time.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/nls.h \
	../include/timefunc.h
ctxt_pop.obj : ctxt_pop.c \
	 ../config.h ../err_fcts.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
dispcnt.obj : dispcnt.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
ctxt_as.obj : ctxt_as.c \
	 ../config.h ../include/command.h ../include/context.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
gallstr.obj : gallstr.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
res_r.obj : res_r.c \
	 ../config.h ../include/debug.h ../include/resource.h
msg_mkey.obj : msg_mkey.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
brk_get.obj : brk_get.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
ctxt_inf.obj : ctxt_inf.c \
	 ../config.h ../include/context.h ../include/debug.h
session.obj : session.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/context.h \
	../include/crossjmp.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
brk_set.obj : brk_set.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
nls_date.obj : nls_date.c \
	 ../config.h ../include/debug.h ../include/nls.h
dbg_sn.obj : dbg_sn.c \
	 ../config.h ../include/debug.h
msg_dps.obj : msg_dps.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
res_vald.obj : res_vald.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/openf.h \
	../include/resource.h ../include/strings.typ ../include/timefunc.h
cbs.obj : cbs.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
curtime.obj : curtime.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/nls.h \
	../include/timefunc.h
ctxt_mkb.obj : ctxt_mkb.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/context.h \
	../include/crossjmp.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
chgdrv.obj : chgdrv.c \
	 ../config.h ../err_fcts.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h ../strings.h
salloc.obj : salloc.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
alsysblk.obj : alsysblk.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
samefile.obj : samefile.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h
ctxt_mkn.obj : ctxt_mkn.c \
	 ../config.h ../include/context.h ../include/debug.h
leadopt.obj : leadopt.c \
	 ../config.h ../err_fcts.h ../include/cmdline.h ../include/command.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
chgenvr.obj : chgenvr.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
ctxt_vw.obj : ctxt_vw.c \
	 ../config.h ../include/context.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h ../strings.h
msg_dflt.obj : msg_dflt.c \
	 ../config.h ../include/datefunc.h ../include/debug.h \
	../include/misc.h ../include/timefunc.h ../strings.h
ctxt_chg.obj : ctxt_chg.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/context.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
pr_prmpt.obj : pr_prmpt.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
chgctxt.obj : chgctxt.c \
	 ../config.h ../err_fcts.h ../include/command.h ../include/context.h \
	../include/datefunc.h ../include/debug.h ../include/misc.h \
	../include/timefunc.h
fillcomp.obj : fillcomp.c \
	 ../config.h ../include/command.h ../include/datefunc.h \
	../include/debug.h ../include/misc.h ../include/timefunc.h
DYNSOURCES =
#MAKEDEP STOP

clobber : clean
	$(RM) $(RMFLAGS) *.com *.cln *.lib *.lst *.cfg lib.mak

clean : 
	$(RM) $(RMFLAGS) *.lst *.map *.bin *.bak *.las *.obj *.exe $(CFG) *.dmp com.com tags errlist lib.m3


lib.mak : makefile lib.m1 lib.m2
	..\utils\chunk freecom_deps <$(mktmp $(OBJ:t"\n")\n) >lib.m3
	+copy lib.m1 + lib.m3 + $(mktmp freecom.lib : \44(CFG) freecom_deps \n\tif exist freecom.lib \44(AR) freecom.lib /c @&&|\n+-$(OBJ:t" &\\n+-")\n| , freecom.lst \n\tif not exist freecom.lib \44(AR) freecom.lib /c @&&|\n+$(OBJ:t" &\\n+")\n| , freecom.lst \n) + lib.m2 $@
#	+copy lib.m1 + $(mktmp freecom.lib : \44(CFG) $(OBJ:t" \\\\\\n\\t") \n\tif exist freecom.lib \44(AR) freecom.lib /c @&&|\n+-$(OBJ:t" &\\n+-")\n| , freecom.lst \n\tif not exist freecom.lib \44(AR) freecom.lib /c @&&|\n+$(OBJ:t" &\\n+")\n| , freecom.lst \n) + lib.m2 $@