Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add NOBINARIES, useful to build tools are libraries which is...
details: https://anonhg.NetBSD.org/src/rev/4c5d6e541158
branches: trunk
changeset: 356600:4c5d6e541158
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 04 23:54:33 2017 +0000
description:
Add NOBINARIES, useful to build tools are libraries which is what's needed
for mknative.
diffstat:
Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 8dbe78beed0d -r 4c5d6e541158 Makefile
--- a/Makefile Wed Oct 04 23:44:38 2017 +0000
+++ b/Makefile Wed Oct 04 23:54:33 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.318 2017/04/11 14:04:15 christos Exp $
+# $NetBSD: Makefile,v 1.319 2017/10/04 23:54:33 christos Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@@ -30,6 +30,7 @@
# NOCLEANDIR, if defined, will avoid a `make cleandir' at the start
# of the `make build'.
# NOINCLUDES will avoid the `make includes' usually done by `make build'.
+# NOBINARIES will not build binaries, only includes and libraries
#
# See mk.conf(5) for more details.
#
@@ -234,6 +235,7 @@
.endif
BUILDTARGETS+= do-lib
BUILDTARGETS+= do-compat-lib
+.if !defined(NOBINARIES)
.if ${MKX11} != "no"
BUILDTARGETS+= do-x11
.endif
@@ -242,6 +244,7 @@
BUILDTARGETS+= do-extsrc
.endif
BUILDTARGETS+= do-obsolete
+.endif
#
# Enforce proper ordering of some rules.
Home |
Main Index |
Thread Index |
Old Index