crunchgen.1 (68965) | crunchgen.1 (69413) |
---|---|
1.\" 2.\" Copyright (c) 1994 University of Maryland 3.\" All Rights Reserved. 4.\" 5.\" Permission to use, copy, modify, distribute, and sell this software and its 6.\" documentation for any purpose is hereby granted without fee, provided that 7.\" the above copyright notice appear in all copies and that both that 8.\" copyright notice and this permission notice appear in supporting --- 8 unchanged lines hidden (view full) --- 17.\" BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 18.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 20.\" IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21.\" 22.\" Author: James da Silva, Systems Design and Analysis Group 23.\" Computer Science Department 24.\" University of Maryland at College Park | 1.\" 2.\" Copyright (c) 1994 University of Maryland 3.\" All Rights Reserved. 4.\" 5.\" Permission to use, copy, modify, distribute, and sell this software and its 6.\" documentation for any purpose is hereby granted without fee, provided that 7.\" the above copyright notice appear in all copies and that both that 8.\" copyright notice and this permission notice appear in supporting --- 8 unchanged lines hidden (view full) --- 17.\" BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 18.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 20.\" IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21.\" 22.\" Author: James da Silva, Systems Design and Analysis Group 23.\" Computer Science Department 24.\" University of Maryland at College Park |
25.\" $FreeBSD: head/usr.sbin/crunch/crunchgen/crunchgen.1 68965 2000-11-20 20:10:44Z ru $ | 25.\" $FreeBSD: head/usr.sbin/crunch/crunchgen/crunchgen.1 69413 2000-11-30 21:14:54Z luigi $ |
26.\" 27.Dd November 16, 2000 28.Dt CRUNCHGEN 1 29.Os BSD 4 30.Sh NAME 31.Nm crunchgen 32.Nd generates build environment for a crunched binary 33.Sh SYNOPSIS 34.Nm 35.Op Fl foql 36.Op Fl h Ar makefile-header-name 37.Op Fl m Ar makefile-name | 26.\" 27.Dd November 16, 2000 28.Dt CRUNCHGEN 1 29.Os BSD 4 30.Sh NAME 31.Nm crunchgen 32.Nd generates build environment for a crunched binary 33.Sh SYNOPSIS 34.Nm 35.Op Fl foql 36.Op Fl h Ar makefile-header-name 37.Op Fl m Ar makefile-name |
38.Op Fl p Ar obj-prefix |
|
38.Op Fl c Ar c-file-name 39.Op Fl e Ar exec-file-name 40.Op Ar conf-file 41.Sh DESCRIPTION 42A crunched binary is a program made up of many other programs linked 43together into a single executable. 44The crunched binary 45.Fn main --- 94 unchanged lines hidden (view full) --- 140name to 141.Ar makefile-name . 142The default name is 143.Dq <conf-name>.mk . 144.It Fl o 145Add 146.Dq Li make obj 147rules to each program make target. | 39.Op Fl c Ar c-file-name 40.Op Fl e Ar exec-file-name 41.Op Ar conf-file 42.Sh DESCRIPTION 43A crunched binary is a program made up of many other programs linked 44together into a single executable. 45The crunched binary 46.Fn main --- 94 unchanged lines hidden (view full) --- 141name to 142.Ar makefile-name . 143The default name is 144.Dq <conf-name>.mk . 145.It Fl o 146Add 147.Dq Li make obj 148rules to each program make target. |
149.It Fl p Ar obj-prefix 150Set the pathname to be prepended to the 151.Dq srcdir 152when computing the 153.Dq objdir . 154If this option is not present, then the prefix used 155is the content of the 156.Dq MAKEOBJDIRPREFIX 157environment variable, or 158.Dq /usr/obj . |
|
148.It Fl q 149Quiet operation. 150Status messages are suppressed. 151.El 152.Sh CRUNCHGEN CONFIGURATION FILE COMMANDS 153.Nm 154reads specifications from the 155.Ar conf-file --- 63 unchanged lines hidden (view full) --- 219.Ic srcdirs 220for a directory named 221.Ar progname . 222.It Ic special Ar progname Ic objdir Ar pathname 223Set the 224.Dq obj 225directory for 226.Ar progname . | 159.It Fl q 160Quiet operation. 161Status messages are suppressed. 162.El 163.Sh CRUNCHGEN CONFIGURATION FILE COMMANDS 164.Nm 165reads specifications from the 166.Ar conf-file --- 63 unchanged lines hidden (view full) --- 230.Ic srcdirs 231for a directory named 232.Ar progname . 233.It Ic special Ar progname Ic objdir Ar pathname 234Set the 235.Dq obj 236directory for 237.Ar progname . |
227This is normally calculated by looking for a directory named 228.Pa obj 229under the 230.Ic srcdir , 231and if that is not found, the | 238The 239.Dq obj 240directory is normally calculated by looking for a directory 241whose name is that of the source directory prepended by 242one of the following components, in order of priority: 243the -p argument passed to the command line; or, 244the value of the 245.Dq MAKEOBJDIRPREFIX 246environment variable, or 247.Dq /usr/obj . 248If the directory is not found, the |
232.Ic srcdir 233itself becomes the 234.Ic objdir . 235.It Ic special Ar progname Ic buildopts Ar buildopts 236Define a set of build options that should be added to 237.Xr make 1 238targets in addition to those specified using 239.Ic buildopts --- 155 unchanged lines hidden --- | 249.Ic srcdir 250itself becomes the 251.Ic objdir . 252.It Ic special Ar progname Ic buildopts Ar buildopts 253Define a set of build options that should be added to 254.Xr make 1 255targets in addition to those specified using 256.Ic buildopts --- 155 unchanged lines hidden --- |