shithub: riscv

ref: de8580ed9f8fa2d34ae01f5b73bb14263322824a
dir: /sys/src/libc/386/mkfile/

View raw version
objtype=386
</$objtype/mkfile

LIB=/$objtype/lib/libc.a
SFILES=\
	argv0.s\
	atom.s\
	getfcr.s\
	main9.s\
	main9p.s\
	memccpy.s\
	memchr.s\
	memcmp.s\
	memcpy.s\
	memmove.s\
	memset.s\
	muldiv.s\
	cycles.s\
	setjmp.s\
	sqrt.s\
	strcat.s\
	strchr.s\
	strcpy.s\
	strlen.s\
	tas.s\
	vlop.s\

CFILES=\
	getcallerpc.c\
	notejmp.c\
	vlrt.c\

HFILES=/sys/include/libc.h

OFILES=${CFILES:%.c=%.$O} ${SFILES:%.s=%.$O}

UPDATE=mkfile\
	$HFILES\
	$CFILES\
	$SFILES\

</sys/src/cmd/mksyslib