Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 21:43:56 -0500
From:      "Nagi Naidu" <nagraj_naidu@hotmail.com>
To:        <nork@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: DarwinStreamingServer-4.1.3
Message-ID:  <BAY13-DAV587231KrxU0000fd9f@hotmail.com>

next in thread | raw e-mail | index | archive | help
     This manual page is intended as a reference document only.  For a =
more
     thorough introduction to make and makefiles, please refer to Make - =
A
     Tutorial.

     The options are as follows:

     -B      Try to be backwards compatible by executing a single shell =
per
             command and by executing the commands to make the sources =
of a
             dependency line in sequence.  This is turned on by default =
unless
             -j is used.

     -C directory
             Change to directory while running.

     -D variable
             Define variable to be 1, in the global context.

     -d flags
             Turn on debugging, and specify which portions of make are =
to
             print debugging information.  Argument flags is one or more =
of
             the following:

             A       Print all possible debugging information; =
equivalent to
                     specifying all of the debugging flags.

             a       Print debugging information about archive searching =
and
                     caching.

             c       Print debugging information about conditional =
evaluation.

             d       Print debugging information about directory =
searching and
                     caching.

             f       Print debugging information about the execution of =
for
                     loops.  Currently a no-op.

             g1      Print the input graph before making anything.

             g2      Print the input graph after making everything, or =
before
                     exiting on error.

             j       Print debugging information about running multiple
                     shells.

             l       Print commands in Makefiles regardless of whether =
or not
                     they are prefixed by @ or other "quiet" flags.  =
Also
                     known as "loud" behavior.

             m       Print debugging information about making targets, =
includ-
                     ing modification dates.

             s       Print debugging information about =
suffix-transformation
                     rules.

             t       Print debugging information about target list =
mainte-
                     nance.

             v       Print debugging information about variable =
assignment.

     -E variable
             Specify a variable whose environment value (if any) will =
override
             macro assignments within makefiles.

     -e      Specify that environment values override macro assignments =
within
             makefiles for all variables.

     -f makefile
             Specify a makefile to read instead of the default =
`makefile' and
             `Makefile'.  If makefile is `-', standard input is read.  =
Multi-
             ple makefiles may be specified, and are read in the order =
speci-
             fied.

     -I directory
             Specify a directory in which to search for makefiles and =
included
             makefiles.  The system makefile directory (or directories, =
see
             the -m option) is automatically included as part of this =
list.

     -i      Ignore non-zero exit of shell commands in the makefile.  =
Equiva-
             lent to specifying `-' before each command line in the =
makefile.

     -j max_jobs
             Specify the maximum number of jobs that make may have =
running at
             any one time.  Turns compatibility mode off, unless the B =
flag is
             also specified.

     -k      Continue processing after errors are encountered, but only =
on
             those targets that do not depend on the target whose =
creation
             caused the error.

     -m directory
             Specify a directory in which to search for sys.mk and =
makefiles
             included via the <...> style.  Multiple directories can be =
added
             to form a search path.  This path will override the default =
sys-
             tem include path: /usr/share/mk.  Furthermore, the system =
include
             path will be appended to the search path used for =
"..."-style
             inclusions (see the -I option).

     -n      Display the commands that would have been executed, but do =
not
             actually execute them.

     -P      Collate the output of a given job and display it only when =
the
             job finishes, instead of mixing the output of parallel jobs
             together.  This option has no effect unless -j is used too.

     -q      Do not execute any commands, but exit 0 if the specified =
targets
             are up-to-date and 1, otherwise.

     -r      Do not use the built-in rules specified in the system =
makefile.

     -S      Stop processing when an error is encountered.  Default =
behaviour.
             This is needed to negate the -k option during recursive =
builds.

     -s      Do not echo any commands as they are executed.  Equivalent =
to
             specifying `@' before each command line in the makefile.

     -t      Rather than re-building a target as specified in the =
makefile,
             create it or update its modification time to make it appear =
up-
             to-date.

     -V variable
             Print make's idea of the value of variable, in the global =
con-
             text.  Do not build any targets.  Multiple instances of =
this
             option may be specified; the variables will be printed one =
per
             line, with a blank line for each null or undefined =
variable.

     -v      Be extra verbose.  For multi-job makes, this will cause =
file ban-
             ners to be generated.

     -X      When using the -V option to print the values of variables, =
do not
             recursively expand the values.

     variable=3Dvalue
             Set the value of the variable variable to value.

     There are seven different types of lines in a makefile: file =
dependency
     specifications, shell commands, variable assignments, include =
statements,
     conditional directives, for loops, and comments.

     In general, lines may be continued from one line to the next by =
ending
     them with a backslash (`\').  The trailing newline character and =
initial
     whitespace on the following line are compressed into a single =
space.

FILE DEPENDENCY SPECIFICATIONS
     Dependency lines consist of one or more targets, an operator, and =
zero or
     more sources.  This creates a relationship where the targets =
``depend''
     on the sources and are usually created from them.  The exact =
relationship
     between the target and the source is determined by the operator =
that sep-
     arates them.  The three operators are as follows:

     :     A target is considered out-of-date if its modification time =
is less
           than those of any of its sources.  Sources for a target =
accumulate
           over dependency lines when this operator is used.  The target =
is
           removed if make is interrupted.

     !     Targets are always re-created, but not until all sources have =
been
           examined and re-created as necessary.  Sources for a target =
accumu-
           late over dependency lines when this operator is used.  The =
target
           is removed if make is interrupted.

     ::    If no sources are specified, the target is always re-created. =
 Oth-
           erwise, a target is considered out-of-date if any of its =
sources
           has been modified more recently than the target.  Sources for =
a
           target do not accumulate over dependency lines when this =
operator
           is used.  The target will not be removed if make is =
interrupted.

     Targets and sources may contain the shell wildcard expressions `?', =
`*',
     `[]' and `{}'.  The expressions `?', `*' and `[]' may only be used =
as
     part of the final component of the target or source, and must be =
used to
     describe existing files.  The expression `{}' need not necessarily =
be
     used to describe existing files.  Expansion is in directory order, =
not
     alphabetically as done in the shell.

SHELL COMMANDS
     Each target may have associated with it a series of shell commands, =
nor-
     mally used to create the target.  Each of the commands in this =
script
     must be preceded by a tab.  While any target may appear on a =
dependency
     line, only one of these dependencies may be followed by a creation
     script, unless the `::' operator is used.

     If the first or first two characters of the command line are `@' =
and/or
     `-', the command is treated specially.  A `@' causes the command =
not to
     be echoed before it is executed.  A `-' causes any non-zero exit =
status
     of the command line to be ignored.

VARIABLE ASSIGNMENTS
     Variables in make are much like variables in the shell, and, by =
tradi-
     tion, consist of all upper-case letters.  The five operators that =
can be
     used to assign values to variables are as follows:

     =3D       Assign the value to the variable.  Any previous value is =
overrid-












Hi nork,

I am getting the following error trying to make Darwin 4.1.3g. I am on =
FreeBSD 4.9. Any hints ?

Thanks for your help


baba# make
********************************************************************
Please get DSS-4_1_3.src.tar.gz from
        http://developer.apple.com/darwin/projects/streaming/
And, you must accept APSL (Apple Public Source License).
Then, put in /usr/ports/distfiles/DSS-4_1_3.src.tar.gz.
********************************************************************
*** Error code 1

Stop in /usr/ports/net/DarwinStreamingServer.
baba#



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