1# $NetBSD: Makefile.inc,v 1.2 2014/09/05 18:09:37 matt Exp $ 2 3SRCS+= __sigaction14_sigtramp.c __sigtramp2.S 4SRCS+= mulsi3.S 5 6CPPFLAGS+= -I. 7 8DPSRCS+= sysassym.h 9CLEANFILES+= sysassym.h sysassym.h.tmp 10 11sysassym.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