[BACK]Return to bsd.README CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / mk

Annotation of src/share/mk/bsd.README, Revision 1.112

1.112   ! thorpej     1: #      $NetBSD: bsd.README,v 1.111 2003/04/11 22:40:31 thorpej Exp $
1.24      mikel       2: #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
1.1       cgd         3:
                      4: This is the README file for the new make "include" files for the BSD
                      5: source tree.  The files are installed in /usr/share/mk, and are, by
1.11      jtc         6: convention, named with the suffix ".mk".
1.1       cgd         7:
                      8: Note, this file is not intended to replace reading through the .mk
                      9: files for anything tricky.
                     10:
                     11: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                     12:
                     13: RANDOM THINGS WORTH KNOWING:
                     14:
                     15: The files are simply C-style #include files, and pretty much behave like
                     16: you'd expect.  The syntax is slightly different in that a single '.' is
                     17: used instead of the hash mark, i.e. ".include <bsd.prog.mk>".
                     18:
                     19: One difference that will save you lots of debugging time is that inclusion
                     20: of the file is normally done at the *end* of the Makefile.  The reason for
                     21: this is because .mk files often modify variables and behavior based on the
                     22: values of variables set in the Makefile.  To make this work, remember that
                     23: the FIRST target found is the target that is used, i.e. if the Makefile has:
                     24:
                     25:        a:
                     26:                echo a
                     27:        a:
                     28:                echo a number two
                     29:
                     30: the command "make a" will echo "a".  To make things confusing, the SECOND
                     31: variable assignment is the overriding one, i.e. if the Makefile has:
                     32:
                     33:        a=      foo
                     34:        a=      bar
                     35:
                     36:        b:
                     37:                echo ${a}
                     38:
                     39: the command "make b" will echo "bar".  This is for compatibility with the
                     40: way the V7 make behaved.
                     41:
                     42: It's fairly difficult to make the BSD .mk files work when you're building
1.75      agc        43: multiple programs in a single directory.  It's a lot easier to split up the
1.1       cgd        44: programs than to deal with the problem.  Most of the agony comes from making
1.36      ross       45: the "obj" directory stuff work right, not because we switched to a new version
1.1       cgd        46: of make.  So, don't get mad at us, figure out a better way to handle multiple
                     47: architectures so we can quit using the symbolic link stuff.  (Imake doesn't
                     48: count.)
                     49:
                     50: The file .depend in the source directory is expected to contain dependencies
                     51: for the source files.  This file is read automatically by make after reading
                     52: the Makefile.
                     53:
                     54: The variable DESTDIR works as before.  It's not set anywhere but will change
                     55: the tree where the file gets installed.
                     56:
                     57: The profiled libraries are no longer built in a different directory than
                     58: the regular libraries.  A new suffix, ".po", is used to denote a profiled
1.21      christos   59: object, and ".so" denotes a shared (position-independent) object.
1.97      itojun     60:
                     61: There are various make variables used during the build.  Basic rule for
                     62: the variable naming scheme is as follows:
                     63:
                     64: MKxxx          Can be set to `no' by a user to disable functionality.
                     65:                Defaults to `yes' (or usually does)
                     66:
                     67: NOxxx          If defined, disables a feature.  Not intended for users,
                     68:                it's to allow Makefiles to disable functionality that
                     69:                they don't support (such as missing man pages).
1.101     lukem      70:                NOxxx variables must be defined before <bsd.own.mk>
                     71:                is included.
1.21      christos   72:
1.45      lukem      73: The following variables that control how things are made/installed that
1.47      tv         74: are not set by default. These should not be set by Makefiles; they're for
                     75: the user to define in MAKECONF (see bsd.own.mk, below) or on the make(1)
                     76: command line:
1.21      christos   77:
1.45      lukem      78: BUILD          If defined, 'make install' checks that the targets in the
                     79:                source directories are up-to-date and remakes them if they
1.21      christos   80:                 are out of date, instead of blindly trying to install
1.79      wiz        81:                 out of date or non-existent targets.
1.21      christos   82:
1.45      lukem      83: UPDATE                 If defined, 'make install' only installs targets that are
                     84:                more recently modified in the source directories that their
                     85:                installed counterparts.
1.52      simonb     86:
1.83      perry      87: UNPRIVED       If defined, don't set the owner/group/mode when installing
                     88:                files or directories, and keep a metadata log of what
                     89:                the owner/group/mode should be.  This allows a
                     90:                non-root "make install".
1.45      lukem      91:
1.86      thorpej    92: MKBFD          If "no", don't build libbfd, libiberty, or any of
                     93:                the things that depend on them (binutils/gas/ld,
1.103     thorpej    94:                gdb, dbsym, mdsetimage).
1.86      thorpej    95:
1.45      lukem      96: MKCATPAGES     If "no", don't build or install the catman pages.
                     97:
                     98: MKDOC          If "no", don't build or install the documentation.
1.86      thorpej    99:
1.104     lukem     100: MKDYNAMICROOT  If "no", build programs in /bin and /sbin statically,
                    101:                don't install certain libraries in /lib, and don't
                    102:                install the shared linker into /libexec.
                    103:
1.103     thorpej   104: MKGDB          If "no", don't build gdb.
1.86      thorpej   105:
                    106: MKGCC          If "no", don't build gcc or any of the gcc-related
                    107:                libraries (libg2c, libgcc, libobjc, libstdc++).
1.92      ross      108:
                    109: MKIEEEFP       If "no", don't add code for IEEE754/IEC60559 conformance.
                    110:                Has no effect on most platforms.
1.45      lukem     111:
1.47      tv        112: MKINFO         If "no", don't build or install Info documentation from
                    113:                Texinfo source files.
1.45      lukem     114:
                    115: MKLINT         If "no", don't build or install the lint libraries.
                    116:
                    117: MKMAN          If "no", don't build or install the man or catman pages.
1.46      lukem     118:                Also acts as "MKCATPAGES=no"
1.45      lukem     119:
1.74      itojun    120: MKNLS          If "no", don't build or install the NLS files and locale
                    121:                definition files.
1.45      lukem     122:
1.55      sommerfe  123: MKOBJ          If "no", don't enable the rule which creates objdirs.
                    124:                "yes" by default.
                    125:
                    126: MKOBJDIRS      If "no", don't create objdirs during a "make build".
                    127:                "no" by default.
1.45      lukem     128:
                    129: MKPIC          If "no", don't build or install shared libraries.
                    130:
                    131: MKPICINSTALL   If "no", don't install the *_pic.a libraries.
                    132:
                    133: MKPROFILE      If "no", don't build or install the profiling libraries.
                    134:
1.48      lukem     135: MKSHARE                If "no", act as "MKCATPAGES=no MKDOC=no MKINFO=no MKMAN=no
                    136:                MKNLS=no".  I.e, don't build catman pages, documentation,
                    137:                Info documentation, man pages, NLS files, ...
1.1       cgd       138:
                    139: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    140:
                    141: The include file <sys.mk> has the default rules for all makes, in the BSD
                    142: environment or otherwise.  You probably don't want to touch this file.
1.71      itojun    143: If you intend to run a cross build, you will need to supply the following
                    144: host tools, and configure the following variables properly:
                    145:
                    146: OBJCOPY                objcopy - copy and translate object files
                    147:
                    148: STRIP          strip - Discard symbols from object files
                    149:
                    150: CONFIG         config - build kernel compilation directories
                    151:
                    152: RPCGEN         rpcgen - Remote Procedure Call (RPC) protocol compiler
                    153:
                    154: MKLOCALE       mklocale - make LC_CTYPE locale files
1.80      jmc       155:
                    156: MTREE          mtree - build directory tree from a spec file
1.1       cgd       157:
                    158: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    159:
                    160: The include file <bsd.man.mk> handles installing manual pages and their
                    161: links.
                    162:
1.21      christos  163: It has a two targets:
1.1       cgd       164:
                    165:        maninstall:
1.21      christos  166:                Install the manual page sources and their links.
                    167:        catinstall:
                    168:                Install the preformatted manual pages and their links.
1.1       cgd       169:
                    170: It sets/uses the following variables:
                    171:
                    172: MANDIR         Base path for manual installation.
                    173:
                    174: MANGRP         Manual group.
                    175:
                    176: MANOWN         Manual owner.
                    177:
                    178: MANMODE                Manual mode.
                    179:
                    180: MANSUBDIR      Subdirectory under the manual page section, i.e. "/vax"
                    181:                or "/tahoe" for machine specific manual pages.
                    182:
1.15      cgd       183: MAN            The manual pages to be installed (use a .1 - .9 suffix).
1.1       cgd       184:
1.15      cgd       185: MLINKS         List of manual page links (using a .1 - .9 suffix).  The
1.1       cgd       186:                linked-to file must come first, the linked file second,
                    187:                and there may be multiple pairs.  The files are soft-linked.
                    188:
                    189: The include file <bsd.man.mk> includes a file named "../Makefile.inc" if
                    190: it exists.
                    191:
                    192: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    193:
1.17      thorpej   194: The include file <bsd.own.mk> contains source tree configuration parameters,
                    195: such as the owners, groups, etc. for both manual pages and binaries, and
                    196: a few global "feature configuration" parameters.
1.1       cgd       197:
                    198: It has no targets.
                    199:
1.29      cjs       200: To get system-specific configuration parameters, bsd.own.mk will try to
                    201: include the file specified by the "MAKECONF" variable.  If MAKECONF is not
                    202: set, or no such file exists, the system make configuration file, /etc/mk.conf
                    203: is included.  These files may define any of the variables described below.
1.17      thorpej   204:
                    205: bsd.own.mk sets the following variables, if they are not already defined
                    206: (defaults are in brackets):
1.15      cgd       207:
1.98      lukem     208: NETBSDSRCDIR   Top of the NetBSD source tree.
                    209:                If _SRC_TOP_ != "", that will be used as the default,
                    210:                otherwise BSDSRCDIR will be used as the default.
                    211:                Various makefiles within the NetBSD source tree will
                    212:                use this to reference the top level of the source tree.
                    213:
1.95      lukem     214: _SRC_TOP_      Top of the system source tree, as determined by <bsd.own.mk>
1.98      lukem     215:                based on the presence of tools/ and build.sh.  This variable
                    216:                is "internal" to <bsd.own.mk>, although its value is only
                    217:                determined once and then propagated to all sub-makes.
1.95      lukem     218:
1.15      cgd       219: BSDSRCDIR      The real path to the system sources, so that 'make obj'
                    220:                will work correctly. [/usr/src]
                    221:
                    222: BSDOBJDIR      The real path to the system 'obj' tree, so that 'make obj'
                    223:                will work correctly. [/usr/obj]
                    224:
1.34      lukem     225: BINGRP         Binary group. [wheel]
1.15      cgd       226:
1.34      lukem     227: BINOWN         Binary owner. [root]
1.15      cgd       228:
                    229: BINMODE                Binary mode. [555]
                    230:
                    231: NONBINMODE     Mode for non-executable files. [444]
                    232:
                    233: MANDIR         Base path for manual installation. [/usr/share/man/cat]
                    234:
1.34      lukem     235: MANGRP         Manual group. [wheel]
1.15      cgd       236:
1.34      lukem     237: MANOWN         Manual owner. [root]
1.15      cgd       238:
                    239: MANMODE                Manual mode. [${NONBINMODE}]
                    240:
1.21      christos  241: MANINSTALL     Manual installation type: maninstall, catinstall, or both
1.76      fair      242:
                    243: LDSTATIC       Control program linking; if set blank, link everything
                    244:                dynamically. If set to "-static", link everything statically.
                    245:                If not set, programs link according to their makefile.
1.21      christos  246:
1.15      cgd       247: LIBDIR         Base path for library installation. [/usr/lib]
                    248:
                    249: LINTLIBDIR     Base path for lint(1) library installation. [/usr/libdata/lint]
                    250:
                    251: LIBGRP         Library group. [${BINGRP}]
                    252:
                    253: LIBOWN         Library owner. [${BINOWN}]
                    254:
                    255: LIBMODE                Library mode. [${NONBINMODE}]
                    256:
                    257: DOCDIR         Base path for system documentation (e.g. PSD, USD, etc.)
                    258:                installation. [/usr/share/doc]
1.62      simonb    259:
                    260: HTMLDOCDIR     Base path for html system documentation installation.
                    261:                [/usr/share/doc/html]
1.15      cgd       262:
1.34      lukem     263: DOCGRP         Documentation group. [wheel]
1.15      cgd       264:
1.34      lukem     265: DOCOWN         Documentation owner. [root]
1.15      cgd       266:
                    267: DOCMODE                Documentation mode. [${NONBINMODE}]
                    268:
1.84      kleink    269: NLSDIR         Base path for Native Language Support files installation.
1.15      cgd       270:                [/usr/share/nls]
1.1       cgd       271:
1.84      kleink    272: NLSGRP         Native Language Support files group. [wheel]
1.1       cgd       273:
1.84      kleink    274: NLSOWN         Native Language Support files owner. [root]
1.1       cgd       275:
1.84      kleink    276: NLSMODE                Native Language Support files mode. [${NONBINMODE}]
1.1       cgd       277:
1.32      mikel     278: STRIPFLAG      The flag passed to the install program to cause the binary
1.1       cgd       279:                to be stripped.  This is to be used when building your
                    280:                own install script so that the entire system can be made
1.15      cgd       281:                stripped/not-stripped using a single knob. [-s]
1.1       cgd       282:
1.2       cgd       283: COPY           The flag passed to the install program to cause the binary
                    284:                to be copied rather than moved.  This is to be used when
                    285:                building our own install script so that the entire system
                    286:                can either be installed with copies, or with moves using
1.15      cgd       287:                a single knob. [-c]
                    288:
1.17      thorpej   289: Additionally, the following variables may be set by bsd.own.mk or in a
                    290: make configuration file to modify the behaviour of the system build
                    291: process (default values are in brackets along with comments, if set by
                    292: bsd.own.mk):
1.111     thorpej   293:
                    294: MKPICLIB       bsd.own.mk provides a default for this variable, which is
                    295:                used by bsd.lib.mk.  The default value is provided by
                    296:                bsd.own.mk since non-library Makefiles may need to check
                    297:                its value in order to generate proper dependencies against
                    298:                libraries used only during the build process (which would
                    299:                not be installed into the destination directory).
1.15      cgd       300:
1.64      thorpej   301: MKCRYPTO       If set to "no", no cryptography support will be built
                    302:                into the system.  Defaults to "yes".
                    303:
1.66      itojun    304: MKCRYPTO_IDEA  If set to "yes", IDEA support will be built into
                    305:                libcrypto_idea.a.  Defaults to "no".
1.64      thorpej   306:
1.105     itojun    307: MKCRYPTO_MDC2  If set to "yes", MDC2 support will be built into
                    308:                libcrypto_mdc2.a.  Defaults to "no".
                    309:
1.66      itojun    310: MKCRYPTO_RC5   If set to "yes", RC5 support will be built into
                    311:                libcrypto_rc5.a.  Defaults to "no".
1.64      thorpej   312:
1.94      thorpej   313: MKHESIOD       If set to "no", disables building of Hesiod infrastructure
                    314:                (libraries and support programs).
1.64      thorpej   315:
1.94      thorpej   316: MKKERBEROS     If set to "no", disables building of Kerberos (v4 or v5)
                    317:                infrastructure (libraries and support programs).
1.2       cgd       318:
1.94      thorpej   319: MKSKEY         If set to "no", disables building of S/key authentication
                    320:                infrastructure (libraries and support programs).
                    321:
                    322: MKYP           If set to "no", disables building of YP (NIS)
                    323:                infrastructure (libraries and support programs).
                    324:
                    325: USE_HESIOD     If set to "no", disables building Hesiod support into
                    326:                various system utilities/libraries that support it.
                    327:                If MKHESIOD is set to "no", USE_HESIOD will also be
                    328:                forced to "no".
                    329:
                    330: USE_KERBEROS   If set to "no", disables building Kerberos (v4 or v5)
                    331:                support into various system utilities/libraries that
                    332:                support it.  If MKKERBEROS is set to "no", USE_KERBEROS
                    333:                will also be forced to "no".
                    334:
                    335: USE_SKEY       If set to "no", disables building S/key authentication
                    336:                support into various system utilities/libraries that
                    337:                support it.  If MKSKEY is set to "no", USE_SKEY will
                    338:                also be forced to "no".
                    339:
                    340: USE_YP         If set to "no", disables building YP (NIS) support into
                    341:                various system utilities/libraries that support it.  If
                    342:                MKYP is set to "no", USE_YP will also be forced to "no".
1.15      cgd       343:
                    344: MANZ           Compress manual pages at installation time.
1.1       cgd       345:
1.15      cgd       346: NOPROFILE      Do not build profiled versions of system libraries
1.1       cgd       347:
1.15      cgd       348: NOPIC          Do not build PIC versions of system libraries, and
                    349:                do not build shared libraries.  [set if ${MACHINE_ARCH}
1.65      jlam      350:                is "sh3" and ${OBJECT_FMT} is "COFF", unset otherwise.]
1.1       cgd       351:
1.40      perry     352: NOLINT         Do not build lint libraries.
1.33      jonathan  353:
1.50      thorpej   354: OBJECT_FMT     Object file format. [set to "ELF" on architectures that
                    355:                use ELF -- currently if ${MACHINE_ARCH} is "alpha",
                    356:                "mipsel", "mipseb", "powerpc", "sparc", "sparc64",
1.77      simonb    357:                "i386" and some m68k machines, or set to "a.out" on
                    358:                other architectures].
1.33      jonathan  359:
1.78      simonb    360: MKSOFTFLOAT    If "yes", build with options to enable the compiler to
                    361:                generate output containing library calls for floating
                    362:                point and possibly soft-float library support.  Defaults
                    363:                to "no".
1.103     thorpej   364:
                    365: TOOLCHAIN_MISSING
                    366:                If "yes", this indicates that the platform being built
                    367:                does not have a working in-tree toolchain.  If the
                    368:                MACHINE_ARCH in question falls into this category, the
                    369:                variable is conditionally assigned the value "yes".
                    370:                Otherwise, the variable is unconditionally assigned the
                    371:                value "no".
                    372:
                    373:                If TOOLCHAIN_MISSING is "yes", the variables MKBFD, MKGCC,
                    374:                and MKGDB are unconditionally assigned the value "no".
                    375:
                    376: EXTERNAL_TOOLCHAIN
                    377:                This variable is not directly set by <bsd.own.mk>, but
                    378:                including <bsd.own.mk> is the canonical way to gain
                    379:                access to this variable.  The variable should be defined
                    380:                either in the user's environment or in the user's mk.conf
                    381:                file.  If defined, this variable indicates the root of
                    382:                an external toolchain which will be used to build the
                    383:                tree.  For example, if a platform is a TOOLCHAIN_MISSING
                    384:                platform, EXTERNAL_TOOLCHAIN can be used to re-enable the
                    385:                cross-compile framework.
                    386:
                    387:                If EXTERNAL_TOOLCHAIN is defined, the variable MKGCC is
                    388:                unconditionally assigned the value "no", since the external
                    389:                version of the compiler may not be able to build the library
                    390:                components of the in-tree compiler.
                    391:
                    392:                NOTE: This variable is not yet used in as many places as
                    393:                it should be.  Expect the exact semantics of this variable
                    394:                to change in the short term as parts of the cross-compile
                    395:                framework continue to be cleaned up.
1.1       cgd       396:
1.17      thorpej   397: bsd.own.mk is generally useful when building your own Makefiles so that
1.1       cgd       398: they use the same default owners etc. as the rest of the tree.
                    399:
                    400: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    401:
1.106     thorpej   402: The include file <bsd.shlib.mk> computes parameters for shared library
                    403: installation and use.  It defines no targets.  <bsd.own.mk> MUST be
                    404: included before bsd.shlib.mk.
                    405:
                    406: bsd.own.mk sets the following variables, if they are not already defined
                    407: (defaults are in brackets):
                    408:
                    409: SHLIBINSTALLDIR        If ${USE_SHLIBDIR} is "yes", use ${SHLIBINSTALLDIR} instead of
                    410:                ${LIBDIR} as the base path for shared library installation.
                    411:                [/lib]
                    412:
                    413: SHLIBDIR       The path to USE_SHLIBDIR shared libraries to use when building
                    414:                a program.  [/lib for programs in /bin and /sbin, /usr/lib
                    415:                for all others.]
                    416:
                    417: _LIBSODIR      Set to ${SHLIBINSTALLDIR} if ${USE_SHLIBDIR} is "yes",
                    418:                otherwise set to ${LIBDIR}
                    419:
                    420: SHLINKINSTALLDIR Base path for shared linker. [/libexec]
                    421:
                    422: SHLINKDIR      Path to use for shared linker when building a program.
                    423:                [/libexec for programs in /bin and /sbin, /usr/libexec for
                    424:                all others.]
                    425:
                    426: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    427:
1.1       cgd       428: The include file <bsd.prog.mk> handles building programs from one or
                    429: more source files, along with their manual pages.  It has a limited number
1.106     thorpej   430: of suffixes, consistent with the current needs of the BSD tree.  bsd.prog.mk
                    431: includes <bsd.shlib.mk> to get shared library parameters.
1.1       cgd       432:
1.16      jtc       433: It has eight targets:
1.1       cgd       434:
                    435:        all:
1.102     thorpej   436:                build the program and its manual page.  This also
                    437:                creates a GDB initialization file (.gdbinit) in
                    438:                the objdir.  The .gdbinit file sets the shared library
                    439:                prefix to ${DESTDIR} to facilitate cross-debugging.
1.1       cgd       440:        clean:
                    441:                remove the program, any object files and the files a.out,
1.24      mikel     442:                Errs, errs, mklog, and ${PROG}.core.
1.1       cgd       443:        cleandir:
                    444:                remove all of the files removed by the target clean, as
                    445:                well as .depend, tags, and any manual pages.
1.42      lukem     446:                `distclean' is a synonym for `cleandir'.
1.1       cgd       447:        depend:
                    448:                make the dependencies for the source files, and store
                    449:                them in the file .depend.
1.16      jtc       450:        includes:
                    451:                install any header files.
1.1       cgd       452:        install:
                    453:                install the program and its manual pages; if the Makefile
                    454:                does not itself define the target install, the targets
                    455:                beforeinstall and afterinstall may also be used to cause
                    456:                actions immediately before and after the install target
                    457:                is executed.
                    458:        lint:
                    459:                run lint on the source files
                    460:        tags:
                    461:                create a tags file for the source files.
                    462:
                    463: It sets/uses the following variables:
                    464:
                    465: BINGRP         Binary group.
                    466:
                    467: BINOWN         Binary owner.
                    468:
                    469: BINMODE                Binary mode.
                    470:
                    471: CLEANFILES     Additional files to remove for the clean and cleandir targets.
                    472:
                    473: COPTS          Additional flags to the compiler when creating C objects.
1.112   ! thorpej   474:
        !           475: CPUFLAGS       Additional flags to the compiler/assembler to select
        !           476:                CPU instruction set options, CPU tuning options, etc.
1.35      lukem     477:
                    478: CPPFLAGS       Additional flags to the C pre-processor
1.102     thorpej   479:
                    480: GDBINIT                List of GDB initialization files to add to "source"
                    481:                directives in the .gdbinit file that is created in the
                    482:                objdir.
1.1       cgd       483:
                    484: LDADD          Additional loader objects.  Usually used for libraries.
                    485:                For example, to load with the compatibility and utility
                    486:                libraries, use:
                    487:
1.5       jtc       488:                        LDADD+=-lutil -lcompat
1.1       cgd       489:
                    490: LDFLAGS                Additional loader flags.
                    491:
                    492: LINKS          The list of binary links; should be full pathnames, the
                    493:                linked-to file coming first, followed by the linked
                    494:                file.  The files are hard-linked.  For example, to link
                    495:                /bin/test and /bin/[, use:
                    496:
                    497:                        LINKS=  ${DESTDIR}/bin/test ${DESTDIR}/bin/[
1.19      perry     498:
                    499: SYMLINKS       The list of symbolic links; should be full pathnames.
1.20      perry     500:                 Syntax is identical to LINKS. Note that DESTDIR is not
                    501:                automatically included in the link.
1.1       cgd       502:
1.15      cgd       503: MAN            Manual pages (should end in .1 - .9).  If no MAN variable is
1.8       cgd       504:                defined, "MAN=${PROG}.1" is assumed.
1.1       cgd       505:
                    506: PROG           The name of the program to build.  If not supplied, nothing
                    507:                is built.
                    508:
1.88      thorpej   509: PROG_CXX       If defined, the name of the program to build.  Also
                    510:                causes <bsd.prog.mk> to link the program with the C++
                    511:                compiler rather than the C compiler.  PROG_CXX overrides
                    512:                the value of PROG if PROG is also set.
1.87      thorpej   513:
1.21      christos  514: PROGNAME       The name that the above program will be installed as, if
                    515:                different from ${PROG}.
                    516:
1.37      tv        517: SRCS           List of source files to build the program.  If SRCS is not
1.1       cgd       518:                defined, it's assumed to be ${PROG}.c.
1.108     jwise     519:
                    520: DPSRCS         List of source files which are needed for generating
                    521:                dependencies, but are not needed in ${SRCS}.
1.1       cgd       522:
                    523: DPADD          Additional dependencies for the program.  Usually used for
                    524:                libraries.  For example, to depend on the compatibility and
                    525:                utility libraries use:
                    526:
1.5       jtc       527:                        DPADD+=${LIBCOMPAT} ${LIBUTIL}
1.1       cgd       528:
                    529:                The following libraries are predefined for DPADD:
                    530:
1.21      christos  531:                LIBCRT0?=       ${DESTDIR}/usr/lib/crt0.o
1.99      itojun    532:                LIBBZ2?=        ${DESTDIR}/usr/lib/libbz2.a
1.21      christos  533:                LIBC?=          ${DESTDIR}/usr/lib/libc.a
                    534:                LIBC_PIC?=      ${DESTDIR}/usr/lib/libc_pic.a
1.99      itojun    535:                LIBCDK?=        ${DESTDIR}/usr/lib/libcdk.a
                    536:                LIBCOM_ERR?=    ${DESTDIR}/usr/lib/libcom_err.a
1.21      christos  537:                LIBCOMPAT?=     ${DESTDIR}/usr/lib/libcompat.a
                    538:                LIBCRYPT?=      ${DESTDIR}/usr/lib/libcrypt.a
1.99      itojun    539:                LIBCRYPTO?=     ${DESTDIR}/usr/lib/libcrypto.a
                    540:                LIBCRYPTO_IDEA?=${DESTDIR}/usr/lib/libcrypto_idea.a
1.105     itojun    541:                LIBCRYPTO_MDC2?=${DESTDIR}/usr/lib/libcrypto_mdc2.a
1.99      itojun    542:                LIBCRYPTO_RC5?= ${DESTDIR}/usr/lib/libcrypto_rc5.a
1.21      christos  543:                LIBCURSES?=     ${DESTDIR}/usr/lib/libcurses.a
                    544:                LIBDBM?=        ${DESTDIR}/usr/lib/libdbm.a
                    545:                LIBDES?=        ${DESTDIR}/usr/lib/libdes.a
                    546:                LIBEDIT?=       ${DESTDIR}/usr/lib/libedit.a
1.73      blymn     547:                LIBFORM?=       ${DESTDIR}/usr/lib/libform.a
1.21      christos  548:                LIBGCC?=        ${DESTDIR}/usr/lib/libgcc.a
                    549:                LIBGNUMALLOC?=  ${DESTDIR}/usr/lib/libgnumalloc.a
1.99      itojun    550:                LIBGSSAPI?=     ${DESTDIR}/usr/lib/libgssapi.a
                    551:                LIBHDB?=        ${DESTDIR}/usr/lib/libhdb.a
1.70      itojun    552:                LIBINTL?=       ${DESTDIR}/usr/lib/libintl.a
1.49      itojun    553:                LIBIPSEC?=      ${DESTDIR}/usr/lib/libipsec.a
1.99      itojun    554:                LIBKADM?=       ${DESTDIR}/usr/lib/libkadm.a
                    555:                LIBKADM5CLNT?=  ${DESTDIR}/usr/lib/libkadm5clnt.a
                    556:                LIBKADM5SRV?=   ${DESTDIR}/usr/lib/libkadm5srv.a
                    557:                LIBKAFS?=       ${DESTDIR}/usr/lib/libkafs.a
1.21      christos  558:                LIBKDB?=        ${DESTDIR}/usr/lib/libkdb.a
                    559:                LIBKRB?=        ${DESTDIR}/usr/lib/libkrb.a
1.99      itojun    560:                LIBKRB5?=       ${DESTDIR}/usr/lib/libkrb5.a
                    561:                LIBKSTREAM?=    ${DESTDIR}/usr/lib/libkstream.a
1.21      christos  562:                LIBKVM?=        ${DESTDIR}/usr/lib/libkvm.a
                    563:                LIBL?=          ${DESTDIR}/usr/lib/libl.a
                    564:                LIBM?=          ${DESTDIR}/usr/lib/libm.a
1.53      blymn     565:                LIBMENU?=       ${DESTDIR}/usr/lib/libmenu.a
1.21      christos  566:                LIBMP?=         ${DESTDIR}/usr/lib/libmp.a
1.25      christos  567:                LIBNTP?=        ${DESTDIR}/usr/lib/libntp.a
1.99      itojun    568:                LIBOBJC?=       ${DESTDIR}/usr/lib/libobjc.a
                    569:                LIBOSSAUDIO?=   ${DESTDIR}/usr/lib/libossaudio.a
1.21      christos  570:                LIBPC?=         ${DESTDIR}/usr/lib/libpc.a
                    571:                LIBPCAP?=       ${DESTDIR}/usr/lib/libpcap.a
1.99      itojun    572:                LIBPCI?=        ${DESTDIR}/usr/lib/libpci.a
1.21      christos  573:                LIBPLOT?=       ${DESTDIR}/usr/lib/libplot.a
1.100     thorpej   574:                LIBPMC?=        ${DESTDIR}/usr/lib/libpmc.a
1.26      kleink    575:                LIBPOSIX?=      ${DESTDIR}/usr/lib/libposix.a
1.110     thorpej   576:                LIBPTHREAD?=    ${DESTDIR}/usr/lib/libpthread.a
                    577:                LIBPTHREAD_DBG?=${DESTDIR}/usr/lib/libpthread_dbg.a
1.21      christos  578:                LIBRESOLV?=     ${DESTDIR}/usr/lib/libresolv.a
1.99      itojun    579:                LIBRMT?=        ${DESTDIR}/usr/lib/librmt.a
                    580:                LIBROKEN?=      ${DESTDIR}/usr/lib/libroken.a
1.21      christos  581:                LIBRPCSVC?=     ${DESTDIR}/usr/lib/librpcsvc.a
1.110     thorpej   582:                LIBRT?=         ${DESTDIR}/usr/lib/librt.a
1.21      christos  583:                LIBSKEY?=       ${DESTDIR}/usr/lib/libskey.a
1.99      itojun    584:                LIBSS?=         ${DESTDIR}/usr/lib/libss.a
                    585:                LIBSSL?=        ${DESTDIR}/usr/lib/libssl.a
                    586:                LIBSKEY?=       ${DESTDIR}/usr/lib/libskey.a
                    587:                LIBSL?=         ${DESTDIR}/usr/lib/libsl.a
1.21      christos  588:                LIBTERMCAP?=    ${DESTDIR}/usr/lib/libtermcap.a
                    589:                LIBTELNET?=     ${DESTDIR}/usr/lib/libtelnet.a
1.99      itojun    590:                LIBUSBHID?=     ${DESTDIR}/usr/lib/libusbhid.a
1.21      christos  591:                LIBUTIL?=       ${DESTDIR}/usr/lib/libutil.a
                    592:                LIBWRAP?=       ${DESTDIR}/usr/lib/libwrap.a
                    593:                LIBY?=          ${DESTDIR}/usr/lib/liby.a
                    594:                LIBZ?=          ${DESTDIR}/usr/lib/libz.a
1.1       cgd       595:
                    596: SHAREDSTRINGS  If defined, a new .c.o rule is used that results in shared
1.12      christos  597:                strings, using xstr(1). Note that this will not work with
                    598:                parallel makes.
1.1       cgd       599:
1.59      jlam      600: STRIPFLAG      The flag passed to the install program to cause the binary
1.1       cgd       601:                to be stripped.
                    602:
                    603: SUBDIR         A list of subdirectories that should be built as well.
                    604:                Each of the targets will execute the same target in the
                    605:                subdirectories.
                    606:
1.21      christos  607: SCRIPTS                A list of interpreter scripts [file.{sh,csh,pl,awk,...}].
                    608:                These are installed exactly like programs.
                    609:
                    610: SCRIPTSNAME    The name that the above program will be installed as, if
                    611:                different from ${SCRIPTS}. These can be further specialized
                    612:                by setting SCRIPTSNAME_<script>.
                    613:
                    614: FILES          A list of files to install. The installation is controlled
                    615:                by the FILESNAME, FILESOWN, FILESGRP, FILESMODE, FILESDIR
                    616:                variables that can be further specialized by FILES<VAR>_<file>
                    617:
1.106     thorpej   618: SHLINKDIR      Target directory for shared linker.  See description of
                    619:                <bsd.own.mk> for additional information about this variable.
1.85      lukem     620:
1.1       cgd       621: The include file <bsd.prog.mk> includes the file named "../Makefile.inc"
                    622: if it exists, as well as the include file <bsd.man.mk>.
                    623:
                    624: Some simple examples:
                    625:
                    626: To build foo from foo.c with a manual page foo.1, use:
                    627:
                    628:        PROG=   foo
                    629:
                    630:        .include <bsd.prog.mk>
                    631:
                    632: To build foo from foo.c with a manual page foo.2, add the line:
                    633:
1.9       cgd       634:        MAN=    foo.2
1.1       cgd       635:
                    636: If foo does not have a manual page at all, add the line:
                    637:
1.75      agc       638:        MKMAN=  no
1.1       cgd       639:
                    640: If foo has multiple source files, add the line:
                    641:
                    642:        SRCS=   a.c b.c c.c d.c
                    643:
                    644: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    645:
                    646: The include file <bsd.subdir.mk> contains the default targets for building
1.16      jtc       647: subdirectories.  It has the same eight targets as <bsd.prog.mk>: all,
                    648: clean, cleandir, depend, includes, install, lint, and tags.  For all of
1.72      sommerfe  649: the directories listed in the variable SUBDIR, the specified directory
1.16      jtc       650: will be visited and the target made.  There is also a default target which
                    651: allows the command "make subdir" where subdir is any directory listed in
1.72      sommerfe  652: the variable SUBDIR.
                    653:
                    654: As a special case, the use of a token .WAIT as an entry in SUBDIR acts
                    655: as a synchronization barrier when multiple make jobs are run; subdirs
                    656: before the .WAIT must complete before any subdirs after .WAIT are
1.75      agc       657: started.  See make(1) for some caveats on use of .WAIT and other
                    658: special sources.
1.21      christos  659:
                    660: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    661:
1.23      christos  662: The include file <bsd.links.mk> handles the LINKS and SYMLINKS variables
                    663: and is included from from bsd.lib.mk and bsd.prog.mk.
                    664:
                    665: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    666:
                    667: The include file <bsd.files.mk> handles the FILES variables and is included
                    668: from bsd.lib.mk and bsd.prog.mk.
1.21      christos  669:
                    670: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    671:
1.29      cjs       672: The include file <bsd.inc.mk> defines the includes target and uses two
                    673: variables:
1.21      christos  674:
1.81      wiz       675: INCS           The list of include files
1.21      christos  676:
1.81      wiz       677: INCSDIR                The location to install the include files.
                    678:
                    679: INCSNAME       Target name of the include file, if only one; same as
                    680:                FILESNAME, but for include files.
                    681:
                    682: INCSNAME_<file>        The name file <file> should be installed as, if not <file>,
                    683:                same as FILESNAME_<file>, but for include files.
1.39      cgd       684:
                    685: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    686:
                    687: The include file <bsd.kinc.mk> defines the many targets (includes,
                    688: subdirectories, etc.), and is used by kernel makefiles to handle
                    689: include file installation.  It is intended to be included alone, by
                    690: kernel Makefiles.  Please see bsd.kinc.mk for more details, and keep
                    691: the documentation in that file up to date.
1.13      christos  692:
                    693: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    694:
1.47      tv        695: The include file <bsd.info.mk> is used to generate and install GNU Info
                    696: documentation from respective Texinfo source files.  It defines three
                    697: implicit targets (.txi.info, .texi.info, and .texinfo.info), and uses the
                    698: following variables:
                    699:
                    700: TEXINFO                List of Texinfo source files.  Info documentation will
                    701:                consist of single files with the extension replaced by
                    702:                .info.
                    703:
                    704: INFOFLAGS      Flags to pass to makeinfo.  []
                    705:
                    706: INSTALL_INFO   Name of install-info program.  [install-info]
                    707:
                    708: MAKEINFO       Name of makeinfo program.  [makeinfo]
                    709:
                    710: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    711:
1.13      christos  712: The include file <bsd.sys.mk> is used by <bsd.prog.mk> and
1.14      cgd       713: <bsd.lib.mk>.  It contains overrides that are used when building
                    714: the NetBSD source tree.  For instance, if "PARALLEL" is defined by
                    715: the program/library Makefile, it includes a set of rules for lex and
                    716: yacc that allow multiple lex and yacc targets to be built in parallel.
1.69      sommerfe  717:
                    718: Other variables of note (incomplete list):
                    719:
1.82      lukem     720: WARNS          Crank up gcc warning options; the distinct levels are:
                    721:                        WARNS=1
                    722:                        WARNS=2
                    723:                        WARNS=3
1.69      sommerfe  724:
                    725: FORMAT_AUDIT   If FORMAT_AUDIT is set, and WFORMAT is set and > 1, turn on
                    726: WFORMAT        -Wnetbsd-format-audit for extra-stringent format checking.
1.75      agc       727:                WFORMAT belongs in individual makefiles and/or
                    728:                Makefile.inc files.  (set WFORMAT=1 in individual
                    729:                makefiles if a program is not security critical and is
                    730:                doing bizarre things with format strings which would
                    731:                be even uglier if rewritten) FORMAT_AUDIT should go in
                    732:                mk.conf if you're doing format-string auditing.
1.69      sommerfe  733:                FORMAT_AUDIT may go away in time.
1.1       cgd       734:
                    735: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    736:
                    737: The include file <bsd.lib.mk> has support for building libraries.  It has
1.16      jtc       738: the same eight targets as <bsd.prog.mk>: all, clean, cleandir, depend,
1.44      erh       739: includes, install, lint, and tags.  Additionally, it has a checkver target
                    740: which checks for installed shared object libraries whose version is greater
                    741: that the version of the source. It has a limited number of suffixes,
1.106     thorpej   742: consistent with the current needs of the BSD tree.  bsd.lib.mk includes
                    743: <bsd.shlib.mk> to get shared library parameters.
1.1       cgd       744:
                    745: It sets/uses the following variables:
1.10      cgd       746:
                    747: LIB            The name of the library to build.
1.1       cgd       748:
                    749: LIBDIR         Target directory for libraries.
1.85      lukem     750:
1.106     thorpej   751: SHLIBINSTALLDIR        Target directory for shared libraries if ${USE_SHLIBDIR}
1.85      lukem     752:                is "yes".
                    753:
1.106     thorpej   754: USE_SHLIBDIR   If "yes", use ${SHLIBINSTALLDIR} instead of ${LIBDIR}
1.85      lukem     755:                as the path to install shared libraries to.
1.101     lukem     756:                USE_SHLIBDIR must be defined before <bsd.own.mk> is included.
1.1       cgd       757:
                    758: LINTLIBDIR     Target directory for lint libraries.
                    759:
                    760: LIBGRP         Library group.
                    761:
                    762: LIBOWN         Library owner.
                    763:
                    764: LIBMODE                Library mode.
                    765:
                    766: LDADD          Additional loader objects.
                    767:
1.15      cgd       768: MAN            The manual pages to be installed (use a .1 - .9 suffix).
1.47      tv        769:
                    770: MKLINKLIB      If "no", act as "MKPICINSTALL=no MKPROFILE=no".
                    771:                Also:
                    772:                        - don't install the .a libraries
                    773:                        - don't install _pic.a libraries on PIC systems
                    774:                        - don't build .a libraries on PIC systems
                    775:                        - don't install the .so symlink on ELF systems
                    776:                I.e, only install the shared library (and the .so.major
                    777:                symlink on ELF).
1.54      simonb    778:
                    779: MKPICLIB       If "no", don't build _pic.a libraries, and build the
                    780:                shared object libraries from the .a libraries.  A
                    781:                symlink is installed in ${DESTDIR}/usr/lib for the
                    782:                _pic.a library pointing to the .a library.
1.44      erh       783:
                    784: NOCHECKVER_<library>
                    785: NOCHECKVER     If set, disables checking for installed shared object
                    786:                libraries with versions greater than the source.  A
                    787:                particular library name, without the "lib" prefix, may
                    788:                be appended to the variable name to disable the check for
                    789:                only that library.
1.1       cgd       790:
                    791: SRCS           List of source files to build the library.  Suffix types
                    792:                .s, .c, and .f are supported.  Note, .s files are preferred
                    793:                to .c files of the same name.  (This is not the default for
                    794:                versions of make.)
                    795:
                    796: The include file <bsd.lib.mk> includes the file named "../Makefile.inc"
                    797: if it exists, as well as the include file <bsd.man.mk>.
                    798:
                    799: It has rules for building profiled objects; profiled libraries are
                    800: built by default.
                    801:
1.4       cgd       802: Libraries are ranlib'd when made.
1.56      sommerfe  803:
                    804: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    805:
                    806: The include file <bsd.obj.mk> defines targets related to the creation
                    807: and use of separated object and source directories.
                    808:
1.63      sjg       809: If an environment variable named MAKEOBJDIRPREFIX is set, make(1) uses
                    810: ${MAKEOBJDIRPREFIX}${.CURDIR} as the name of the object directory if
1.75      agc       811: it exists.  Otherwise make(1) looks for the existence of a
1.63      sjg       812: subdirectory (or a symlink to a directory) of the source directory
                    813: into which built targets should be placed.  If an environment variable
                    814: named MAKEOBJDIR is set, make(1) uses its value as the name of the
                    815: object directory; failing that, make first looks for a subdirectory
                    816: named "obj.${MACHINE}", and if that doesn't exist, it looks for "obj".
1.56      sommerfe  817:
                    818: Object directories are not created automatically by make(1) if they
                    819: don't exist; you need to run a separate "make obj".  (This will happen
                    820: during a top-level build if "MKOBJDIRS" is set to a value other than
1.58      sommerfe  821: "no").  When the source directory is a subdirectory of ${BSDSRCDIR} --
                    822: and this is determined by a simple string prefix comparison -- object
                    823: directories are created in a separate object directory tree, and a
                    824: symlink to the object directory in that tree is created in the source
                    825: directory; otherwise, "make obj" assumes that you're not in the main
                    826: source tree and that it's not safe to use a separate object tree.
1.56      sommerfe  827:
                    828: Several variables used by <bsd.obj.mk> control exactly what
                    829: directories and links get created during a "make obj":
                    830:
                    831: MAKEOBJDIR     If set, this is the component name of the object
                    832:                directory.
                    833:
                    834: OBJMACHINE     If this is set but MAKEOBJDIR is not set, creates
                    835:                object directories or links named "obj.${MACHINE}";
                    836:                otherwise, just creates ones named "obj".
                    837:
                    838: USR_OBJMACHINE  If set, and the current directory is a subdirectory of
                    839:                ${BSDSRCDIR}, create object directory in the
                    840:                corresponding subdirectory of ${BSDOBJDIR}.${MACHINE};
                    841:                otherwise, create it in the corresponding subdirectory
                    842:                of ${BSDOBJDIR}
1.93      thorpej   843:
                    844: BUILDID                If set, the contents of this variable are appended
                    845:                to the object directory name.  If OBJMACHINE is also
                    846:                set, ".${BUILDID}" is added after ".${MACHINE}".
1.63      sjg       847:
                    848: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    849:
                    850: The include file <bsd.kernobj.mk> defines variables related to the
                    851: location of kernel sources and object directories.
                    852:
                    853: KERNSRCDIR     Is the location of the top of the kernel src.
1.95      lukem     854:                It defaults to ${_SRC_TOP_}/sys
1.63      sjg       855:
                    856: KERNARCHDIR    Is the location of the machine dependent kernel
                    857:                sources.  It defaults to arch/${MACHINE}
                    858:
                    859: KERNCONFDIR    Is where the configuration files for kernels are
                    860:                found; default is ${KERNSRCDIR}/${KERNARCHDIR}/conf.
                    861:
                    862: KERNOBJDIR     Is the kernel build directory.  The kernel GENERIC for
                    863:                instance will be compiled in ${KERNOBJDIR}/GENERIC.
                    864:                The default value is
                    865:                ${MAKEOBJDIRPREFIX}${KERNSRCDIR}/${KERNARCHDIR}/compile
                    866:                if it exists or the target 'obj' is being made.
                    867:                Otherwise the default is
                    868:                ${KERNSRCDIR}/${KERNARCHDIR}/compile.
                    869:
                    870: It is important that Makefiles (such as those under src/distrib) that
                    871: wish to find compiled kernels use bsd.kernobj.mk and ${KERNOBJDIR}
                    872: rather than make assumptions about the location of the compiled kernel.
1.109     sommerfe  873:
                    874: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                    875:
                    876: The include file <bsd.rpc.mk> contains a makefile fragment used to
                    877: construct source files built by rpcgen.
                    878:
                    879: The following macros may be defined in makefiles which include
                    880: <bsd.rpc.mk> in order to control which files get built and how they
                    881: are to be built:
                    882:
                    883: RPC_INCS:      construct .h file from .x file
                    884: RPC_XDRFILES:  construct _xdr.c from .x file
                    885:                (for marshalling/unmarshalling data types)
                    886: RPC_SVCFILES:  construct _svc.c from .x file
                    887:                (server-side stubs)
                    888: RPC_SVCFLAGS:  Additional flags passed to builds of RPC_SVCFILES.
                    889:
                    890: RPC_XDIR:      Directory containing .x/.h files
                    891:
                    892:
1.30      agc       893:
                    894: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

CVSweb <webmaster@jp.NetBSD.org>