ref: dc593372bfc4224c6cf91d2031d0ad0aeadaddfe
dir: /sys/src/libc/port/mkfile/
</$objtype/mkfile LIB=/$objtype/lib/libc.a CFILES=\ _assert.c\ abs.c\ asin.c\ atan.c\ atan2.c\ atexit.c\ atnotify.c\ atof.c\ atol.c\ atoll.c\ calloc.c\ cistrcmp.c\ cistrncmp.c\ cistrstr.c\ charstod.c\ cleanname.c\ crypt.c\ ctype.c\ cycles.c\ date.c\ encodefmt.c\ execl.c\ exits.c\ exp.c\ fabs.c\ floor.c\ fmod.c\ frand.c\ frexp.c\ getcallerpc.c\ getfields.c\ hangup.c\ hypot.c\ lnrand.c\ lock.c\ log.c\ lrand.c\ malloc.c\ memccpy.c\ memchr.c\ memcmp.c\ memmove.c\ memset.c\ mktemp.c\ muldiv.c\ nan.c\ needsrcquote.c\ netcrypt.c\ netmkaddr.c\ nrand.c\ ntruerand.c\ perror.c\ pool.c\ pow.c\ pow10.c\ profile.c\ qsort.c\ quote.c\ rand.c\ readn.c\ rune.c\ runebreak.c\ runeistype.c\ runenorm.c\ runestrcat.c\ runestrchr.c\ runestrcmp.c\ runestrcpy.c\ runestrecpy.c\ runestrdup.c\ runestrncat.c\ runestrncmp.c\ runestrncpy.c\ runestrrchr.c\ runestrlen.c\ runestrstr.c\ runetotype.c\ sin.c\ sinh.c\ sqrt.c\ strcat.c\ strchr.c\ strcmp.c\ strcpy.c\ strecpy.c\ strcspn.c\ strdup.c\ strlen.c\ strncat.c\ strncmp.c\ strncpy.c\ strpbrk.c\ strrchr.c\ strspn.c\ strstr.c\ strtod.c\ strtok.c\ strtol.c\ strtoll.c\ strtoul.c\ strtoull.c\ tan.c\ tanh.c\ tokenize.c\ toupper.c\ utfecpy.c\ utflen.c\ utfnlen.c\ utfrune.c\ utfrrune.c\ utfutf.c\ u16.c\ u32.c\ u64.c\ ALLOFILES=${CFILES:%.c=%.$O} # cull things in the per-machine directories from this list OFILES= `{rc ./reduce $O $objtype $ALLOFILES} HFILES=/sys/include/libc.h UPDATE=mkfile\ $HFILES\ $CFILES\ </sys/src/cmd/mksyslib profile.$O: /sys/include/tos.h malloc.$O pool.$O: /sys/include/pool.h runenorm.$O: runenormdata runenorm.c runetotype.$O: runetotypedata runetotype.c runeistype.$O: runeistypedata runeistype.c runebreak.$O: runebreakdata runebreak.c UCD=\ /lib/ucd/WordBreakProperty.txt\ /lib/ucd/GraphemeBreakProperty.txt\ /lib/ucd/emoji-data.txt\ /lib/ucd/CompositionExclusions.txt\ /lib/ucd/UnicodeData.txt\ /lib/ucd/%: cd /lib/ucd && mk $stem runenormdata runetotypedata runeistypedata runebreakdata: @{ eval `{grep '^[A-Z]' /$cputype/mkfile} $CC $CFLAGS -o mkrunetype.$O mkrunetype.c $LD $LDFLAGS -o $O.mkrunetype mkrunetype.$O $O.mkrunetype } regen:V: runenormdata runetotypedata runeistypedata runebreakdata mkrunetype.c $UCD