Makefile revision 1.14
1# $NetBSD: Makefile,v 1.14 2023/08/01 05:57:55 mrg Exp $ 2 3.include <bsd.init.mk> 4 5SUBDIR= sanitizer 6 7.if exists(${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk) 8.include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk" 9.endif 10 11INCS= ${G_EXTRA_HEADERS:T} 12 13# Part of the standard headers, the rest of which we replace. 14INCS+= stdatomic.h 15 16# XXX missed some how 17.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64" 18INCS+= mm_malloc.h 19 20.if !target(obj) 21mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h 22 cp -f $> ${.TARGET} 23.endif 24 25CLEANFILES+= mm_malloc.h 26.endif 27 28INCSDIR= ${GCC_INCSDIR} 29 30.include <bsd.subdir.mk> 31.include <bsd.prog.mk> 32 33.PATH: ${G_EXTRA_HEADERS:H:O:u} 34