1</$objtype/mkfile 2 3LIB=/$objtype/lib/libc.a 4CFILES=\ 5 _assert.c\ 6 abs.c\ 7 asin.c\ 8 atan.c\ 9 atan2.c\ 10 atexit.c\ 11 atnotify.c\ 12 atof.c\ 13 atol.c\ 14 atoll.c\ 15 beget.c\ 16 cistrcmp.c\ 17 cistrncmp.c\ 18 cistrstr.c\ 19 charstod.c\ 20 cleanname.c\ 21 crypt.c\ 22 ctype.c\ 23 encodefmt.c\ 24 execl.c\ 25 exp.c\ 26 fabs.c\ 27 floor.c\ 28 fmod.c\ 29 frand.c\ 30 frexp.c\ 31 getcallerpc.c\ 32 getfields.c\ 33 getuser.c\ 34 hangup.c\ 35 hypot.c\ 36 leget.c\ 37 lnrand.c\ 38 lock.c\ 39 log.c\ 40 lrand.c\ 41 malloc.c\ 42 memccpy.c\ 43 memchr.c\ 44 memcmp.c\ 45 memmove.c\ 46 memset.c\ 47 mktemp.c\ 48 muldiv.c\ 49 nan.c\ 50 needsrcquote.c\ 51 netcrypt.c\ 52 netmkaddr.c\ 53 nrand.c\ 54 ntruerand.c\ 55 perror.c\ 56 pool.c\ 57 pow.c\ 58 pow10.c\ 59 profile.c\ 60 qsort.c\ 61 quote.c\ 62 rand.c\ 63 readn.c\ 64 rune.c\ 65 runebase.c\ 66 runebsearch.c\ 67 runestrcat.c\ 68 runestrchr.c\ 69 runestrcmp.c\ 70 runestrcpy.c\ 71 runestrecpy.c\ 72 runestrdup.c\ 73 runestrncat.c\ 74 runestrncmp.c\ 75 runestrncpy.c\ 76 runestrrchr.c\ 77 runestrlen.c\ 78 runestrstr.c\ 79 runetype.c\ 80 sin.c\ 81 sinh.c\ 82 sqrt.c\ 83 strcat.c\ 84 strchr.c\ 85 strcmp.c\ 86 strcpy.c\ 87 strecpy.c\ 88 strcspn.c\ 89 strdup.c\ 90 strlen.c\ 91 strncat.c\ 92 strncmp.c\ 93 strncpy.c\ 94 strpbrk.c\ 95 strrchr.c\ 96 strspn.c\ 97 strstr.c\ 98 strtod.c\ 99 strtok.c\ 100 strtol.c\ 101 strtoll.c\ 102 strtoul.c\ 103 strtoull.c\ 104 tan.c\ 105 tanh.c\ 106 tokenize.c\ 107 toupper.c\ 108 utfecpy.c\ 109 utflen.c\ 110 utfnlen.c\ 111 utfrune.c\ 112 utfrrune.c\ 113 utfutf.c\ 114 u16.c\ 115 u32.c\ 116 u64.c\ 117 118ALLOFILES=${CFILES:%.c=%.$O} 119 120# cull things in the per-machine directories from this list 121OFILES= `{rc ./reduce $O $objtype $ALLOFILES} 122 123HFILES=/sys/include/libc.h 124 125UPDATE=mkfile\ 126 $HFILES\ 127 $CFILES\ 128 129</sys/src/cmd/mksyslib 130 131profile.$O: /sys/include/tos.h 132