{
	"KernelLibc": {
		"Cflags": [
			"-DKERNEL",
			"-fasm"
		],
		"Include": [
			"../klib.json"
		],
		"Install": "/arch/$ARCH/lib/",
		"Library": "klibc.a",
		"Pre": [
			"usyscalls header $JEHANNE/sys/src/sysconf.json > $JEHANNE/arch/amd64/include/syscalls.h",
			"usyscalls code $JEHANNE/sys/src/sysconf.json > $JEHANNE/sys/src/lib/c/amd64/syscalls.c"
		],
		"SourceFiles": [
			"9sys/convD2M.c",
			"9sys/convM2D.c",
			"fmt/dofmt.c",
			"fmt/dorfmt.c",
			"fmt/errfmt.c",
			"fmt/fltfmt.c",
			"fmt/fmt.c",
			"fmt/fmtfd.c",
			"fmt/fmtlock.c",
			"fmt/fmtprint.c",
			"fmt/fmtquote.c",
			"fmt/fmtrune.c",
			"fmt/fmtstr.c",
			"fmt/fmtvprint.c",
			"fmt/runefmtstr.c",
			"fmt/runeseprint.c",
			"fmt/runesmprint.c",
			"fmt/runesnprint.c",
			"fmt/runesprint.c",
			"fmt/runevseprint.c",
			"fmt/runevsmprint.c",
			"fmt/runevsnprint.c",
			"fmt/seprint.c",
			"fmt/smprint.c",
			"fmt/snprint.c",
			"fmt/sprint.c",
			"fmt/vseprint.c",
			"fmt/vsmprint.c",
			"fmt/vsnprint.c",
			"port/_assert.c",
			"port/abs.c",
			"port/asin.c",
			"port/atan.c",
			"port/atan2.c",
			"port/atof.c",
			"port/atol.c",
			"port/atoll.c",
			"port/cistrcmp.c",
			"port/cistrncmp.c",
			"port/cistrstr.c",
			"port/charstod.c",
			"port/cleanname.c",
			"port/ctype.c",
			"port/encodefmt.c",
			"port/exp.c",
			"port/fabs.c",
			"port/floor.c",
			"port/fmod.c",
			"port/frand.c",
			"port/frexp.c",
			"port/getcallerpc.c",
			"port/getfields.c",
			"port/hypot.c",
			"port/lnrand.c",
			"port/log.c",
			"port/lrand.c",
			"port/memccpy.c",
			"port/memchr.c",
			"port/memcmp.c",
			"port/memmove.c",
			"port/memset.c",
			"port/muldiv.c",
			"port/nan.c",
			"port/needsrcquote.c",
			"port/netmkaddr.c",
			"port/nrand.c",
			"port/ntruerand.c",
			"port/pool.c",
			"port/pow.c",
			"port/pow10.c",
			"port/qsort.c",
			"port/quote.c",
			"port/rand.c",
			"port/rune.c",
			"port/runebase.c",
			"port/runebsearch.c",
			"port/runestrcat.c",
			"port/runestrchr.c",
			"port/runestrcmp.c",
			"port/runestrcpy.c",
			"port/runestrecpy.c",
			"port/runestrdup.c",
			"port/runestrncat.c",
			"port/runestrncmp.c",
			"port/runestrncpy.c",
			"port/runestrrchr.c",
			"port/runestrlen.c",
			"port/runestrstr.c",
			"port/runetype.c",
			"port/sin.c",
			"port/sinh.c",
			"port/strcat.c",
			"port/strchr.c",
			"port/strcmp.c",
			"port/strcpy.c",
			"port/strecpy.c",
			"port/strcspn.c",
			"port/strdup.c",
			"port/strlen.c",
			"port/strncat.c",
			"port/strncmp.c",
			"port/strncpy.c",
			"port/strpbrk.c",
			"port/strrchr.c",
			"port/strspn.c",
			"port/strstr.c",
			"port/strtod.c",
			"port/strtok.c",
			"port/strtol.c",
			"port/strtoll.c",
			"port/strtoul.c",
			"port/strtoull.c",
			"port/tan.c",
			"port/tanh.c",
			"port/tokenize.c",
			"port/toupper.c",
			"port/utfecpy.c",
			"port/utflen.c",
			"port/utfnlen.c",
			"port/utfrune.c",
			"port/utfrrune.c",
			"port/utfutf.c",
			"port/u16.c",
			"port/u32.c",
			"port/u64.c",
			"$ARCH/argv0.c",
			"$ARCH/cycles.c",
			"$ARCH/rdpmc.c",
			"$ARCH/setjmp.s",
			"$ARCH/sqrt.s",
			"$ARCH/stackchk.c",
			"$ARCH/tas.s"
		]
	}
}
