diff options
author | grog <grog@FreeBSD.org> | 2000-08-28 05:47:05 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2000-08-28 05:47:05 +0000 |
commit | fb570e69fa594df7ff03d2ddafacb1462fa101f1 (patch) | |
tree | f48ae9b68c1ed817abebf6e0649c4f51828f37a8 /usr.sbin/crunch/crunchgen/crunchgen.1 | |
parent | 29a5a2cd0c422fcafe1778c345c7dbd19331dff6 (diff) | |
download | FreeBSD-src-fb570e69fa594df7ff03d2ddafacb1462fa101f1.zip FreeBSD-src-fb570e69fa594df7ff03d2ddafacb1462fa101f1.tar.gz |
Add the description of some hard-learnt restrictions and a workaround.
Diffstat (limited to 'usr.sbin/crunch/crunchgen/crunchgen.1')
-rw-r--r-- | usr.sbin/crunch/crunchgen/crunchgen.1 | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/usr.sbin/crunch/crunchgen/crunchgen.1 b/usr.sbin/crunch/crunchgen/crunchgen.1 index b30bc80..825b00a 100644 --- a/usr.sbin/crunch/crunchgen/crunchgen.1 +++ b/usr.sbin/crunch/crunchgen/crunchgen.1 @@ -48,7 +48,7 @@ as many programs as possible onto an installation or system recovery floppy. .Pp -.Nm Crunchgen +.Nm reads in the specifications in .Ar conf-file for a crunched binary, and generates a Makefile and accompanying @@ -65,6 +65,27 @@ to eliminate link-time conflicts between the component programs by hiding all unnecessary symbols. .Pp +.Nm +places specific requirements on package +.Pa Makefiles +which make it unsuitable for use with non-BSD sources. In particular, the +.Nm Makefile +must contain the target +.Ar depend , +and it must define all object files in the variable +.Ar OBJS . +In some cases, you can use a fake +.Pa Makefile : +before looking for +.Pa Makefile +in the source directory +.Pa foo , +.Nm +looks for the file +.Pa Makefile.foo +in the current directory. + +.Pp After .Nm is run, the crunched binary can be built by running ``make -f |