summaryrefslogtreecommitdiffstats
path: root/tools/build/Makefile.boot
blob: 74c51196b71b2875b34b9c3b171961b1e5b6b09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $FreeBSD$

# FreeBSD didn't always have the __FBSDID() macro in <sys/cdefs.h>.
# We could do this with a sys/cdefs.h wrapper, but given that this would
# slow down all new builds for such a simple concept, we do it here.
.if defined(BOOTSTRAPPING) && \
    ( ${BOOTSTRAPPING} < 440001 || \
    ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500024 ))
CFLAGS+=	-D__FBSDID=__RCSID
.endif

CFLAGS+=	-I${WORLDTMP}/build/usr/include
DPADD=		${WORLDTMP}/build/usr/lib/libbuild.a
LDADD=		-lbuild
LDFLAGS=	-L${WORLDTMP}/build/usr/lib

OLD_MAKE_CONF?=	/etc/make.conf
.if exists(${OLD_MAKE_CONF})
.include "${OLD_MAKE_CONF}"
.endif
OpenPOWER on IntegriCloud