Add MKX11 to control if src/x11 is traversed during the build. (default: no)
Document <bsd.x11.mk>.
This commit is contained in:
parent
df90d3e32b
commit
e0d82d7dce
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.README,v 1.143 2004/01/03 01:06:55 lukem Exp $
|
||||
# $NetBSD: bsd.README,v 1.144 2004/01/07 12:06:34 lukem Exp $
|
||||
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
|
||||
|
||||
This is the README file for the new make "include" files for the BSD
|
||||
|
@ -259,6 +259,11 @@ MKUPDATE If not "no", 'make install' only installs targets that are
|
|||
MKUUCP If "no", don't build or install uucp(1).
|
||||
Default: yes
|
||||
|
||||
MKX11 If not "no", 'make build' also descends into src/x11
|
||||
to cross build X11R6 and automatically enables creation
|
||||
of X sets.
|
||||
Default: no
|
||||
|
||||
MKYP If "no", disables building of YP (NIS)
|
||||
infrastructure (libraries and support programs).
|
||||
Default: yes
|
||||
|
@ -393,6 +398,26 @@ NLSOWN Native Language Support files owner. [root]
|
|||
|
||||
NLSMODE Native Language Support files mode. [${NONBINMODE}]
|
||||
|
||||
X11SRCDIR The path to the xsrc tree. [/usr/xsrc]
|
||||
|
||||
X11SRCDIR.xc The path to the X11R6 xc src tree. [${X11SRCDIR}/xfree/xc]
|
||||
|
||||
X11SRCDIR.local The path to the local X11R6 src tree. [${X11SRCDIR}/local]
|
||||
|
||||
X11ROOTDIR Root directory of the X11 installation. [/usr/X11R6]
|
||||
|
||||
X11BINDIR X11 bin directory. [${X11ROOTDIR}/bin]
|
||||
|
||||
X11FONTDIR X11 font directory. [${X11ROOTDIR}/lib/X11/fonts]
|
||||
|
||||
X11INCDIR X11 include directory. [${X11ROOTDIR}/include]
|
||||
|
||||
X11LIBDIR X11 lib/x11 (config) directory. [${X11ROOTDIR}/lib/X11]
|
||||
|
||||
X11MANDIR X11 manual directory. [${X11ROOTDIR}/man]
|
||||
|
||||
X11USRLIBDIR X11 library directory. [${X11ROOTDIR}/lib]
|
||||
|
||||
STRIPFLAG The flag passed to the install program to cause the binary
|
||||
to be stripped. This is to be used when building your
|
||||
own install script so that the entire system can be made
|
||||
|
@ -1258,4 +1283,68 @@ WFORMAT -Wnetbsd-format-audit for extra-stringent format checking.
|
|||
mk.conf if you're doing format-string auditing.
|
||||
FORMAT_AUDIT may go away in time.
|
||||
|
||||
|
||||
=-=-=-=-= bsd.x11.mk =-=-=-=-=
|
||||
|
||||
The include file <bsd.x11.mk> contains parameters and targets for
|
||||
cross-building X11R6 from ${X11SRCDIR.xc}.
|
||||
It should be included after the general Makefile contents but before
|
||||
the include files such as <bsd.prog.mk> and <bsd.lib.mk>.
|
||||
|
||||
It provides the following targets:
|
||||
.man.1 .man.3 .man.4 .man.5 .man.7:
|
||||
If ${MAN} or ${PROG} is set and ${MKMAN} != "no",
|
||||
these rules convert from X11R6's manual page source
|
||||
into an mdoc.old source file.
|
||||
cleanx11man:
|
||||
Clean up the mdoc.old files generated by the above.
|
||||
|
||||
It sets the following variables:
|
||||
|
||||
BINDIR Set to ${X11BINDIR}.
|
||||
To override, define after including <bsd.x11.mk>
|
||||
|
||||
LIBDIR Set to ${X11USRLIBDIR}.
|
||||
To override, define after including <bsd.x11.mk>
|
||||
|
||||
MANDIR Set to ${X11MANDIR}.
|
||||
To override, define after including <bsd.x11.mk>
|
||||
|
||||
CPPFLAGS Appended with definitions to include from
|
||||
${DESTDIR}${X11INCDIR}
|
||||
|
||||
LDFLAGS Appended with definitions to link from
|
||||
${DESTDIR}${X11USRLIBDIR}
|
||||
|
||||
X11FLAGS.CONNECTION Equivalent to X11R6's CONNECTION_FLAGS.
|
||||
|
||||
X11FLAGS.EXTENSION Equivalent to X11R6's EXT_DEFINES.
|
||||
|
||||
X11FLAGS.LOADABLE Equivalent to X11R6's LOADABLE.
|
||||
|
||||
X11FLAGS.OS_DEFINES Equivalent to X11R6's OS_DEFINES.
|
||||
|
||||
X11FLAGS.SERVER Equivalent to X11R6's ServerDefines.
|
||||
|
||||
X11FLAGS.THREADLIB Equivalent to X11R6's THREADS_DEFINES for libraries.
|
||||
|
||||
X11FLAGS.THREADS Equivalent to X11R6's THREADS_DEFINES.
|
||||
|
||||
X11FLAGS.VERSION cpp(1) definitions of OSMAJORVERSION and OSMINORVERSION.
|
||||
|
||||
X11TOOL_UNXCOMM Commandline to convert `XCOMM' comments to `#'
|
||||
|
||||
It uses the following variables:
|
||||
|
||||
APPDEFS List of app-default files to install.
|
||||
|
||||
CPPSCRIPTS List of files/scripts to run through cpp(1)
|
||||
and then ${X11TOOL_UNXCOMM}. The source files
|
||||
have a `.cpp' suffix, the generated files do not.
|
||||
|
||||
CPPSCRIPTFLAGS Additional flags to cpp(1) when building CPPSCRIPTS.
|
||||
|
||||
CPPSCRIPTFLAGS_<fn> Additional flags to cpp(1) when building CPPSCRIPT <fn>.
|
||||
|
||||
|
||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.own.mk,v 1.407 2004/01/03 01:05:42 lukem Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.408 2004/01/07 12:06:34 lukem Exp $
|
||||
|
||||
.if !defined(_BSD_OWN_MK_)
|
||||
_BSD_OWN_MK_=1
|
||||
|
@ -551,7 +551,7 @@ MK${var}?= yes
|
|||
# MK* options which default to "no".
|
||||
#
|
||||
.for var in CRYPTO_IDEA CRYPTO_MDC2 CRYPTO_RC5 \
|
||||
MANZ OBJDIRS SOFTFLOAT UNPRIVED UPDATE
|
||||
MANZ OBJDIRS SOFTFLOAT UNPRIVED UPDATE X11
|
||||
MK${var}?= no
|
||||
.endfor
|
||||
|
||||
|
|
Loading…
Reference in New Issue