libk  Artifact [622e8ca4bc]

Artifact 622e8ca4bc146071d153cddb8e1c6f6bd6975865de11a3906f94756f7bab3592:


${TMP}:
	mkdir -p ${TMP}

${TMP}/calls.x86.lin.32.s: ${lin-headers}/unistd_32.h ${TMP}
	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
${TMP}/calls.x86.lin.64.s: ${lin-headers}/unistd_64.h ${TMP}
	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
${TMP}/calls.x86.fbsd.%.s: ${fbsd-headers}/syscall.h ${TMP}
	grep "#define	SYS_" $< | sed 's;^#define	SYS_;%define sys.;' > $@