{
	"CrtFiles": {
		"Cflags": [
			"-fasm"
		],
		"Include": [
			"../lib.json"
		],
		"Post": [
			"cp crt0.o crti.o crtn.o $JEHANNE/arch/$ARCH/lib/"
		],
		"SourceFiles": [
			"$ARCH/crt0.s",
			"$ARCH/crti.s",
			"$ARCH/crtn.s"
		]
	},
	"LibJehanne": {
		"Cflags": [
			"-fasm"
		],
		"Include": [
			"../lib.json"
		],
		"Install": "/arch/$ARCH/lib/",
		"Library": "libjehanne.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/jehanne/amd64/syscalls.c"
		],
		"Post": [
			"TOOL=ar; $TOOLPREFIX$TOOL rcs $JEHANNE/arch/$ARCH/lib/libssp.a",
			"TOOL=ar; $TOOLPREFIX$TOOL rcs $JEHANNE/arch/$ARCH/lib/libssp_nonshared.a"
		],
		"SourceFiles": [
			"9sys/access.c",
			"9sys/announce.c",
			"9sys/awakened.c",
			"9sys/chdir.c",
			"9sys/convD2M.c",
			"9sys/convM2D.c",
			"9sys/cputime.c",
			"9sys/ctime.c",
			"9sys/dial.c",
			"9sys/dirfstat.c",
			"9sys/dirfwstat.c",
			"9sys/dirmodefmt.c",
			"9sys/dirread.c",
			"9sys/dirstat.c",
			"9sys/dirwstat.c",
			"9sys/dup.c",
			"9sys/fork.c",
			"9sys/getnetconninfo.c",
			"9sys/getenv.c",
			"9sys/getmainpid.c",
			"9sys/getpid.c",
			"9sys/getppid.c",
			"9sys/getwd.c",
			"9sys/iounit.c",
			"9sys/nsec.c",
			"9sys/nulldir.c",
			"9sys/ocreate.c",
			"9sys/pexec.c",
			"9sys/pipe.c",
			"9sys/postnote.c",
			"9sys/privalloc.c",
			"9sys/pushssl.c",
			"9sys/putenv.c",
			"9sys/qlock.c",
			"9sys/read.c",
			"9sys/rerrstr.c",
			"9sys/segbrk.c",
			"9sys/segattach.c",
			"9sys/setnetmtpt.c",
			"9sys/sleep.c",
			"9sys/stat.c",
			"9sys/sysfatal.c",
			"9sys/syslog.c",
			"9sys/sysname.c",
			"9sys/time.c",
			"9sys/times.c",
			"9sys/tm2sec.c",
			"9sys/truerand.c",
			"9sys/tsemacquire.c",
			"9sys/wait.c",
			"9sys/waitpid.c",
			"9sys/werrstr.c",
			"9sys/write.c",
			"apw/abort.c",
			"apw/div.c",
			"apw/eprintf.c",
			"apw/exit.c",
			"apw/system.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/fprint.c",
			"fmt/print.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/vfprint.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/atexit.c",
			"port/atnotify.c",
			"port/atof.c",
			"port/atol.c",
			"port/atoll.c",
			"port/bsearch.c",
			"port/cistrcmp.c",
			"port/cistrncmp.c",
			"port/cistrstr.c",
			"port/charstod.c",
			"port/cleanname.c",
			"port/ctype.c",
			"port/encodefmt.c",
			"port/execl.c",
			"port/exits.c",
			"port/exp.c",
			"port/fabs.c",
			"port/floor.c",
			"port/fmod.c",
			"port/frand.c",
			"port/frexp.c",
			"port/getfields.c",
			"port/getuser.c",
			"port/hangup.c",
			"port/hypot.c",
			"port/lnrand.c",
			"port/lock.c",
			"port/log.c",
			"port/lrand.c",
			"port/malloc.c",
			"port/memccpy.c",
			"port/memchr.c",
			"port/memcmp.c",
			"port/memmove.c",
			"port/memset.c",
			"port/mktemp.c",
			"port/muldiv.c",
			"port/nan.c",
			"port/needsrcquote.c",
			"port/netmkaddr.c",
			"port/nrand.c",
			"port/ntruerand.c",
			"port/perror.c",
			"port/pool.c",
			"port/pow.c",
			"port/pow10.c",
			"port/qsort.c",
			"port/quote.c",
			"port/rand.c",
			"port/readn.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/initlib.c",
			"$ARCH/syscalls.c",
			"$ARCH/notejmp.c",
			"$ARCH/cycles.c",
			"$ARCH/argv0.c",
			"$ARCH/rdpmc.c",
			"$ARCH/setjmp.s",
			"$ARCH/stackchk.c",
			"$ARCH/getfcr.s",
			"$ARCH/sqrt.s",
			"$ARCH/tas.s",
			"$ARCH/atom.s"
		]
	}
}
