minix/external/gpl3/gcc/usr.bin/include/Makefile
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00

31 lines
805 B
Makefile

# $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}