minix/external/gpl3/gcc/usr.bin/include/Makefile

32 lines
805 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2013/08/22 00:17:48 matt Exp $
.include "../Makefile.inc"
# XXX for G_EXTRA_HEADERS. make mknative-gcc put that somewhere
# inside usr.bin/ not lib/
.if exists(${.CURDIR}/../../lib/libgcc/arch/${GCC_MACHINE_ARCH}.mk)
.include "${.CURDIR}/../../lib/libgcc/arch/${GCC_MACHINE_ARCH}.mk"
.endif
INCS= ${G_EXTRA_HEADERS:T}
# XXX missed some how
.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"
INCS+= mm_malloc.h
# XXX we should put this in gcc/config.gcc and regenerate the i386/x86
# mknative files
mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h
cp $> ${.TARGET}
CLEANFILES+= mm_malloc.h
.endif
INCSDIR= /usr/include/gcc-4.5
.include <bsd.prog.mk>
# XXX probably don't need the first of these
.PATH: ${G_out_file:H}
.PATH: ${G_EXTRA_HEADERS:H:O:u}