for MKSHARE=no, set MKDOC=no MKMAN=no MKNLS=no, and for MKMAN=no, set
MKCATPAGES=no. this simplifies various tests.
This commit is contained in:
parent
f598822c56
commit
41510f9a2b
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.README,v 1.45 1999/02/12 01:10:06 lukem Exp $
|
||||
# $NetBSD: bsd.README,v 1.46 1999/02/12 12:38:44 lukem Exp $
|
||||
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
|
||||
|
||||
This is the README file for the new make "include" files for the BSD
|
||||
@ -87,6 +87,7 @@ MKLINKLIB If "no", act as "MKPICINSTALL=no MKPROFILE=no".
|
||||
MKLINT If "no", don't build or install the lint libraries.
|
||||
|
||||
MKMAN If "no", don't build or install the man or catman pages.
|
||||
Also acts as "MKCATPAGES=no"
|
||||
|
||||
MKNLS If "no", don't build or install the NLS files.
|
||||
|
||||
@ -98,7 +99,7 @@ MKPICINSTALL If "no", don't install the *_pic.a libraries.
|
||||
|
||||
MKPROFILE If "no", don't build or install the profiling libraries.
|
||||
|
||||
MKSHARE If "no", act as "MKDOC=no MKMAN=no MKNLS=no".
|
||||
MKSHARE If "no", act as "MKCATPAGES=no MKDOC=no MKMAN=no MKNLS=no".
|
||||
I.e, don't build documentation, info pages, man pages,
|
||||
NLS files, etc.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.lib.mk,v 1.148 1999/02/12 01:10:07 lukem Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.149 1999/02/12 12:38:45 lukem Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.if !target(__initialized__)
|
||||
@ -185,7 +185,7 @@ _LIBS=lib${LIB}.a
|
||||
_LIBS=
|
||||
.endif
|
||||
|
||||
.if ${MKPROFILE} != "no" && ${MKLINKLIB} != "no"
|
||||
.if ${MKPROFILE} != "no"
|
||||
_LIBS+=lib${LIB}_p.a
|
||||
.endif
|
||||
|
||||
@ -287,7 +287,7 @@ ${DESTDIR}${LIBDIR}/lib${LIB}.a: .MADE
|
||||
${DESTDIR}${LIBDIR}/lib${LIB}.a: lib${LIB}.a __archiveinstall
|
||||
.endif
|
||||
|
||||
.if ${MKPROFILE} != "no" && ${MKLINKLIB} != "no"
|
||||
.if ${MKPROFILE} != "no"
|
||||
libinstall:: ${DESTDIR}${LIBDIR}/lib${LIB}_p.a
|
||||
.if !defined(UPDATE)
|
||||
.PHONY: ${DESTDIR}${LIBDIR}/lib${LIB}_p.a
|
||||
@ -300,7 +300,7 @@ ${DESTDIR}${LIBDIR}/lib${LIB}_p.a: .MADE
|
||||
${DESTDIR}${LIBDIR}/lib${LIB}_p.a: lib${LIB}_p.a __archiveinstall
|
||||
.endif
|
||||
|
||||
.if ${MKPIC} != "no" && ${MKPICINSTALL} != "no" && ${MKLINKLIB} != "no"
|
||||
.if ${MKPIC} != "no" && ${MKPICINSTALL} != "no"
|
||||
libinstall:: ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a
|
||||
.if !defined(UPDATE)
|
||||
.PHONY: ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.man.mk,v 1.43 1999/02/12 01:10:07 lukem Exp $
|
||||
# $NetBSD: bsd.man.mk,v 1.44 1999/02/12 12:38:45 lukem Exp $
|
||||
# @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93
|
||||
|
||||
.if !target(__initialized__)
|
||||
@ -12,7 +12,7 @@ __initialized__:
|
||||
.endif
|
||||
|
||||
.PHONY: catinstall maninstall catpages manpages catlinks manlinks cleanman
|
||||
.if ${MKMAN} != "no" && ${MKSHARE} != "no"
|
||||
.if ${MKMAN} != "no"
|
||||
realinstall: ${MANINSTALL}
|
||||
.endif
|
||||
cleandir distclean: cleanman
|
||||
@ -148,7 +148,7 @@ manlinks: manpages
|
||||
.endif
|
||||
|
||||
.if defined(CATPAGES)
|
||||
.if ${MKMAN} != "no" && ${MKSHARE} != "no" && ${MKCATPAGES} != "no"
|
||||
.if ${MKCATPAGES} != "no"
|
||||
all: ${CATPAGES}
|
||||
.else
|
||||
all:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.nls.mk,v 1.16 1999/02/12 01:10:07 lukem Exp $
|
||||
# $NetBSD: bsd.nls.mk,v 1.17 1999/02/12 12:38:45 lukem Exp $
|
||||
|
||||
.if !target(__initialized__)
|
||||
__initialized__:
|
||||
@ -9,7 +9,7 @@ __initialized__:
|
||||
.MAIN: all
|
||||
.endif
|
||||
.PHONY: cleannls nlsinstall
|
||||
.if ${MKNLS} != "no" && ${MKSHARE} != "no"
|
||||
.if ${MKNLS} != "no"
|
||||
realinstall: nlsinstall
|
||||
.endif
|
||||
cleandir distclean: cleannls
|
||||
@ -33,7 +33,7 @@ NLSNAME=lib${LIB}
|
||||
.endif
|
||||
|
||||
.if defined(NLSALL)
|
||||
.if ${MKNLS} != "no" && ${MKSHARE} != "no"
|
||||
.if ${MKNLS} != "no"
|
||||
all: ${NLSALL}
|
||||
.endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.own.mk,v 1.116 1999/02/12 01:10:07 lukem Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.117 1999/02/12 12:38:45 lukem Exp $
|
||||
|
||||
.if !defined(_BSD_OWN_MK_)
|
||||
_BSD_OWN_MK_=1
|
||||
@ -186,6 +186,10 @@ MKLINKLIB=no
|
||||
.else
|
||||
MKLINKLIB?=yes
|
||||
.endif
|
||||
.if ${MKLINKLIB} == "no"
|
||||
MKPICINSTALL=no
|
||||
MKPROFILE=no
|
||||
.endif
|
||||
|
||||
.if defined(NOLINT)
|
||||
MKLINT=no
|
||||
@ -198,6 +202,9 @@ MKMAN=no
|
||||
.else
|
||||
MKMAN?=yes
|
||||
.endif
|
||||
.if ${MKMAN} == "no"
|
||||
MKCATPAGES=no
|
||||
.endif
|
||||
|
||||
.if defined(NONLS)
|
||||
MKNLS=no
|
||||
@ -234,6 +241,12 @@ MKSHARE=no
|
||||
.else
|
||||
MKSHARE?=yes
|
||||
.endif
|
||||
.if ${MKSHARE} == "no"
|
||||
MKCATPAGES=no
|
||||
MKDOC=no
|
||||
MKMAN=no
|
||||
MKNLS=no
|
||||
.endif
|
||||
|
||||
|
||||
.endif # _BSD_OWN_MK_
|
||||
|
Loading…
Reference in New Issue
Block a user