1# $NetBSD: Makefile,v 1.7 2014/03/13 16:19:24 gdt 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 9INCS= ${G_EXTRA_HEADERS:T} 10 11# XXX missed some how 12.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64" 13INCS+= mm_malloc.h 14 15# XXX we should put this in gcc/config.gcc and regenerate the i386/x86 16# mknative files 17mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h 18 cp -f $> ${.TARGET} 19 20CLEANFILES+= mm_malloc.h 21.endif 22 23INCSDIR= /usr/include/gcc-4.8 24 25.include <bsd.prog.mk> 26 27.PATH: ${G_EXTRA_HEADERS:H:O:u} 28