1# $FreeBSD: head/gnu/usr.bin/binutils/Makefile.inc0 107501 2002-12-02 09:40:02Z obrien $
| 1# $FreeBSD: head/gnu/usr.bin/binutils/Makefile.inc0 126197 2004-02-24 19:23:33Z johan $
|
2# 3# This is included explicitly at the top of each sub-Makefile. We can't 4# use the normal "Makefile.inc" mechanism, because we need some of these 5# definitions before the sub-Makefile is processed. 6 7VERSION= "2.13.2 [FreeBSD] 2002-11-27" 8VERSION_DATE= 20021127 9 10TARGET_ARCH?= ${MACHINE_ARCH} 11 12# RELTOP is the relative path to this point in the source or object 13# tree, from any subdirectory of same. It gets extra "../" prefixes 14# added to it as we descend into subdirectories. 15RELTOP:= .. 16 17RELSRC= ${RELTOP}/../../../contrib/binutils 18SRCDIR= ${.CURDIR}/${RELSRC} 19
| 2# 3# This is included explicitly at the top of each sub-Makefile. We can't 4# use the normal "Makefile.inc" mechanism, because we need some of these 5# definitions before the sub-Makefile is processed. 6 7VERSION= "2.13.2 [FreeBSD] 2002-11-27" 8VERSION_DATE= 20021127 9 10TARGET_ARCH?= ${MACHINE_ARCH} 11 12# RELTOP is the relative path to this point in the source or object 13# tree, from any subdirectory of same. It gets extra "../" prefixes 14# added to it as we descend into subdirectories. 15RELTOP:= .. 16 17RELSRC= ${RELTOP}/../../../contrib/binutils 18SRCDIR= ${.CURDIR}/${RELSRC} 19
|
20.if (${TARGET_ARCH} == "alpha") 21WARNS= 2 22.else 23WARNS= 3 24.endif
| |
25CFLAGS+= -D_GNU_SOURCE 26CFLAGS+= -I. 27.if exists(${.CURDIR}/${TARGET_ARCH}) 28CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} 29.endif 30CFLAGS+= -I${.CURDIR} 31CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH} 32CFLAGS+= -I${SRCDIR}/include
--- 18 unchanged lines hidden --- | 20CFLAGS+= -D_GNU_SOURCE 21CFLAGS+= -I. 22.if exists(${.CURDIR}/${TARGET_ARCH}) 23CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} 24.endif 25CFLAGS+= -I${.CURDIR} 26CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH} 27CFLAGS+= -I${SRCDIR}/include
--- 18 unchanged lines hidden --- |