1 # $NetBSD: Makefile,v 1.4.2.1 2014/05/22 16:53:40 yamt Exp $ 2 3 .include "../Makefile.inc" 4 5 .if exists(${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk) 6 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk" 7 .endif 8 9 INCS= ${G_EXTRA_HEADERS:T} 10 11 # XXX missed some how 12 .if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64" 13 INCS+= mm_malloc.h 14 15 # XXX we should put this in gcc/config.gcc and regenerate the i386/x86 16 # mknative files 17 mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h 18 cp -f $> ${.TARGET} 19 20 CLEANFILES+= mm_malloc.h 21 .endif 22 23 INCSDIR= /usr/include/gcc-4.8 24 25 .include <bsd.prog.mk> 26 27 .PATH: ${G_EXTRA_HEADERS:H:O:u} 28