Makefile revision 1.255
11.255Spooka#	$NetBSD: Makefile,v 1.255 2008/07/29 13:17:40 pooka Exp $
21.95Scjs
31.193Slukem#
41.95Scjs# This is the top-level makefile for building NetBSD. For an outline of
51.95Scjs# how to build a snapshot or release, as well as other release engineering
61.221Ssalo# information, see http://www.NetBSD.org/developers/releng/index.html
71.95Scjs#
81.95Scjs# Not everything you can set or do is documented in this makefile. In
91.95Scjs# particular, you should review the files in /usr/share/mk (especially
101.95Scjs# bsd.README) for general information on building programs and writing
111.95Scjs# Makefiles within this structure, and see the comments in src/etc/Makefile
121.95Scjs# for further information on installation and release set options.
131.95Scjs#
141.95Scjs# Variables listed below can be set on the make command line (highest
151.95Scjs# priority), in /etc/mk.conf (middle priority), or in the environment
161.95Scjs# (lowest priority).
171.95Scjs#
181.95Scjs# Variables:
191.101Ssommerfe#   DESTDIR is the target directory for installation of the compiled
201.101Ssommerfe#	software. It defaults to /. Note that programs are built against
211.101Ssommerfe#	libraries installed in DESTDIR.
221.214Slukem#   MKMAN, if `no', will prevent building of manual pages.
231.214Slukem#   MKOBJDIRS, if not `no', will build object directories at
241.101Ssommerfe#	an appropriate point in a build.
251.214Slukem#   MKSHARE, if `no', will prevent building and installing
261.95Scjs#	anything in /usr/share.
271.214Slukem#   MKUPDATE, if not `no', will avoid a `make cleandir' at the start of
281.178Senami#	`make build', as well as having the effects listed in
291.178Senami#	/usr/share/mk/bsd.README.
301.125Smrg#   NOCLEANDIR, if defined, will avoid a `make cleandir' at the start
311.178Senami#	of the `make build'.
321.119Stoddpw#   NOINCLUDES will avoid the `make includes' usually done by `make build'.
331.95Scjs#
341.214Slukem#   See mk.conf(5) for more details.
351.214Slukem#
361.214Slukem#
371.95Scjs# Targets:
381.137Stv#   build:
391.196Slukem#	Builds a full release of NetBSD in DESTDIR, except for the
401.196Slukem#	/etc configuration files.
411.196Slukem#	If BUILD_DONE is set, this is an empty target.
421.196Slukem#   distribution:
431.196Slukem#	Builds a full release of NetBSD in DESTDIR, including the /etc
441.196Slukem#	configuration files.
451.196Slukem#   buildworld:
461.196Slukem#	As per `make distribution', except that it ensures that DESTDIR
471.196Slukem#	is not the root directory.
481.196Slukem#   installworld:
491.196Slukem#	Install the distribution from DESTDIR to INSTALLWORLDDIR (which
501.196Slukem#	defaults to the root directory).  Ensures that INSTALLWORLDDIR
511.196Slukem#	is the not root directory if cross compiling.
521.137Stv#   release:
531.240Slukem#	Does a `make distribution', and then tars up the DESTDIR files
541.252Slukem#	into ${RELEASEDIR}/${RELEASEMACHINEDIR}, in release(7) format.
551.196Slukem#	(See etc/Makefile for more information on this.)
561.137Stv#   regression-tests:
571.137Stv#	Runs the regression tests in "regress" on this host.
581.206Slukem#   sets:
591.252Slukem#	Populate ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets
601.252Slukem#	from ${DESTDIR}
611.206Slukem#   sourcesets:
621.206Slukem#	Populate ${RELEASEDIR}/source/sets from ${NETBSDSRCDIR}
631.241Sapb#   syspkgs:
641.252Slukem#	Populate ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/syspkgs
651.252Slukem#	from ${DESTDIR}
661.243Sapb#   iso-image:
671.248Sjnemeth#	Create CD-ROM image in RELEASEDIR/iso.
681.243Sapb#	RELEASEDIR must already have been populated by `make release'
691.243Sapb#	or equivalent.
701.248Sjnemeth#   iso-image-source:
711.248Sjnemeth#	Create CD-ROM image with source in RELEASEDIR/iso.
721.248Sjnemeth#	RELEASEDIR must already have been populated by
731.248Sjnemeth#	`make release sourcesets' or equivalent.
741.123Smrg#
751.137Stv# Targets invoked by `make build,' in order:
761.155Stv#   cleandir:        cleans the tree.
771.137Stv#   obj:             creates object directories.
781.152Stv#   do-tools:        builds host toolchain.
791.208Slukem#   do-distrib-dirs: creates the distribution directories.
801.208Slukem#   includes:        installs include files.
811.202Sthorpej#   do-tools-compat: builds the "libnbcompat" library; needed for some
821.202Sthorpej#                    random host tool programs in the source tree.
831.238Slukem#   do-lib-csu:      builds and installs prerequisites from lib/csu.
841.249Slukem#   do-libgcc:       builds and installs prerequisites from
851.249Slukem#                    gnu/lib/crtstuff${LIBGCC_EXT} (if necessary) and
861.249Slukem#                    gnu/lib/libgcc${LIBGCC_EXT}.
871.186Sthorpej#   do-lib-libc:     builds and installs prerequisites from lib/libc.
881.143Stv#   do-lib:          builds and installs prerequisites from lib.
891.143Stv#   do-gnu-lib:      builds and installs prerequisites from gnu/lib.
901.253Slukem#   do-external-lib: builds and installs prerequisites from external/lib.
911.255Spooka#   do-sys-rump-fs-lib: builds and installs prerequisites from sys/rump/fs/lib
921.189Sitohy#   do-ld.so:        builds and installs prerequisites from libexec/ld.*_so.
931.137Stv#   do-build:        builds and installs the entire system.
941.227Slukem#   do-x11:          builds and installs X11R6 from src/x11 if ${MKX11} != "no"
951.222Slukem#   do-obsolete:     installs the obsolete sets (for the postinstall-* targets).
961.193Slukem#
971.32Scgd
981.146Stv.if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == ""
991.146Stv.MAKEFLAGS: -m ${.CURDIR}/share/mk
1001.146Stv.endif
1011.163Stv
1021.193Slukem#
1031.163Stv# If _SRC_TOP_OBJ_ gets set here, we will end up with a directory that may
1041.163Stv# not be the top level objdir, because "make obj" can happen in the *middle*
1051.163Stv# of "make build" (long after <bsd.own.mk> is calculated it).  So, pre-set
1061.163Stv# _SRC_TOP_OBJ_ here so it will not be added to ${.MAKEOVERRIDES}.
1071.193Slukem#
1081.163Stv_SRC_TOP_OBJ_=
1091.148Sjmc
1101.146Stv.include <bsd.own.mk>
1111.4Scgd
1121.193Slukem#
1131.137Stv# Sanity check: make sure that "make build" is not invoked simultaneously
1141.137Stv# with a standard recursive target.
1151.193Slukem#
1161.137Stv
1171.137Stv.if make(build) || make(release) || make(snapshot)
1181.137Stv.for targ in ${TARGETS:Nobj:Ncleandir}
1191.137Stv.if make(${targ}) && !target(.BEGIN)
1201.137Stv.BEGIN:
1211.137Stv	@echo 'BUILD ABORTED: "make build" and "make ${targ}" are mutually exclusive.'
1221.137Stv	@false
1231.137Stv.endif
1241.137Stv.endfor
1251.137Stv.endif
1261.58Stv
1271.253Slukem_SUBDIR=	tools lib include gnu external bin games libexec sbin usr.bin
1281.251Sjmmv_SUBDIR+=	usr.sbin share rescue sys etc tests .WAIT distrib regress
1291.105Sassar
1301.193Slukem#
1311.137Stv# Weed out directories that don't exist.
1321.193Slukem#
1331.36Sexplorer
1341.137Stv.for dir in ${_SUBDIR}
1351.246Sdbj.if ("${dir}" == ".WAIT") || exists(${dir}/Makefile) && (${BUILD_${dir}:Uyes} != "no")
1361.137StvSUBDIR+=	${dir}
1371.36Sexplorer.endif
1381.137Stv.endfor
1391.21Scgd
1401.13Sbrezak.if exists(regress)
1411.242Sdslregression-tests: .PHONY .MAKE
1421.10Scgd	@echo Running regression tests...
1431.232Slukem	${MAKEDIRTARGET} regress regress
1441.13Sbrezak.endif
1451.20Scgd
1461.214Slukem.if ${MKUNPRIVED} != "no"
1471.179SthorpejNOPOSTINSTALL=	# defined
1481.179Sthorpej.endif
1491.179Sthorpej
1501.242Sdslafterinstall: .PHONY .MAKE
1511.137Stv.if ${MKMAN} != "no"
1521.232Slukem	${MAKEDIRTARGET} share/man makedb
1531.137Stv.endif
1541.214Slukem.if (${MKUNPRIVED} != "no" && ${MKINFO} != "no")
1551.232Slukem	${MAKEDIRTARGET} gnu/usr.bin/texinfo/install-info infodir-meta
1561.176Slukem.endif
1571.179Sthorpej.if !defined(NOPOSTINSTALL)
1581.232Slukem	${MAKEDIRTARGET} . postinstall-check
1591.159Sperry.endif
1601.170Slukem
1611.239Slukem_POSTINSTALL=	${.CURDIR}/usr.sbin/postinstall/postinstall
1621.239Slukem
1631.228Slukempostinstall-check: .PHONY
1641.169Slukem	@echo "   === Post installation checks ==="
1651.250Spavel	${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi
1661.171Slukem	@echo "   ================================"
1671.171Slukem
1681.228Slukempostinstall-fix: .NOTMAIN .PHONY
1691.171Slukem	@echo "   === Post installation fixes ==="
1701.239Slukem	${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix
1711.212Slukem	@echo "   ==============================="
1721.212Slukem
1731.228Slukempostinstall-fix-obsolete: .NOTMAIN .PHONY
1741.212Slukem	@echo "   === Removing obsolete files ==="
1751.239Slukem	${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete
1761.212Slukem	@echo "   ==============================="
1771.169Slukem
1781.108Serh
1791.193Slukem#
1801.137Stv# Targets (in order!) called by "make build".
1811.193Slukem#
1821.245Smrg.if ${HAVE_GCC} == "3"
1831.220SmrgLIBGCC_EXT=3
1841.245Smrg.else
1851.244SmrgLIBGCC_EXT=4
1861.220Smrg.endif
1871.123Smrg
1881.156StvBUILDTARGETS+=	check-tools
1891.214Slukem.if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
1901.155StvBUILDTARGETS+=	cleandir
1911.155Stv.endif
1921.149Stv.if ${MKOBJDIRS} != "no"
1931.137StvBUILDTARGETS+=	obj
1941.123Smrg.endif
1951.138Stv.if ${USETOOLS} == "yes"
1961.152StvBUILDTARGETS+=	do-tools
1971.131Stv.endif
1981.137Stv.if !defined(NODISTRIBDIRS)
1991.137StvBUILDTARGETS+=	do-distrib-dirs
2001.131Stv.endif
2011.137Stv.if !defined(NOINCLUDES)
2021.137StvBUILDTARGETS+=	includes
2031.131Stv.endif
2041.202SthorpejBUILDTARGETS+=	do-tools-compat
2051.231SskrllBUILDTARGETS+=	do-lib-csu
2061.207Sdrochner.if ${MKGCC} != "no"
2071.249SlukemBUILDTARGETS+=	do-libgcc
2081.207Sdrochner.endif
2091.231SskrllBUILDTARGETS+=	do-lib-libc
2101.253SlukemBUILDTARGETS+=	do-lib do-gnu-lib do-external-lib
2111.255SpookaBUILDTARGETS+=	do-sys-rump-fs-lib
2121.224SlukemBUILDTARGETS+=	do-ld.so
2131.224SlukemBUILDTARGETS+=	do-build
2141.227Slukem.if ${MKX11} != "no"
2151.227SlukemBUILDTARGETS+=	do-x11
2161.227Slukem.endif
2171.200SlukemBUILDTARGETS+=	do-obsolete
2181.131Stv
2191.193Slukem#
2201.137Stv# Enforce proper ordering of some rules.
2211.193Slukem#
2221.123Smrg
2231.137Stv.ORDER:		${BUILDTARGETS}
2241.228Slukemincludes-lib:	.PHONY includes-include includes-sys
2251.228Slukemincludes-gnu:	.PHONY includes-lib
2261.123Smrg
2271.193Slukem#
2281.137Stv# Build the system and install into DESTDIR.
2291.193Slukem#
2301.123Smrg
2311.191SlukemSTART_TIME!=	date
2321.191Slukem
2331.242Sdslbuild: .PHONY .MAKE
2341.137Stv.if defined(BUILD_DONE)
2351.137Stv	@echo "Build already installed into ${DESTDIR}"
2361.137Stv.else
2371.191Slukem	@echo "Build started at: ${START_TIME}"
2381.145Stv.for tgt in ${BUILDTARGETS}
2391.232Slukem	${MAKEDIRTARGET} . ${tgt}
2401.145Stv.endfor
2411.232Slukem	${MAKEDIRTARGET} etc install-etc-release
2421.191Slukem	@echo   "Build started at:  ${START_TIME}"
2431.172Sbjh21	@printf "Build finished at: " && date
2441.71Smycroft.endif
2451.160Sthorpej
2461.193Slukem#
2471.160Sthorpej# Build a full distribution, but not a release (i.e. no sets into
2481.193Slukem# ${RELEASEDIR}).  "buildworld" enforces a build to ${DESTDIR} != /
2491.193Slukem#
2501.160Sthorpej
2511.242Sdsldistribution buildworld: .PHONY .MAKE
2521.194Slukem.if make(buildworld) && \
2531.194Slukem    (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
2541.193Slukem	@echo "Won't make ${.TARGET} with DESTDIR=/"
2551.193Slukem	@false
2561.193Slukem.endif
2571.232Slukem	${MAKEDIRTARGET} . build NOPOSTINSTALL=1
2581.232Slukem	${MAKEDIRTARGET} etc distribution INSTALL_DONE=1
2591.181Sthorpej.if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
2601.232Slukem	${MAKEDIRTARGET} . postinstall-fix-obsolete
2611.232Slukem	${MAKEDIRTARGET} distrib/sets checkflist
2621.181Sthorpej.endif
2631.192Slukem	@echo   "make ${.TARGET} started at:  ${START_TIME}"
2641.185Slukem	@printf "make ${.TARGET} finished at: " && date
2651.123Smrg
2661.193Slukem#
2671.193Slukem# Install the distribution from $DESTDIR to $INSTALLWORLDDIR (defaults to `/')
2681.193Slukem# If installing to /, ensures that the host's operating system is NetBSD and
2691.193Slukem# the host's `uname -m` == ${MACHINE}.
2701.193Slukem#
2711.193Slukem
2721.193SlukemHOST_UNAME_S!=	uname -s
2731.193SlukemHOST_UNAME_M!=	uname -m
2741.193Slukem
2751.242Sdslinstallworld: .PHONY .MAKE
2761.194Slukem.if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
2771.193Slukem	@echo "Can't make ${.TARGET} to DESTDIR=/"
2781.193Slukem	@false
2791.193Slukem.endif
2801.193Slukem.if !defined(INSTALLWORLDDIR) || \
2811.193Slukem    ${INSTALLWORLDDIR} == "" || ${INSTALLWORLDDIR} == "/"
2821.193Slukem.if (${HOST_UNAME_S} != "NetBSD")
2831.193Slukem	@echo "Won't cross-make ${.TARGET} from ${HOST_UNAME_S} to NetBSD with INSTALLWORLDDIR=/"
2841.193Slukem	@false
2851.193Slukem.endif
2861.193Slukem.if (${HOST_UNAME_M} != ${MACHINE})
2871.193Slukem	@echo "Won't cross-make ${.TARGET} from ${HOST_UNAME_M} to ${MACHINE} with INSTALLWORLDDIR=/"
2881.193Slukem	@false
2891.193Slukem.endif
2901.193Slukem.endif
2911.232Slukem	${MAKEDIRTARGET} distrib/sets installsets \
2921.232Slukem	    INSTALLDIR=${INSTALLWORLDDIR:U/} INSTALLSETS=
2931.232Slukem	${MAKEDIRTARGET} . postinstall-check DESTDIR=${INSTALLWORLDDIR}
2941.193Slukem	@echo   "make ${.TARGET} started at:  ${START_TIME}"
2951.193Slukem	@printf "make ${.TARGET} finished at: " && date
2961.199Slukem
2971.199Slukem#
2981.206Slukem# Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR
2991.199Slukem#
3001.199Slukem
3011.241Sapb.for tgt in sets sourcesets syspkgs
3021.242Sdsl${tgt}: .PHONY .MAKE
3031.232Slukem	${MAKEDIRTARGET} distrib/sets ${tgt}
3041.206Slukem.endfor
3051.193Slukem
3061.193Slukem#
3071.240Slukem# Build a release or snapshot (implies "make distribution").  Note that
3081.181Sthorpej# in this case, the set lists will be checked before the tar files
3091.181Sthorpej# are made.
3101.193Slukem#
3111.123Smrg
3121.242Sdslrelease snapshot: .PHONY .MAKE
3131.240Slukem	${MAKEDIRTARGET} . distribution
3141.240Slukem	${MAKEDIRTARGET} etc release DISTRIBUTION_DONE=1
3151.192Slukem	@echo   "make ${.TARGET} started at:  ${START_TIME}"
3161.185Slukem	@printf "make ${.TARGET} finished at: " && date
3171.123Smrg
3181.193Slukem#
3191.243Sapb# Create a CD-ROM image.
3201.243Sapb#
3211.243Sapb
3221.243Sapbiso-image: .PHONY
3231.247Sbouyer	${MAKEDIRTARGET} distrib iso_image
3241.243Sapb	${MAKEDIRTARGET} etc iso-image
3251.243Sapb	@echo   "make ${.TARGET} started at:  ${START_TIME}"
3261.243Sapb	@printf "make ${.TARGET} finished at: " && date
3271.243Sapb
3281.248Sjnemethiso-image-source: .PHONY
3291.248Sjnemeth	${MAKEDIRTARGET} distrib iso_image CDSOURCE=true
3301.248Sjnemeth	${MAKEDIRTARGET} etc iso-image
3311.248Sjnemeth	@echo   "make ${.TARGET} started at:  ${START_TIME}"
3321.248Sjnemeth	@printf "make ${.TARGET} finished at: " && date
3331.248Sjnemeth
3341.243Sapb#
3351.137Stv# Special components of the "make build" process.
3361.193Slukem#
3371.156Stv
3381.228Slukemcheck-tools: .PHONY
3391.223Slukem.if ${TOOLCHAIN_MISSING} != "no" && !defined(EXTERNAL_TOOLCHAIN)
3401.187Sthorpej	@echo '*** WARNING:  Building on MACHINE=${MACHINE} with missing toolchain.'
3411.187Sthorpej	@echo '*** May result in a failed build or corrupt binaries!'
3421.187Sthorpej.elif defined(EXTERNAL_TOOLCHAIN)
3431.187Sthorpej	@echo '*** Using external toolchain rooted at ${EXTERNAL_TOOLCHAIN}.'
3441.156Stv.endif
3451.173Ssommerfe.if defined(NBUILDJOBS)
3461.173Ssommerfe	@echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'
3471.173Ssommerfe.endif
3481.123Smrg
3491.242Sdsldo-distrib-dirs: .PHONY .MAKE
3501.147Sjmc.if !defined(DESTDIR) || ${DESTDIR} == ""
3511.232Slukem	${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/
3521.147Sjmc.else
3531.232Slukem	${MAKEDIRTARGET} etc distrib-dirs DESTDIR=${DESTDIR}
3541.147Sjmc.endif
3551.190Slukem
3561.190Slukem.for targ in cleandir obj includes
3571.228Slukemdo-${targ}: .PHONY ${targ}
3581.190Slukem	@true
3591.190Slukem.endfor
3601.123Smrg
3611.255Spooka.for dir in tools tools/compat lib/csu gnu/lib/crtstuff${LIBGCC_EXT} gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib
3621.242Sdsldo-${dir:S/\//-/g}: .PHONY .MAKE
3631.137Stv.for targ in dependall install
3641.232Slukem	${MAKEDIRTARGET} ${dir} ${targ}
3651.137Stv.endfor
3661.184Slukem.endfor
3671.184Slukem
3681.249Slukemdo-libgcc: .PHONY .MAKE
3691.249Slukem.if ${MKGCC} != "no"
3701.249Slukem.if (${HAVE_GCC} == "3" || ${HAVE_GCC} == "4")
3711.249Slukem	${MAKEDIRTARGET} . do-gnu-lib-crtstuff${LIBGCC_EXT}
3721.249Slukem.endif
3731.249Slukem	${MAKEDIRTARGET} . do-gnu-lib-libgcc${LIBGCC_EXT}
3741.249Slukem.endif
3751.249Slukem
3761.242Sdsldo-ld.so: .PHONY .MAKE
3771.184Slukem.for targ in dependall install
3781.189Sitohy.if (${OBJECT_FMT} == "a.out")
3791.232Slukem	${MAKEDIRTARGET} libexec/ld.aout_so ${targ}
3801.189Sitohy.endif
3811.189Sitohy.if (${OBJECT_FMT} == "ELF")
3821.232Slukem	${MAKEDIRTARGET} libexec/ld.elf_so ${targ}
3831.189Sitohy.endif
3841.137Stv.endfor
3851.143Stv
3861.242Sdsldo-build: .PHONY .MAKE
3871.154Stv.for targ in dependall install
3881.232Slukem	${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no
3891.154Stv.endfor
3901.200Slukem
3911.242Sdsldo-x11: .PHONY .MAKE
3921.254Smrg.if ${MKXORG} != "no"
3931.254Smrg	${MAKEDIRTARGET} external/mit/xorg build
3941.254Smrg.else
3951.232Slukem	${MAKEDIRTARGET} x11 build
3961.254Smrg.endif
3971.227Slukem
3981.242Sdsldo-obsolete: .PHONY .MAKE
3991.232Slukem	${MAKEDIRTARGET} etc install-obsolete-lists
4001.87Scjs
4011.193Slukem#
4021.137Stv# Speedup stubs for some subtrees that don't need to run these rules.
4031.137Stv# (Tells <bsd.subdir.mk> not to recurse for them.)
4041.193Slukem#
4051.129Stv
4061.152Stv.for dir in bin etc distrib games libexec regress sbin usr.sbin tools
4071.228Slukemincludes-${dir}: .PHONY
4081.152Stv	@true
4091.152Stv.endfor
4101.152Stv.for dir in etc distrib regress
4111.228Slukeminstall-${dir}: .PHONY
4121.152Stv	@true
4131.152Stv.endfor
4141.152Stv
4151.193Slukem#
4161.152Stv# XXX this needs to change when distrib Makefiles are recursion compliant
4171.193Slukem# XXX many distrib subdirs need "cd etc && make snap_pre snap_kern" first...
4181.193Slukem#
4191.228Slukemdependall-distrib depend-distrib all-distrib: .PHONY
4201.136Snathanw	@true
4211.130Stv
4221.211Slukem.include <bsd.sys.mk>
4231.151Stv.include <bsd.obj.mk>
4241.209Slukem.include <bsd.kernobj.mk>
4251.146Stv.include <bsd.subdir.mk>
4261.144Stv
4271.228Slukembuild-docs: .PHONY ${.CURDIR}/BUILDING
4281.188Slukem${.CURDIR}/BUILDING: doc/BUILDING.mdoc
4291.230Slukem	${_MKMSG_CREATE} ${.TARGET}
4301.216Slukem	${TOOL_GROFF} -mdoc -Tascii -P-bou $> >$@
4311.209Slukem
4321.209Slukem
4331.209Slukem#
4341.209Slukem# Display current make(1) parameters
4351.209Slukem#
4361.242Sdslparams: .PHONY .MAKE
4371.232Slukem	${MAKEDIRTARGET} etc params
438