freebsd-skq/tools/build/Makefile.boot
Warner Losh 1c62f92354 -legacy and /.../legacy/... looks better than build or bootstrap in
the logs, so use that instead.

Submitted by: obrien.
2003-04-06 21:46:44 +00:00

21 lines
631 B
Clojure

# $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}/legacy/usr/include
DPADD= ${WORLDTMP}/legacy/usr/lib/libegacy.a
LDADD= -legacy
LDFLAGS= -L${WORLDTMP}/legacy/usr/lib
OLD_MAKE_CONF?= /etc/make.conf
.if exists(${OLD_MAKE_CONF})
.include "${OLD_MAKE_CONF}"
.endif