aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/crunch
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2000-08-28 05:47:05 +0000
committerGreg Lehey <grog@FreeBSD.org>2000-08-28 05:47:05 +0000
commitb23507f42474e9d76ecd4cf9df6894edf5276bc2 (patch)
tree4a4378b97ba28aa8e37d6e9b5c6bdc7070d3a785 /usr.sbin/crunch
parent5f2686b793d13d5dc96059af18a650b2cb4d90b1 (diff)
Notes
Diffstat (limited to 'usr.sbin/crunch')
-rw-r--r--usr.sbin/crunch/crunchgen/crunchgen.123
1 files changed, 22 insertions, 1 deletions
diff --git a/usr.sbin/crunch/crunchgen/crunchgen.1 b/usr.sbin/crunch/crunchgen/crunchgen.1
index b30bc80d6660..825b00ab8dae 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