Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_fixcpp/sys/src/ape/cmd/mkfile – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
APE=/sys/src/ape
2
<$APE/config
3
 
4
TARG=basename\
5
	cc\
6
	dirname\
7
	kill\
8
	uname
9
 
10
DIRS=\
11
	diff\
12
	expr\
13
	make\
14
	patch\
15
	pdksh\
16
	sed\
17
 
18
BIN=$APEBIN
19
</sys/src/cmd/mkmany
20
 
21
CFLAGS=-c -D_POSIX_SOURCE
22
 
23
all:V:	$DIRS
24
 
25
install:V:	install.dir install.rc
26
 
27
installall:V:	installall.dir
28
 
29
clean:V:	clean.dir
30
 
31
nuke:V:		nuke.dir
32
 
33
%.dir:V:
34
	for (i in $DIRS) @{
35
		cd $i
36
		echo '----'$i'----'
37
		mk $stem
38
	}
39
 
40
$DIRS:V:
41
	for (i in $target) @{
42
		cd $i
43
		echo '----'$i'----'
44
		mk all
45
	}
46
 
47
cc.$O: cc.c
48
	mk -f /sys/src/cmd/mkfile cc.$O
49
 
50
$O.cc: cc.$O
51
	mk -f /sys/src/cmd/mkfile $O.cc
52
 
53
install.rc:V: $BIN/psh
54
 
55
$BIN/%: %.rc
56
	cp -x $stem.rc $BIN/$stem