From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 7 16:34:26 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24D982D8 for ; Fri, 7 Feb 2014 16:34:26 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id D7E181094 for ; Fri, 7 Feb 2014 16:34:25 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:cc06:8a07:85a3:8279]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id B20E14AC1C for ; Fri, 7 Feb 2014 20:34:24 +0400 (MSK) Date: Fri, 7 Feb 2014 20:34:17 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <12310461351.20140207203417@serebryakov.spb.ru> To: freebsd-hackers@freebsd.org Subject: Is it possible to get make variable without recursive expansion? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 16:34:26 -0000 Hello, Freebsd-hackers. Suppose, I have in my Makefile such construction: A=xxx B=yyy ANB=${A} and ${B} Is it possible to get value of ANB without recursive expansion, i.e. string "${A} and ${B} and" in this case? I know, that all expansions are done at last moment (If I don't use ":=" operator), but is it possible to block second- and more-level expansion? I need to output "ANB=${ANB}" construction to external file without further expansion... -- // Black Lion AKA Lev Serebryakov