Add the description of some hard-learnt restrictions and a workaround.

This commit is contained in:
Greg Lehey 2000-08-28 05:47:05 +00:00
parent 5f2686b793
commit b23507f424
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65148

View File

@ -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
@ -64,6 +64,27 @@ uses the companion program
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