libk  Diff

Differences From Artifact [3adea95421]:

To Artifact [21471ec514]:


     1      1   ${TMP}:
     2      2   	mkdir -p ${TMP}
     3      3   
     4         -${TMP}/calls.x86.lin.32.s: ${lin-headers}/unistd_32.h ${TMP}
     5         -	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
     6         -${TMP}/calls.x86.lin.64.s: ${lin-headers}/unistd_64.h ${TMP}
     7         -	grep "#define __NR_" $< | sed 's;^#define __NR_;%define sys.;' > $@
     8         -${TMP}/calls.x86.fbsd.%.s: ${fbsd-headers}/syscall.h ${TMP}
     9         -	grep "#define	SYS_" $< | sed 's;^#define	SYS_;%define sys.;' > $@
            4  +${TMP}/calls.x86.lin.32.tbl: ${lin-headers}/unistd_32.h ${TMP}
            5  +	grep "#define __NR_" $< | sed 's;^#define __NR_;;' > $@
            6  +${TMP}/calls.x86.lin.64.tbl: ${lin-headers}/unistd_64.h ${TMP}
            7  +	grep "#define __NR_" $< | sed 's;^#define __NR_;;' > $@
            8  +${TMP}/calls.x86.fbsd.%.tbl: ${fbsd-headers}/syscall.h ${TMP}
            9  +	grep "#define	SYS_" $< | sed 's;^#define	SYS_;;' | sed 's;[\t ]\+; ;' > $@
           10  +
           11  +${TMP}/calls.s: ${TMP}/calls.${TARGET}.tbl
           12  +	awk -f syscall.awk -v out=asm <$< >$@
           13  +${TMP}/calls.h: ${TMP}/calls.${TARGET}.tbl
           14  +	awk -f syscall.awk -v out=header <$< >$@
           15  +
    10     16   ${TMP}/typesize: typesize.c
    11     17   	$(CC) -std=c11 $< -o $@
    12     18   ${TMP}/typesize.def: ${TMP}/typesize
    13     19   	$< > $@