version 1.20, 1997/03/22 22:33:53 |
version 1.21, 1997/03/24 21:54:13 |
Line 56 the tree where the file gets installed. |
|
Line 56 the tree where the file gets installed. |
|
|
|
The profiled libraries are no longer built in a different directory than |
The profiled libraries are no longer built in a different directory than |
the regular libraries. A new suffix, ".po", is used to denote a profiled |
the regular libraries. A new suffix, ".po", is used to denote a profiled |
object. |
object, and ".so" denotes a shared (position-independent) object. |
|
|
|
There are two variables that control how things are made/installed that |
|
are not set by default: |
|
|
|
BUILD If set 'make install' checks that the targets in the source |
|
directories are up-to-date and remakes them if they |
|
are out of date, instead of blindly trying to install |
|
out of date or non-existant targets. |
|
|
|
UPDATE 'make install' only installs targets that are more recently |
|
modified in the source directories that their installed |
|
counterparts. |
|
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
Line 68 environment or otherwise. You probably |
|
Line 80 environment or otherwise. You probably |
|
The include file <bsd.man.mk> handles installing manual pages and their |
The include file <bsd.man.mk> handles installing manual pages and their |
links. |
links. |
|
|
It has a single target: |
It has a two targets: |
|
|
maninstall: |
maninstall: |
Install the manual pages and their links. |
Install the manual page sources and their links. |
|
catinstall: |
|
Install the preformatted manual pages and their links. |
|
|
It sets/uses the following variables: |
It sets/uses the following variables: |
|
|
Line 111 is included. These files may define any |
|
Line 125 is included. These files may define any |
|
bsd.own.mk sets the following variables, if they are not already defined |
bsd.own.mk sets the following variables, if they are not already defined |
(defaults are in brackets): |
(defaults are in brackets): |
|
|
|
|
|
|
BSDSRCDIR The real path to the system sources, so that 'make obj' |
BSDSRCDIR The real path to the system sources, so that 'make obj' |
will work correctly. [/usr/src] |
will work correctly. [/usr/src] |
|
|
Line 133 MANOWN Manual owner. [bin] |
|
Line 149 MANOWN Manual owner. [bin] |
|
|
|
MANMODE Manual mode. [${NONBINMODE}] |
MANMODE Manual mode. [${NONBINMODE}] |
|
|
|
MANINSTALL Manual installation type: maninstall, catinstall, or both |
|
|
LIBDIR Base path for library installation. [/usr/lib] |
LIBDIR Base path for library installation. [/usr/lib] |
|
|
LINTLIBDIR Base path for lint(1) library installation. [/usr/libdata/lint] |
LINTLIBDIR Base path for lint(1) library installation. [/usr/libdata/lint] |
Line 277 MAN Manual pages (should end in .1 - .9 |
|
Line 295 MAN Manual pages (should end in .1 - .9 |
|
PROG The name of the program to build. If not supplied, nothing |
PROG The name of the program to build. If not supplied, nothing |
is built. |
is built. |
|
|
|
PROGNAME The name that the above program will be installed as, if |
|
different from ${PROG}. |
|
|
SRCS List of source files to build the program. If PROG is not |
SRCS List of source files to build the program. If PROG is not |
defined, it's assumed to be ${PROG}.c. |
defined, it's assumed to be ${PROG}.c. |
|
|
Line 288 DPADD Additional dependencies for the p |
|
Line 309 DPADD Additional dependencies for the p |
|
|
|
The following libraries are predefined for DPADD: |
The following libraries are predefined for DPADD: |
|
|
LIBC /lib/libc.a |
LIBCRT0?= ${DESTDIR}/usr/lib/crt0.o |
LIBCOMPAT /usr/lib/libcompat.a |
LIBC?= ${DESTDIR}/usr/lib/libc.a |
LIBCRYPT /usr/lib/libcrypt.a |
LIBC_PIC?= ${DESTDIR}/usr/lib/libc_pic.a |
LIBCURSES /usr/lib/libcurses.a |
LIBCOMPAT?= ${DESTDIR}/usr/lib/libcompat.a |
LIBDBM /usr/lib/libdbm.a |
LIBCRYPT?= ${DESTDIR}/usr/lib/libcrypt.a |
LIBDES /usr/lib/libdes.a |
LIBCURSES?= ${DESTDIR}/usr/lib/libcurses.a |
LIBL /usr/lib/libl.a |
LIBDBM?= ${DESTDIR}/usr/lib/libdbm.a |
LIBKDB /usr/lib/libkdb.a |
LIBDES?= ${DESTDIR}/usr/lib/libdes.a |
LIBKRB /usr/lib/libkrb.a |
LIBEDIT?= ${DESTDIR}/usr/lib/libedit.a |
LIBKVM /usr/lib/libkvm.a |
LIBGCC?= ${DESTDIR}/usr/lib/libgcc.a |
LIBM /usr/lib/libm.a |
LIBGNUMALLOC?= ${DESTDIR}/usr/lib/libgnumalloc.a |
LIBMP /usr/lib/libmp.a |
LIBKDB?= ${DESTDIR}/usr/lib/libkdb.a |
LIBPC /usr/lib/libpc.a |
LIBKRB?= ${DESTDIR}/usr/lib/libkrb.a |
LIBPLOT /usr/lib/libplot.a |
LIBKVM?= ${DESTDIR}/usr/lib/libkvm.a |
LIBRPC /usr/lib/sunrpc.a |
LIBL?= ${DESTDIR}/usr/lib/libl.a |
LIBTERM /usr/lib/libterm.a |
LIBM?= ${DESTDIR}/usr/lib/libm.a |
LIBUTIL /usr/lib/libutil.a |
LIBMP?= ${DESTDIR}/usr/lib/libmp.a |
|
LIBPC?= ${DESTDIR}/usr/lib/libpc.a |
|
LIBPCAP?= ${DESTDIR}/usr/lib/libpcap.a |
|
LIBPLOT?= ${DESTDIR}/usr/lib/libplot.a |
|
LIBRESOLV?= ${DESTDIR}/usr/lib/libresolv.a |
|
LIBRPCSVC?= ${DESTDIR}/usr/lib/librpcsvc.a |
|
LIBSKEY?= ${DESTDIR}/usr/lib/libskey.a |
|
LIBTERMCAP?= ${DESTDIR}/usr/lib/libtermcap.a |
|
LIBTELNET?= ${DESTDIR}/usr/lib/libtelnet.a |
|
LIBUTIL?= ${DESTDIR}/usr/lib/libutil.a |
|
LIBWRAP?= ${DESTDIR}/usr/lib/libwrap.a |
|
LIBY?= ${DESTDIR}/usr/lib/liby.a |
|
LIBZ?= ${DESTDIR}/usr/lib/libz.a |
|
|
|
|
SHAREDSTRINGS If defined, a new .c.o rule is used that results in shared |
SHAREDSTRINGS If defined, a new .c.o rule is used that results in shared |
strings, using xstr(1). Note that this will not work with |
strings, using xstr(1). Note that this will not work with |
Line 317 SUBDIR A list of subdirectories that sh |
|
Line 351 SUBDIR A list of subdirectories that sh |
|
Each of the targets will execute the same target in the |
Each of the targets will execute the same target in the |
subdirectories. |
subdirectories. |
|
|
|
SCRIPTS A list of interpreter scripts [file.{sh,csh,pl,awk,...}]. |
|
These are installed exactly like programs. |
|
|
|
SCRIPTSNAME The name that the above program will be installed as, if |
|
different from ${SCRIPTS}. These can be further specialized |
|
by setting SCRIPTSNAME_<script>. |
|
|
|
FILES A list of files to install. The installation is controlled |
|
by the FILESNAME, FILESOWN, FILESGRP, FILESMODE, FILESDIR |
|
variables that can be further specialized by FILES<VAR>_<file> |
|
|
The include file <bsd.prog.mk> includes the file named "../Makefile.inc" |
The include file <bsd.prog.mk> includes the file named "../Makefile.inc" |
if it exists, as well as the include file <bsd.man.mk>. |
if it exists, as well as the include file <bsd.man.mk>. |
|
|
Line 352 the variable SUBDIRS. |
|
Line 397 the variable SUBDIRS. |
|
|
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
|
The include file <bsd.links.mk> handles the LINKS and SYMLINKS targets. |
|
|
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
|
The include file <bsd.inc.mk> defines the includes target and uses two |
|
variables: |
|
|
|
INCS The list of include files |
|
|
|
INCSDIR The location to install the include files. |
|
|
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
The include file <bsd.sys.mk> is used by <bsd.prog.mk> and |
The include file <bsd.sys.mk> is used by <bsd.prog.mk> and |
<bsd.lib.mk>. It contains overrides that are used when building |
<bsd.lib.mk>. It contains overrides that are used when building |
the NetBSD source tree. For instance, if "PARALLEL" is defined by |
the NetBSD source tree. For instance, if "PARALLEL" is defined by |