From owner-svn-src-projects@FreeBSD.ORG Wed Jun 10 18:14:41 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 012DCCDD; Wed, 10 Jun 2015 18:14:40 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D678F14A7; Wed, 10 Jun 2015 18:14:40 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5AIEeQ9078485; Wed, 10 Jun 2015 18:14:40 GMT (envelope-from sjg@FreeBSD.org) Received: (from sjg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5AIEcNJ078470; Wed, 10 Jun 2015 18:14:38 GMT (envelope-from sjg@FreeBSD.org) Message-Id: <201506101814.t5AIEcNJ078470@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sjg set sender to sjg@FreeBSD.org using -f From: "Simon J. Gerraty" Date: Wed, 10 Jun 2015 18:14:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r284232 - projects/bmake/share/mk X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 18:14:41 -0000 Author: sjg Date: Wed Jun 10 18:14:38 2015 New Revision: 284232 URL: https://svnweb.freebsd.org/changeset/base/284232 Log: Building on fmake is no longer possible so removed tests for bmake. Modified: projects/bmake/share/mk/bsd.dep.mk projects/bmake/share/mk/bsd.init.mk projects/bmake/share/mk/bsd.own.mk projects/bmake/share/mk/bsd.progs.mk projects/bmake/share/mk/bsd.subdir.mk projects/bmake/share/mk/local.init.mk projects/bmake/share/mk/sys.mk Modified: projects/bmake/share/mk/bsd.dep.mk ============================================================================== --- projects/bmake/share/mk/bsd.dep.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/bsd.dep.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -147,7 +147,6 @@ beforedepend: ${DHDRS} beforebuild: ${DHDRS} .endif -.if defined(.PARSEDIR) .if ${MK_META_MODE} == "yes" .include # this depend: bypasses that below @@ -156,7 +155,6 @@ depend: beforedepend ${DPSRCS} ${SRCS} a beforedepend: afterdepend: beforedepend .endif -.endif .if !target(depend) .if defined(SRCS) Modified: projects/bmake/share/mk/bsd.init.mk ============================================================================== --- projects/bmake/share/mk/bsd.init.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/bsd.init.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -16,11 +16,9 @@ ____: .include .MAIN: all -.if defined(.PARSEDIR) .if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" && !make(clean*) # this tells lib.mk and prog.mk to not actually build anything _SKIP_BUILD = not building at level 0 .endif -.endif .endif # !target(____) Modified: projects/bmake/share/mk/bsd.own.mk ============================================================================== --- projects/bmake/share/mk/bsd.own.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/bsd.own.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -128,10 +128,8 @@ ____: .if ${MK_CTF} != "no" CTFCONVERT_CMD= ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} -.elif defined(.PARSEDIR) || (defined(MAKE_VERSION) && ${MAKE_VERSION} >= 5201111300) -CTFCONVERT_CMD= .else -CTFCONVERT_CMD= @: +CTFCONVERT_CMD= .endif .if ${MK_INSTALL_AS_USER} != "no" Modified: projects/bmake/share/mk/bsd.progs.mk ============================================================================== --- projects/bmake/share/mk/bsd.progs.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/bsd.progs.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -22,14 +22,10 @@ PROGS += ${PROGS_CXX} # In meta mode, we can capture dependenices for _one_ of the progs. # if makefile doesn't nominate one, we use the first. -.if defined(.PARSEDIR) .ifndef UPDATE_DEPENDFILE_PROG UPDATE_DEPENDFILE_PROG = ${PROGS:[1]} .export UPDATE_DEPENDFILE_PROG .endif -.else -UPDATE_DEPENDFILE_PROG?= no -.endif .ifndef PROG # They may have asked us to build just one Modified: projects/bmake/share/mk/bsd.subdir.mk ============================================================================== --- projects/bmake/share/mk/bsd.subdir.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/bsd.subdir.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -34,7 +34,7 @@ ____: .include -.if defined(.PARSEDIR) && !defined(NEED_SUBDIR) +.if !defined(NEED_SUBDIR) .if ${.MAKE.LEVEL} == 0 && ${MK_META_MODE} == "yes" && !empty(SUBDIR) && !(make(clean*) || make(destroy*)) .include # ignore this Modified: projects/bmake/share/mk/local.init.mk ============================================================================== --- projects/bmake/share/mk/local.init.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/local.init.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -1,7 +1,6 @@ .include "src.opts.mk" -.if defined(.PARSEDIR) .if ${.MAKE.MODE:Unormal:Mmeta*} != "" .if !empty(SUBDIR) && !defined(LIB) && !defined(PROG) && ${.MAKE.MAKEFILES:M*bsd.prog.mk} == "" .if ${.MAKE.MODE:Mleaf*} != "" @@ -10,7 +9,6 @@ .endif .endif .endif -.endif .if ${MK_SYSROOT} == "yes" && !empty(SYSROOT) CFLAGS_LAST+= --sysroot=${SYSROOT} Modified: projects/bmake/share/mk/sys.mk ============================================================================== --- projects/bmake/share/mk/sys.mk Wed Jun 10 18:09:05 2015 (r284231) +++ projects/bmake/share/mk/sys.mk Wed Jun 10 18:14:38 2015 (r284232) @@ -97,17 +97,9 @@ ECHODIR ?= true .endif .endif -.if defined(.PARSEDIR) # _+_ appears to be a workaround for the special src .MAKE not working. # setting it to + interferes with -N _+_ ?= -.elif !empty(.MAKEFLAGS:M-n) && ${.MAKEFLAGS:M-n} == "-n" -# the check above matches only a single -n, so -n -n will result -# in _+_ = + -_+_ ?= -.else -_+_ ?= + -.endif .if defined(%POSIX) FC ?= fort77 @@ -369,16 +361,6 @@ SHELL= ${__MAKE_SHELL} .SHELL: path=${__MAKE_SHELL} .endif -.if !defined(.PARSEDIR) -# We are not bmake, which is more aggressive about searching .PATH -# It is sometime necessary to curb its enthusiasm with .NOPATH -# The following allows us to quietly ignore .NOPATH when not using bmake. -.NOTMAIN: .NOPATH -.NOPATH: - -# Toggle on warnings -.WARN: dirsyntax -.else # is bmake # Tell bmake to expand -V VAR by default .MAKE.EXPAND_VARIABLES= yes @@ -395,7 +377,6 @@ SHELL= ${__MAKE_SHELL} echoFlag=v errFlag=e \ path=${__MAKE_SHELL:U/bin/sh} .endif -.endif # bmake .include