Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 12:05:13 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        small@freebsd.org
Subject:   crunchgen changes...
Message-ID:  <200001241105.MAA39123@info.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
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 <progname> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001241105.MAA39123>