1 1.3 thorpej # $NetBSD: Makefile.inc,v 1.3 2021/10/31 22:24:35 thorpej Exp $ 2 1.1 matt 3 1.3 thorpej SRCS+= __sigtramp2.S 4 1.1 matt SRCS+= mulsi3.S 5 1.1 matt 6 1.2 matt CPPFLAGS+= -I. 7 1.2 matt 8 1.2 matt DPSRCS+= sysassym.h 9 1.2 matt CLEANFILES+= sysassym.h sysassym.h.tmp 10 1.2 matt 11 1.2 matt sysassym.h: ${DESTDIR}/usr/include/sys/syscall.h \ 12 1.2 matt ${DESTDIR}/usr/include/sys/syscallargs.h ${ARCHDIR}/syscallargs.awk 13 1.2 matt ${_MKTARGET_CREATE} 14 1.2 matt ${TOOL_CAT} \ 15 1.2 matt ${DESTDIR}/usr/include/sys/syscall.h \ 16 1.2 matt ${DESTDIR}/usr/include/sys/syscallargs.h | \ 17 1.2 matt ${TOOL_AWK} -f ${ARCHDIR}/syscallargs.awk | \ 18 1.2 matt ${TOOL_GENASSYM} -- ${CC} -ffreestanding ${CFLAGS:N-Wa,*} \ 19 1.2 matt ${CPPFLAGS:N-D*} -D_KMEMUSER \ 20 1.2 matt ${GENASSYM_CPPFLAGS} > $@.tmp && \ 21 1.2 matt mv -f $@.tmp $@ 22 1.1 matt 23 1.1 matt .if ${MKSOFTFLOAT} != "no" 24 1.1 matt .include <softfloat/Makefile.inc> 25 1.1 matt .endif 26