libk  Diff

Differences From Artifact [657c34aa94]:

To Artifact [0ea82c6f52]:


     1         -linux-headers = /usr/include/asm/
     2         -calls.x86.lin.32.s: $(linux-headers)/unistd_32.h
     3         -	grep "#define __NR_" $< | sed "s;^#define __NR_;%define sys.;" > $@
     4         -calls.x86.lin.64.s: $(linux-headers)/unistd_64.h
     5         -	grep "#define __NR_" $< | sed "s;^#define __NR_;%define sys.;" > $@
            1  +lin-headers = /usr/include/asm
            2  +fbsd-headers = /usr/include/sys
            3  +
            4  +${TMP}:
            5  +	mkdir -p ${TMP}
            6  +
            7  +${TMP}/calls.x86.lin.32.s: $(lin-headers)/unistd_32.h ${TMP}
            8  +	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
            9  +${TMP}/calls.x86.lin.64.s: $(lin-headers)/unistd_64.h ${TMP}
           10  +	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
           11  +${TMP}/calls.x86.fbsd.%.s: $(fbsd-headers)/syscall.h ${TMP}
           12  +	grep "#define	SYS_" $< | sed 's;^#define	SYS_;%define sys.;' > $@