1APE=/sys/src/ape 2<$APE/config 3LIB=/$objtype/lib/ape/libap.a 4 5ALLOFILES=\ 6 _assert.$O\ 7 abort.$O\ 8 abs.$O\ 9 atof.$O\ 10 atoi.$O\ 11 atol.$O\ 12 atoll.$O\ 13 bsearch.$O\ 14 calloc.$O\ 15 clock.$O\ 16 ctype.$O\ 17 difftime.$O\ 18 div.$O\ 19 getenv.$O\ 20 isalnum.$O\ 21 itoa.$O\ 22 itol.$O\ 23 ldiv.$O\ 24 mbwc.$O\ 25 memccpy.$O\ 26 memchr.$O\ 27 memcmp.$O\ 28 memmove.$O\ 29 memset.$O\ 30 mktime.$O\ 31 qsort.$O\ 32 raise.$O\ 33 rand.$O\ 34 strcat.$O\ 35 strchr.$O\ 36 strcmp.$O\ 37 strcoll.$O\ 38 strcpy.$O\ 39 strcspn.$O\ 40 strdup.$O\ 41 strftime.$O\ 42 strlen.$O\ 43 strncat.$O\ 44 strncmp.$O\ 45 strncpy.$O\ 46 strpbrk.$O\ 47 strrchr.$O\ 48 strspn.$O\ 49 strstr.$O\ 50 strtod.$O\ 51 strtok.$O\ 52 strtol.$O\ 53 strtoll.$O\ 54 strtoul.$O\ 55 strtoull.$O\ 56 strxfrm.$O\ 57 toupper.$O\ 58 59# cull things in the per-machine directories from this list 60OFILES= `{rc ./reduce $O $objtype $ALLOFILES} 61 62</sys/src/cmd/mksyslib 63 64CFLAGS=$CFLAGS -c -D_POSIX_SOURCE 65