From owner-freebsd-small Mon Jan 24 3: 5:21 2000 Delivered-To: freebsd-small@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 717ED15065 for ; Mon, 24 Jan 2000 03:05:01 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id MAA39123; Mon, 24 Jan 2000 12:05:13 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200001241105.MAA39123@info.iet.unipi.it> Subject: crunchgen changes... To: small@freebsd.org Date: Mon, 24 Jan 2000 12:05:13 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In order to help building programs for PicoBSD more easily, i have implemented a couple of very small changes to crunchgen. The first one allows you to specify the name of a Make variable which holds the list of objects to be included special objvar FOO_OBJS Crunchgen tries to use OBJS, which is i think the convention for sources in the standard tree, but different programs might have different conventions. Also, the same makefile could be used to build different binaries e.g. ssh/sshd/ssh-agent ... The second one lets crunchgen use Makefile.{progname} in the current directory instead of the one in {progname} source dir to do its task. This removes the need for patching the Makefile for the program. Would people agree to have these changes incorporated into crunchgen after the feature freeze ? It's really < 10 lines of code and manpage... cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message