From owner-freebsd-questions Mon Sep 9 21:36:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8309837B400 for ; Mon, 9 Sep 2002 21:36:23 -0700 (PDT) Received: from mail.innovativeinternet.net (mail.innovativeinternet.net [208.244.164.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9A9843E3B for ; Mon, 9 Sep 2002 21:36:22 -0700 (PDT) (envelope-from Harlan.Stenn@pfcs.com) Received: from pcpsj.pfcs.com (harlan.xecu.net [216.127.150.112]) by mail.innovativeinternet.net (Postfix) with ESMTP id 69542273E for ; Tue, 10 Sep 2002 00:36:20 -0400 (EDT) Received: from puss.pfcs.com (puss.pfcs.com [192.52.69.46]) by pcpsj.pfcs.com (Postfix) with ESMTP id C1430D3A9 for ; Tue, 10 Sep 2002 00:36:12 -0400 (EDT) Received: from localhost [127.0.0.1] (HELO puss.pfcs.com) by puss.pfcs.com (8.12.5/8.12.5) via ESMTP id for ; Tue, 10 Sep 2002 00:36:12 -0400 (EDT) To: questions@freebsd.org Subject: make variable expansion question X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n:c(Cc* $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C d User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Date: Tue, 10 Sep 2002 00:36:10 -0400 Message-ID: <27690.1031632570@puss.pfcs.com> From: Harlan Stenn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG automake supports: bin_PROGRAMS = a b a_SOURCES = a.c b_SOURCES = b.c and I thought I'd spend some time trying to get similar functionality into the .mk rules. My first step is to generate the variable names a_SOURCES and b_SOURCES from bin_PROGRAMS. Easy. The next step is to get the value of a_SOURCES, given that "a_SOURCES" is the value of a variable. I've tried a bunch of things to try and make this happen, none of which are working. (Like $${$${x}}, `eval echo stuff`, etc.) Can somebody please point me in the right direction? H To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message