aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/mkfile
blob: 20ab5a8d59071aee9a8f6afa43b6a405420a7e2d (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
<$PLAN9/src/mkhdr

LIB=libthread.a

OFILES=\
	$OBJTYPE.$O\
	asm-$SYSNAME-$OBJTYPE.$O\
	channel.$O\
	chanprint.$O\
	create.$O\
	debug.$O\
	exec-unix.$O\
	exit.$O\
	fdwait.$O\
	getpid.$O\
	id.$O\
	iocall.$O\
	ioclose.$O\
	iodial.$O\
	ioopen.$O\
	ioproc.$O\
	ioread.$O\
	ioreadn.$O\
	iosleep.$O\
	iowrite.$O\
	kill.$O\
	lib.$O\
	main.$O\
	memset.$O\
	memsetd.$O\
	note.$O\
	proctab.$O\
	read9pmsg.$O\
	ref.$O\
	rendez.$O\
	sched.$O\

HFILES=\
	$PLAN9/include/thread.h\
	label.h\
	threadimpl.h\

<$PLAN9/src/mksyslib

tprimes: tprimes.$O $PLAN9/lib/$LIB
	$LD -o tprimes tprimes.$O $LDFLAGS -lthread -l9 -lfmt -lutf

texec: texec.$O $PLAN9/lib/$LIB
	$LD -o texec texec.$O $LDFLAGS -lthread -l9 -lfmt -lutf

trend: trend.$O $PLAN9/lib/$LIB
	$LD -o trend trend.$O $LDFLAGS -lthread -l9 -lfmt -lutf

CLEANFILES=$CLEANFILES tprimes texec