summaryrefslogtreecommitdiff
path: root/utils/rcsh/mkfile
blob: b4c818cff63bb42d8a8fa1feafc88dd3f5b882fd (plain)
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
<../../mkconfig

#
#	this directory contains a stripped-down version of rc
#	it is only build for Windows Nt and Windows 95

TARG=rcsh

OFILES=	code.$O\
	exec.$O\
	glob.$O\
	here.$O\
	io.$O\
	lex.$O\
	main.$O\
	$TARGMODEL.$O\
	pcmd.$O\
	pfnc.$O\
	simple.$O\
	trap.$O\
	tree.$O\
	var.$O\
	word.$O\
	y.tab.$O\

HFILES=	rc.h\
	y.tab.h\

YFILES=	syn.y

LIBS=9

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

CFLAGS=	$CFLAGS '-DROOT="'$ROOT'"'

$BIN/%:Q:	$O.out
	echo $TARG must be installed manually on Windows systems
	echo use: cp $O.out $target
	cp $O.out $target

install:V:	$ROOT/utils/lib/rcmain

$ROOT/utils/lib/rcmain:Q:	rcmain
	echo $prereq must be installed manually on Windows systems
	echo use: cp $prereq $target
	cp $prereq $target

Posix.c Inferno.c:QV:
	echo $TARG is only built on Windows NT or Windows 95
	exit 1