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