From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 16:52:39 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6828416A41C for ; Mon, 4 Jul 2005 16:52:39 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A0F243D49 for ; Mon, 4 Jul 2005 16:52:39 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 5A4135F77; Mon, 4 Jul 2005 12:52:38 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94995-03; Mon, 4 Jul 2005 12:52:28 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-54-113.ny325.east.verizon.net [68.161.54.113]) by pi.codefab.com (Postfix) with ESMTP id 364A05C69; Mon, 4 Jul 2005 12:52:27 -0400 (EDT) Message-ID: <42C96953.9020406@mac.com> Date: Mon, 04 Jul 2005 12:52:35 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Dexter References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: List all make targets? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 16:52:39 -0000 Michael Dexter wrote: > Is there a 'make' flag to list all make targets for any given directory > containing Makefile* ? grep ':' Makefile ...comes pretty close. > Appreciated! > > On the same topic, can anyone recommend an IDE or utility that can help > me navigate the make hierarchy used by 'build/installworld' and 'release?' An IDE would simply provide a graphic front end that invokes the make commands underneath. It wouldn't make the process less complex. > It's a brilliant mechanism but I get lost chasing variables that may > span /usr/src/Makefile.inc1 and /usr/share/mk/ and... What problem are you trying to solve? You don't need to read all of that to use it, any more than a developer needs to understand each and every header file in order to use #include . -- -Chuck