Download (BID) Specification - Operating Systems Group

Transcript
8.1
8.1.3
Common Role-File Targets and Parameters
8
THE ROLE-FILES
Optional Parameters
Most role files use the following variables:
SUBDIRS
DEPEND VERBOSE
DROPS STDDIR
HAVE LDSO
SHOWMESSAGES
VERBOSE
8.1.4
used by prog.mk, lib.mk, idl.mk, doc.mk
A list of subdirectories that will be treated specially: For each element of the list, a
target will be created. If this target it called, the all-rule in the according directory
will be called. Furthermore, scrub, clean and cleanall are made recursively for
the specified directories. Default: unset.
used by all roles
If set to ’@’, no commands for dependency-generation will be shown. Default:
unset.
used by all roles
The base-directory of the install-tree. Default: /home/drops
used by prog.mk, lib.mk, idl.mk
If enabled (nonempty), dependency generation uses descent algorithms (see Section 5 for details). Only disable this option if your host system does not provide
ld.so, set this option empty then. Default: y (enabled).
used by all roles
If set to ”true” or ”y”, a short textual description for every compilation step is
printed. Default: true.
used by all roles
If set to ’@’, the commands invoked by make will not be shown. Default: unset.
Provided Variables
The following variables are provided by the role files.
PKGNAME
The last part of the directory name specified in $(PKGDIR).
21