Makefile revision 1.9
1# $NetBSD: Makefile,v 1.9 2017/10/08 20:40:06 christos 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# Part of the standard headers, the rest of which we replace. 12INCS+= stdatomic.h 13 14# XXX missed some how 15.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64" 16INCS+= mm_malloc.h 17 18# XXX we should put this in gcc/config.gcc and regenerate the i386/x86 19# mknative files 20mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h 21 cp -f $> ${.TARGET} 22 23CLEANFILES+= mm_malloc.h 24.endif 25 26INCSDIR= /usr/include/gcc-5 27 28.include <bsd.prog.mk> 29 30.PATH: ${G_EXTRA_HEADERS:H:O:u} 31