bsd.README revision 1.23
11.23Schristos# $NetBSD: bsd.README,v 1.23 1997/03/27 17:33:35 christos Exp $ 21.1Scgd# @(#)bsd.README 5.1 (Berkeley) 5/11/90 31.1Scgd 41.1ScgdThis is the README file for the new make "include" files for the BSD 51.1Scgdsource tree. The files are installed in /usr/share/mk, and are, by 61.11Sjtcconvention, named with the suffix ".mk". 71.1Scgd 81.1ScgdNote, this file is not intended to replace reading through the .mk 91.1Scgdfiles for anything tricky. 101.1Scgd 111.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 121.1Scgd 131.1ScgdRANDOM THINGS WORTH KNOWING: 141.1Scgd 151.1ScgdThe files are simply C-style #include files, and pretty much behave like 161.1Scgdyou'd expect. The syntax is slightly different in that a single '.' is 171.1Scgdused instead of the hash mark, i.e. ".include <bsd.prog.mk>". 181.1Scgd 191.1ScgdOne difference that will save you lots of debugging time is that inclusion 201.1Scgdof the file is normally done at the *end* of the Makefile. The reason for 211.1Scgdthis is because .mk files often modify variables and behavior based on the 221.1Scgdvalues of variables set in the Makefile. To make this work, remember that 231.1Scgdthe FIRST target found is the target that is used, i.e. if the Makefile has: 241.1Scgd 251.1Scgd a: 261.1Scgd echo a 271.1Scgd a: 281.1Scgd echo a number two 291.1Scgd 301.1Scgdthe command "make a" will echo "a". To make things confusing, the SECOND 311.1Scgdvariable assignment is the overriding one, i.e. if the Makefile has: 321.1Scgd 331.1Scgd a= foo 341.1Scgd a= bar 351.1Scgd 361.1Scgd b: 371.1Scgd echo ${a} 381.1Scgd 391.1Scgdthe command "make b" will echo "bar". This is for compatibility with the 401.1Scgdway the V7 make behaved. 411.1Scgd 421.1ScgdIt's fairly difficult to make the BSD .mk files work when you're building 431.1Scgdmultiple programs in a single directory. It's a lot easier split up the 441.1Scgdprograms than to deal with the problem. Most of the agony comes from making 451.1Scgdthe "obj" directory stuff work right, not because we switch to a new version 461.1Scgdof make. So, don't get mad at us, figure out a better way to handle multiple 471.1Scgdarchitectures so we can quit using the symbolic link stuff. (Imake doesn't 481.1Scgdcount.) 491.1Scgd 501.1ScgdThe file .depend in the source directory is expected to contain dependencies 511.1Scgdfor the source files. This file is read automatically by make after reading 521.1Scgdthe Makefile. 531.1Scgd 541.1ScgdThe variable DESTDIR works as before. It's not set anywhere but will change 551.1Scgdthe tree where the file gets installed. 561.1Scgd 571.1ScgdThe profiled libraries are no longer built in a different directory than 581.1Scgdthe regular libraries. A new suffix, ".po", is used to denote a profiled 591.21Schristosobject, and ".so" denotes a shared (position-independent) object. 601.21Schristos 611.21SchristosThere are two variables that control how things are made/installed that 621.21Schristosare not set by default: 631.21Schristos 641.21SchristosBUILD If set 'make install' checks that the targets in the source 651.21Schristos directories are up-to-date and remakes them if they 661.21Schristos are out of date, instead of blindly trying to install 671.21Schristos out of date or non-existant targets. 681.21Schristos 691.21SchristosUPDATE 'make install' only installs targets that are more recently 701.21Schristos modified in the source directories that their installed 711.21Schristos counterparts. 721.1Scgd 731.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 741.1Scgd 751.1ScgdThe include file <sys.mk> has the default rules for all makes, in the BSD 761.1Scgdenvironment or otherwise. You probably don't want to touch this file. 771.1Scgd 781.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 791.1Scgd 801.1ScgdThe include file <bsd.man.mk> handles installing manual pages and their 811.1Scgdlinks. 821.1Scgd 831.21SchristosIt has a two targets: 841.1Scgd 851.1Scgd maninstall: 861.21Schristos Install the manual page sources and their links. 871.21Schristos catinstall: 881.21Schristos Install the preformatted manual pages and their links. 891.1Scgd 901.1ScgdIt sets/uses the following variables: 911.1Scgd 921.1ScgdMANDIR Base path for manual installation. 931.1Scgd 941.1ScgdMANGRP Manual group. 951.1Scgd 961.1ScgdMANOWN Manual owner. 971.1Scgd 981.1ScgdMANMODE Manual mode. 991.1Scgd 1001.1ScgdMANSUBDIR Subdirectory under the manual page section, i.e. "/vax" 1011.1Scgd or "/tahoe" for machine specific manual pages. 1021.1Scgd 1031.15ScgdMAN The manual pages to be installed (use a .1 - .9 suffix). 1041.1Scgd 1051.15ScgdMLINKS List of manual page links (using a .1 - .9 suffix). The 1061.1Scgd linked-to file must come first, the linked file second, 1071.1Scgd and there may be multiple pairs. The files are soft-linked. 1081.1Scgd 1091.1ScgdThe include file <bsd.man.mk> includes a file named "../Makefile.inc" if 1101.1Scgdit exists. 1111.1Scgd 1121.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 1131.1Scgd 1141.17SthorpejThe include file <bsd.own.mk> contains source tree configuration parameters, 1151.17Sthorpejsuch as the owners, groups, etc. for both manual pages and binaries, and 1161.17Sthorpeja few global "feature configuration" parameters. 1171.1Scgd 1181.1ScgdIt has no targets. 1191.1Scgd 1201.17SthorpejTo get system-specific configuration parameters, bsd.own.mk will try to 1211.17Sthorpejinclude the file specified by the "MAKECONF" variable. If MAKECONF is not 1221.17Sthorpejset, or no such file exists, the system make configuration file, /etc/mk.conf 1231.17Sthorpejis included. These files may define any of the variables described below. 1241.17Sthorpej 1251.17Sthorpejbsd.own.mk sets the following variables, if they are not already defined 1261.17Sthorpej(defaults are in brackets): 1271.15Scgd 1281.21Schristos 1291.21Schristos 1301.15ScgdBSDSRCDIR The real path to the system sources, so that 'make obj' 1311.15Scgd will work correctly. [/usr/src] 1321.15Scgd 1331.15ScgdBSDOBJDIR The real path to the system 'obj' tree, so that 'make obj' 1341.15Scgd will work correctly. [/usr/obj] 1351.15Scgd 1361.15ScgdBINGRP Binary group. [bin] 1371.15Scgd 1381.15ScgdBINOWN Binary owner. [bin] 1391.15Scgd 1401.15ScgdBINMODE Binary mode. [555] 1411.15Scgd 1421.15ScgdNONBINMODE Mode for non-executable files. [444] 1431.15Scgd 1441.15ScgdMANDIR Base path for manual installation. [/usr/share/man/cat] 1451.15Scgd 1461.15ScgdMANGRP Manual group. [bin] 1471.15Scgd 1481.15ScgdMANOWN Manual owner. [bin] 1491.15Scgd 1501.15ScgdMANMODE Manual mode. [${NONBINMODE}] 1511.15Scgd 1521.21SchristosMANINSTALL Manual installation type: maninstall, catinstall, or both 1531.21Schristos 1541.15ScgdLIBDIR Base path for library installation. [/usr/lib] 1551.15Scgd 1561.15ScgdLINTLIBDIR Base path for lint(1) library installation. [/usr/libdata/lint] 1571.15Scgd 1581.15ScgdLIBGRP Library group. [${BINGRP}] 1591.15Scgd 1601.15ScgdLIBOWN Library owner. [${BINOWN}] 1611.15Scgd 1621.15ScgdLIBMODE Library mode. [${NONBINMODE}] 1631.15Scgd 1641.15ScgdDOCDIR Base path for system documentation (e.g. PSD, USD, etc.) 1651.15Scgd installation. [/usr/share/doc] 1661.15Scgd 1671.15ScgdDOCGRP Documentation group. [bin] 1681.15Scgd 1691.15ScgdDOCOWN Documentation owner. [bin] 1701.15Scgd 1711.15ScgdDOCMODE Documentation mode. [${NONBINMODE}] 1721.15Scgd 1731.15ScgdNLSDIR Base path for National Language Support files installation. 1741.15Scgd [/usr/share/nls] 1751.1Scgd 1761.15ScgdNLSGRP National Language Support files group. [bin] 1771.1Scgd 1781.15ScgdNLSOWN National Language Support files owner. [bin] 1791.1Scgd 1801.15ScgdNLSMODE National Language Support files mode. [${NONBINMODE}] 1811.1Scgd 1821.1ScgdSTRIP The flag passed to the install program to cause the binary 1831.1Scgd to be stripped. This is to be used when building your 1841.1Scgd own install script so that the entire system can be made 1851.15Scgd stripped/not-stripped using a single knob. [-s] 1861.1Scgd 1871.2ScgdCOPY The flag passed to the install program to cause the binary 1881.2Scgd to be copied rather than moved. This is to be used when 1891.2Scgd building our own install script so that the entire system 1901.2Scgd can either be installed with copies, or with moves using 1911.15Scgd a single knob. [-c] 1921.15Scgd 1931.17SthorpejAdditionally, the following variables may be set by bsd.own.mk or in a 1941.17Sthorpejmake configuration file to modify the behaviour of the system build 1951.17Sthorpejprocess (default values are in brackets along with comments, if set by 1961.17Sthorpejbsd.own.mk): 1971.15Scgd 1981.15ScgdEXPORTABLE_SYSTEM 1991.15Scgd Do not build /usr/src/domestic, even if it is present. 2001.2Scgd 2011.15ScgdSKEY Compile in support for S/key authentication. [yes, set 2021.15Scgd unconditionally] 2031.15Scgd 2041.15ScgdKERBEROS Compile in support for Kerberos 4 authentication. 2051.15Scgd 2061.15ScgdKERBEROS5 Compile in support for Kerberos 5 authentication. 2071.15Scgd 2081.15ScgdMANZ Compress manual pages at installation time. 2091.15Scgd 2101.15ScgdSYS_INCLUDE Copy or symlink kernel include files into /usr/include. 2111.15Scgd Possible values are "symlinks" or "copies" (which is 2121.15Scgd the same as the variable being unset). 2131.1Scgd 2141.15ScgdNOPROFILE Do not build profiled versions of system libraries 2151.1Scgd 2161.15ScgdNOPIC Do not build PIC versions of system libraries, and 2171.15Scgd do not build shared libraries. [set if ${MACHINE_ARCH} 2181.18Smark is "mips", "vax", "alpha" or "arm32", unset otherwise.] 2191.1Scgd 2201.15ScgdNOLINT Do not build lint libraries. [set, set unconditionally] 2211.1Scgd 2221.17Sthorpejbsd.own.mk is generally useful when building your own Makefiles so that 2231.1Scgdthey use the same default owners etc. as the rest of the tree. 2241.1Scgd 2251.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2261.1Scgd 2271.1ScgdThe include file <bsd.prog.mk> handles building programs from one or 2281.1Scgdmore source files, along with their manual pages. It has a limited number 2291.1Scgdof suffixes, consistent with the current needs of the BSD tree. 2301.1Scgd 2311.16SjtcIt has eight targets: 2321.1Scgd 2331.1Scgd all: 2341.1Scgd build the program and its manual page 2351.1Scgd clean: 2361.1Scgd remove the program, any object files and the files a.out, 2371.1Scgd Errs, errs, mklog, and core. 2381.1Scgd cleandir: 2391.1Scgd remove all of the files removed by the target clean, as 2401.1Scgd well as .depend, tags, and any manual pages. 2411.1Scgd depend: 2421.1Scgd make the dependencies for the source files, and store 2431.1Scgd them in the file .depend. 2441.16Sjtc includes: 2451.16Sjtc install any header files. 2461.1Scgd install: 2471.1Scgd install the program and its manual pages; if the Makefile 2481.1Scgd does not itself define the target install, the targets 2491.1Scgd beforeinstall and afterinstall may also be used to cause 2501.1Scgd actions immediately before and after the install target 2511.1Scgd is executed. 2521.1Scgd lint: 2531.1Scgd run lint on the source files 2541.1Scgd tags: 2551.1Scgd create a tags file for the source files. 2561.1Scgd 2571.1ScgdIt sets/uses the following variables: 2581.1Scgd 2591.1ScgdBINGRP Binary group. 2601.1Scgd 2611.1ScgdBINOWN Binary owner. 2621.1Scgd 2631.1ScgdBINMODE Binary mode. 2641.1Scgd 2651.1ScgdCLEANFILES Additional files to remove for the clean and cleandir targets. 2661.1Scgd 2671.1ScgdCOPTS Additional flags to the compiler when creating C objects. 2681.1Scgd 2691.1ScgdLDADD Additional loader objects. Usually used for libraries. 2701.1Scgd For example, to load with the compatibility and utility 2711.1Scgd libraries, use: 2721.1Scgd 2731.5Sjtc LDADD+=-lutil -lcompat 2741.1Scgd 2751.1ScgdLDFLAGS Additional loader flags. 2761.1Scgd 2771.1ScgdLINKS The list of binary links; should be full pathnames, the 2781.1Scgd linked-to file coming first, followed by the linked 2791.1Scgd file. The files are hard-linked. For example, to link 2801.1Scgd /bin/test and /bin/[, use: 2811.1Scgd 2821.1Scgd LINKS= ${DESTDIR}/bin/test ${DESTDIR}/bin/[ 2831.19Sperry 2841.19SperrySYMLINKS The list of symbolic links; should be full pathnames. 2851.20Sperry Syntax is identical to LINKS. Note that DESTDIR is not 2861.20Sperry automatically included in the link. 2871.1Scgd 2881.15ScgdMAN Manual pages (should end in .1 - .9). If no MAN variable is 2891.8Scgd defined, "MAN=${PROG}.1" is assumed. 2901.1Scgd 2911.1ScgdPROG The name of the program to build. If not supplied, nothing 2921.1Scgd is built. 2931.1Scgd 2941.21SchristosPROGNAME The name that the above program will be installed as, if 2951.21Schristos different from ${PROG}. 2961.21Schristos 2971.1ScgdSRCS List of source files to build the program. If PROG is not 2981.1Scgd defined, it's assumed to be ${PROG}.c. 2991.1Scgd 3001.1ScgdDPADD Additional dependencies for the program. Usually used for 3011.1Scgd libraries. For example, to depend on the compatibility and 3021.1Scgd utility libraries use: 3031.1Scgd 3041.5Sjtc DPADD+=${LIBCOMPAT} ${LIBUTIL} 3051.1Scgd 3061.1Scgd The following libraries are predefined for DPADD: 3071.1Scgd 3081.21Schristos LIBCRT0?= ${DESTDIR}/usr/lib/crt0.o 3091.21Schristos LIBC?= ${DESTDIR}/usr/lib/libc.a 3101.21Schristos LIBC_PIC?= ${DESTDIR}/usr/lib/libc_pic.a 3111.21Schristos LIBCOMPAT?= ${DESTDIR}/usr/lib/libcompat.a 3121.21Schristos LIBCRYPT?= ${DESTDIR}/usr/lib/libcrypt.a 3131.21Schristos LIBCURSES?= ${DESTDIR}/usr/lib/libcurses.a 3141.21Schristos LIBDBM?= ${DESTDIR}/usr/lib/libdbm.a 3151.21Schristos LIBDES?= ${DESTDIR}/usr/lib/libdes.a 3161.21Schristos LIBEDIT?= ${DESTDIR}/usr/lib/libedit.a 3171.21Schristos LIBGCC?= ${DESTDIR}/usr/lib/libgcc.a 3181.21Schristos LIBGNUMALLOC?= ${DESTDIR}/usr/lib/libgnumalloc.a 3191.21Schristos LIBKDB?= ${DESTDIR}/usr/lib/libkdb.a 3201.21Schristos LIBKRB?= ${DESTDIR}/usr/lib/libkrb.a 3211.21Schristos LIBKVM?= ${DESTDIR}/usr/lib/libkvm.a 3221.21Schristos LIBL?= ${DESTDIR}/usr/lib/libl.a 3231.21Schristos LIBM?= ${DESTDIR}/usr/lib/libm.a 3241.21Schristos LIBMP?= ${DESTDIR}/usr/lib/libmp.a 3251.21Schristos LIBPC?= ${DESTDIR}/usr/lib/libpc.a 3261.21Schristos LIBPCAP?= ${DESTDIR}/usr/lib/libpcap.a 3271.21Schristos LIBPLOT?= ${DESTDIR}/usr/lib/libplot.a 3281.21Schristos LIBRESOLV?= ${DESTDIR}/usr/lib/libresolv.a 3291.21Schristos LIBRPCSVC?= ${DESTDIR}/usr/lib/librpcsvc.a 3301.21Schristos LIBSKEY?= ${DESTDIR}/usr/lib/libskey.a 3311.21Schristos LIBTERMCAP?= ${DESTDIR}/usr/lib/libtermcap.a 3321.21Schristos LIBTELNET?= ${DESTDIR}/usr/lib/libtelnet.a 3331.21Schristos LIBUTIL?= ${DESTDIR}/usr/lib/libutil.a 3341.21Schristos LIBWRAP?= ${DESTDIR}/usr/lib/libwrap.a 3351.21Schristos LIBY?= ${DESTDIR}/usr/lib/liby.a 3361.21Schristos LIBZ?= ${DESTDIR}/usr/lib/libz.a 3371.21Schristos 3381.1Scgd 3391.1ScgdSHAREDSTRINGS If defined, a new .c.o rule is used that results in shared 3401.12Schristos strings, using xstr(1). Note that this will not work with 3411.12Schristos parallel makes. 3421.1Scgd 3431.1ScgdSTRIP The flag passed to the install program to cause the binary 3441.1Scgd to be stripped. 3451.1Scgd 3461.1ScgdSUBDIR A list of subdirectories that should be built as well. 3471.1Scgd Each of the targets will execute the same target in the 3481.1Scgd subdirectories. 3491.1Scgd 3501.21SchristosSCRIPTS A list of interpreter scripts [file.{sh,csh,pl,awk,...}]. 3511.21Schristos These are installed exactly like programs. 3521.21Schristos 3531.21SchristosSCRIPTSNAME The name that the above program will be installed as, if 3541.21Schristos different from ${SCRIPTS}. These can be further specialized 3551.21Schristos by setting SCRIPTSNAME_<script>. 3561.21Schristos 3571.21SchristosFILES A list of files to install. The installation is controlled 3581.21Schristos by the FILESNAME, FILESOWN, FILESGRP, FILESMODE, FILESDIR 3591.21Schristos variables that can be further specialized by FILES<VAR>_<file> 3601.21Schristos 3611.1ScgdThe include file <bsd.prog.mk> includes the file named "../Makefile.inc" 3621.1Scgdif it exists, as well as the include file <bsd.man.mk>. 3631.1Scgd 3641.1ScgdSome simple examples: 3651.1Scgd 3661.1ScgdTo build foo from foo.c with a manual page foo.1, use: 3671.1Scgd 3681.1Scgd PROG= foo 3691.1Scgd 3701.1Scgd .include <bsd.prog.mk> 3711.1Scgd 3721.1ScgdTo build foo from foo.c with a manual page foo.2, add the line: 3731.1Scgd 3741.9Scgd MAN= foo.2 3751.1Scgd 3761.1ScgdIf foo does not have a manual page at all, add the line: 3771.1Scgd 3781.1Scgd NOMAN= noman 3791.1Scgd 3801.1ScgdIf foo has multiple source files, add the line: 3811.1Scgd 3821.1Scgd SRCS= a.c b.c c.c d.c 3831.1Scgd 3841.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 3851.1Scgd 3861.1ScgdThe include file <bsd.subdir.mk> contains the default targets for building 3871.16Sjtcsubdirectories. It has the same eight targets as <bsd.prog.mk>: all, 3881.16Sjtcclean, cleandir, depend, includes, install, lint, and tags. For all of 3891.16Sjtcthe directories listed in the variable SUBDIRS, the specified directory 3901.16Sjtcwill be visited and the target made. There is also a default target which 3911.16Sjtcallows the command "make subdir" where subdir is any directory listed in 3921.16Sjtcthe variable SUBDIRS. 3931.21Schristos 3941.21Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 3951.21Schristos 3961.23SchristosThe include file <bsd.links.mk> handles the LINKS and SYMLINKS variables 3971.23Schristosand is included from from bsd.lib.mk and bsd.prog.mk. 3981.23Schristos 3991.23Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 4001.23Schristos 4011.23SchristosThe include file <bsd.files.mk> handles the FILES variables and is included 4021.23Schristosfrom bsd.lib.mk and bsd.prog.mk. 4031.21Schristos 4041.21Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 4051.21Schristos 4061.21SchristosThe include file <bsd.inc.mk> defines the includes target and uses two 4071.21Schristosvariables: 4081.21Schristos 4091.21SchristosINCS The list of include files 4101.21Schristos 4111.21SchristosINCSDIR The location to install the include files. 4121.13Schristos 4131.13Schristos=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 4141.13Schristos 4151.13SchristosThe include file <bsd.sys.mk> is used by <bsd.prog.mk> and 4161.14Scgd<bsd.lib.mk>. It contains overrides that are used when building 4171.14Scgdthe NetBSD source tree. For instance, if "PARALLEL" is defined by 4181.14Scgdthe program/library Makefile, it includes a set of rules for lex and 4191.14Scgdyacc that allow multiple lex and yacc targets to be built in parallel. 4201.1Scgd 4211.1Scgd=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 4221.1Scgd 4231.1ScgdThe include file <bsd.lib.mk> has support for building libraries. It has 4241.16Sjtcthe same eight targets as <bsd.prog.mk>: all, clean, cleandir, depend, 4251.16Sjtcincludes, install, lint, and tags. It has a limited number of suffixes, 4261.16Sjtcconsistent with the current needs of the BSD tree. 4271.1Scgd 4281.1ScgdIt sets/uses the following variables: 4291.10Scgd 4301.10ScgdLIB The name of the library to build. 4311.1Scgd 4321.1ScgdLIBDIR Target directory for libraries. 4331.1Scgd 4341.1ScgdLINTLIBDIR Target directory for lint libraries. 4351.1Scgd 4361.1ScgdLIBGRP Library group. 4371.1Scgd 4381.1ScgdLIBOWN Library owner. 4391.1Scgd 4401.1ScgdLIBMODE Library mode. 4411.1Scgd 4421.1ScgdLDADD Additional loader objects. 4431.1Scgd 4441.15ScgdMAN The manual pages to be installed (use a .1 - .9 suffix). 4451.1Scgd 4461.1ScgdSRCS List of source files to build the library. Suffix types 4471.1Scgd .s, .c, and .f are supported. Note, .s files are preferred 4481.1Scgd to .c files of the same name. (This is not the default for 4491.1Scgd versions of make.) 4501.1Scgd 4511.1ScgdThe include file <bsd.lib.mk> includes the file named "../Makefile.inc" 4521.1Scgdif it exists, as well as the include file <bsd.man.mk>. 4531.1Scgd 4541.1ScgdIt has rules for building profiled objects; profiled libraries are 4551.1Scgdbuilt by default. 4561.1Scgd 4571.4ScgdLibraries are ranlib'd when made. 458