summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/gen/mkfile
blob: e9653bba15b67e9628a8623f4fe935e000d4b351 (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
APE=/sys/src/ape
<$APE/config
LIB=/$objtype/lib/ape/libap.a

ALLOFILES=\
	_assert.$O\
	abort.$O\
	abs.$O\
	atof.$O\
	atoi.$O\
	atol.$O\
	atoll.$O\
	bsearch.$O\
	calloc.$O\
	clock.$O\
	ctype.$O\
	difftime.$O\
	div.$O\
	getenv.$O\
	isalnum.$O\
	itoa.$O\
	itol.$O\
	ldiv.$O\
	mbwc.$O\
	memccpy.$O\
	memchr.$O\
	memcmp.$O\
	memmove.$O\
	memset.$O\
	mktime.$O\
	qsort.$O\
	raise.$O\
	rand.$O\
	strcat.$O\
	strchr.$O\
	strcmp.$O\
	strcoll.$O\
	strcpy.$O\
	strcspn.$O\
	strftime.$O\
	strlen.$O\
	strncat.$O\
	strncmp.$O\
	strncpy.$O\
	strpbrk.$O\
	strrchr.$O\
	strspn.$O\
	strstr.$O\
	strtod.$O\
	strtok.$O\
	strtol.$O\
	strtoll.$O\
	strtoul.$O\
	strtoull.$O\
	strxfrm.$O\
	toupper.$O\

# cull things in the per-machine directories from this list
OFILES=	`{rc ./reduce $O $objtype $ALLOFILES}

</sys/src/cmd/mksyslib

CFLAGS=-c -D_POSIX_SOURCE