diff options
author | kib <kib@FreeBSD.org> | 2012-04-29 09:32:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-04-29 09:32:44 +0000 |
commit | ddc91163077d5a13dee524efab9ab60f26f59f72 (patch) | |
tree | 61e9ad3e4db471d181914e2e1ed149f7f3a67676 /usr.bin/make | |
parent | cf28d816e5c390aab9ee55d8d92f45bbc6551307 (diff) | |
download | FreeBSD-src-ddc91163077d5a13dee524efab9ab60f26f59f72.zip FreeBSD-src-ddc91163077d5a13dee524efab9ab60f26f59f72.tar.gz |
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked. Option is disabled by
default.
Reviewed by: ru (previous version)
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile index 2dc7e583..f67cf50 100644 --- a/usr.bin/make/Makefile +++ b/usr.bin/make/Makefile @@ -2,13 +2,17 @@ # $Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $ # $FreeBSD$ +.include <bsd.own.mk> + PROG= make CFLAGS+=-I${.CURDIR} SRCS= arch.c buf.c cond.c dir.c for.c hash.c hash_tables.c job.c \ lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c \ util.c var.c +.if ${MK_SHARED_TOOLCHAIN} == "no" NO_SHARED?= YES +.endif # Version has the RYYYYMMDDX format, where R is from RELENG_<R> CFLAGS+=-DMAKE_VERSION=\"5201111300\" |