aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/mkfile
blob: c6f9ef446fb3d0e3ad7276a5814a86d6cfa5c629 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<$PLAN9/src/mkhdr

LIBOFILES=\
	arena.$O\
	arenas.$O\
	buildbuck.$O\
	clump.$O\
	config.$O\
	conv.$O\
	dcache.$O\
	dump.$O\
	httpd.$O\
	icache.$O\
	ifile.$O\
	index.$O\
	lump.$O\
	lumpcache.$O\
	lumpqueue.$O\
	part.$O\
	score.$O\
	sortientry.$O\
	stats.$O\
	syncarena.$O\
	syncindex0.$O\
	unwhack.$O\
	utils.$O\
	unittoull.$O\
	whack.$O\
	xml.$O\
	zeropart.$O\

SLIB=libvs.a

LIB=$SLIB

HFILES=	dat.h\
	fns.h\
	stdinc.h\

TARG=\
	venti\
	fmtarenas\
	fmtisect\
	fmtindex\
#	buildindex\
	checkarenas\
#	checkindex\
	clumpstats\
	findscore\
	rdarena\
	wrarena\
	syncindex\
	verifyarena\
	sync\
	read\
	write\
	copy\
	wb\

BIN=$BIN/venti

it:V: all

<$PLAN9/src/mkmany

$SLIB: $LIBOFILES
	$AR rvc $SLIB $LIBOFILES

# xml.c:D:	mkxml dat.h
# 	./mkxml dat.h > xml.c

ainstall:V: ${TARG:%=%.ainstall}

%.ainstall:V:	$O.%
	scp $prereq amsterdam:/usr/local/bin/venti/$stem