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