summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-12-21 09:00:26 +0000
committerru <ru@FreeBSD.org>2004-12-21 09:00:26 +0000
commitba3655c74f170d85d1349f1e286aff27b58c9fc5 (patch)
treec770cc7ab20312f3a29a44816f43cb8965a9b44d
parentcec60429bbb77a84c44199253f4a9d1a628fcc2a (diff)
downloadFreeBSD-src-ba3655c74f170d85d1349f1e286aff27b58c9fc5.zip
FreeBSD-src-ba3655c74f170d85d1349f1e286aff27b58c9fc5.tar.gz
NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
-rw-r--r--Makefile.inc12
-rw-r--r--lib/Makefile6
-rw-r--r--lib/bind/config.mk8
-rwxr-xr-xrelease/picobsd/build/picobsd2
-rw-r--r--secure/usr.sbin/sshd/Makefile4
-rw-r--r--share/examples/etc/make.conf6
-rw-r--r--share/man/man3/Makefile2
-rw-r--r--share/man/man5/make.conf.56
-rw-r--r--share/mk/bsd.compat.mk3
-rw-r--r--tools/tools/nanobsd/make.conf2
-rw-r--r--usr.sbin/Makefile10
11 files changed, 27 insertions, 24 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 5682ea8..03abe3f 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -13,7 +13,7 @@
# -DNOGAMES do not go into games subdir
# -DNOSHARE do not go into share subdir
# -DNOINFO do not make or install info files
-# -DNOLIBC_R do not build libc_r.
+# -DNO_LIBC_R do not build libc_r.
# -DNO_FORTRAN do not build g77 and related libraries.
# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
diff --git a/lib/Makefile b/lib/Makefile
index 5f4fe5e..e1668ff 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -63,7 +63,7 @@ _libvgl= libvgl
.endif
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "ia64" && \
- ${MACHINE_ARCH} != "powerpc" && !defined(NOLIBC_R)
+ ${MACHINE_ARCH} != "powerpc" && !defined(NO_LIBC_R)
_libc_r= libc_r
.endif
@@ -91,11 +91,11 @@ _libncp= libncp
_libsmb= libsmb
.endif
-.if !defined(NOLIBPTHREAD)
+.if !defined(NO_LIBPTHREAD)
_libpthread= libpthread
.endif
-.if ${MACHINE_ARCH} != "arm" && !defined(NOLIBTHR)
+.if ${MACHINE_ARCH} != "arm" && !defined(NO_LIBTHR)
_libthr= libthr
.endif
diff --git a/lib/bind/config.mk b/lib/bind/config.mk
index 1d9aacf..970400b 100644
--- a/lib/bind/config.mk
+++ b/lib/bind/config.mk
@@ -98,12 +98,12 @@ CRYPTO_LDADD= -lcrypto
# Link against POSIX threads library
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
-.if defined(NOLIBC_R)
-.error "BIND requires libpthread - define NO_BIND, or undefine NOLIBC_R"
+.if defined(NO_LIBC_R)
+.error "BIND requires libpthread - define NO_BIND, or undefine NO_LIBC_R"
.endif
.else
-.if defined(NOLIBPTHREAD)
-.error "BIND requires libpthread - define NO_BIND, or undefine NOLIBPTHREAD"
+.if defined(NO_LIBPTHREAD)
+.error "BIND requires libpthread - define NO_BIND, or undefine NO_LIBPTHREAD"
.endif
.endif
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd
index 5cd5026..b5e6054 100755
--- a/release/picobsd/build/picobsd
+++ b/release/picobsd/build/picobsd
@@ -154,7 +154,7 @@ create_includes_and_libraries2() {
MAKEOBJDIRPREFIX=${l_objtree}
export MAKEOBJDIRPREFIX
( cd ${SRC};
- make -DNOCLEAN -DNOPROFILE -DNOGAMES -DNOLIBC_R -DPICOBSD buildworld
+ make -DNOCLEAN -DNOPROFILE -DNOGAMES -DNO_LIBC_R -DPICOBSD buildworld
)
}
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 0b6cd4f..a51b6d5 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -34,9 +34,9 @@ LDADD+= -lcrypto -lcrypt
.if defined(OPENSSH_USE_POSIX_THREADS)
.if ((${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "ia64") && !defined(NOLIBPTHREAD)) || \
+ ${MACHINE_ARCH} == "ia64") && !defined(NO_LIBPTHREAD)) || \
((${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64") && \
- !defined(NOLIBC_R))
+ !defined(NO_LIBC_R))
CFLAGS+=-DUSE_POSIX_THREADS
DPADD+= ${LIBPTHREAD}
LDADD+= -lpthread
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 86cb3cd..d85e10e2 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -123,9 +123,9 @@
#NO_IPFILTER= # do not build IP Filter package
#NOIPSEC= # do not build traceroute(8) with IPSEC support
#NO_KERBEROS= # do not build and install Kerberos 5 (KTH Heimdal)
-#NOLIBC_R= # do not build libc_r (re-entrant version of libc)
-#NOLIBPTHREAD= # do not build libpthread (M:N threading library)
-#NOLIBTHR= # do not build libthr (1:1 threading library)
+#NO_LIBC_R= # do not build libc_r (re-entrant version of libc)
+#NO_LIBPTHREAD= # do not build libpthread (M:N threading library)
+#NO_LIBTHR= # do not build libthr (1:1 threading library)
#NO_LPR= # do not build lpr and related programs
#NO_MAILWRAPPER= # do not build the mailwrapper(8) MTA selector
#NO_MAN= # do not build manual pages
diff --git a/share/man/man3/Makefile b/share/man/man3/Makefile
index 19e9bdd..b95cc27 100644
--- a/share/man/man3/Makefile
+++ b/share/man/man3/Makefile
@@ -141,7 +141,7 @@ MLINKS+= tree.3 RB_EMPTY.3 \
tree.3 SPLAY_RIGHT.3 \
tree.3 SPLAY_ROOT.3
-.if !defined(NOLIBC_R) || !defined(NOLIBPTHREAD) || !defined(NOLIBTHR)
+.if !defined(NO_LIBC_R) || !defined(NO_LIBPTHREAD) || !defined(NO_LIBTHR)
PTHREAD_MAN= pthread.3 \
pthread_attr.3 \
pthread_attr_get_np.3 \
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index 03f32c4..f48d714 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -546,19 +546,19 @@ Set to not build games.
Set to not make or install
.Xr info 5
files.
-.It Va NOLIBC_R
+.It Va NO_LIBC_R
.Pq Vt bool
Set to not build
.Nm libc_r
(reentrant version of
.Nm libc ) .
-.It Va NOLIBPTHREAD
+.It Va NO_LIBPTHREAD
.Pq Vt bool
Set to not build the
.Nm libpthread
(M:N threading)
library.
-.It Va NOLIBTHR
+.It Va NO_LIBTHR
.Pq Vt bool
Set to not build the
.Nm libthr
diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk
index 4f02df09..1bc4c38 100644
--- a/share/mk/bsd.compat.mk
+++ b/share/mk/bsd.compat.mk
@@ -2,6 +2,9 @@
.if !defined(BURN_BRIDGES)
.for oldnew in \
+ NOLIBC_R:NO_LIBC_R \
+ NOLIBPTHREAD:NO_LIBPTHREAD \
+ NOLIBTHR:NO_LIBTHR \
NOMAN:NO_MAN \
NOMANCOMPRESS:NO_MANCOMPRESS \
NOOBJ:NO_OBJ
diff --git a/tools/tools/nanobsd/make.conf b/tools/tools/nanobsd/make.conf
index b6e5c6b..224f2a5 100644
--- a/tools/tools/nanobsd/make.conf
+++ b/tools/tools/nanobsd/make.conf
@@ -24,7 +24,7 @@ NOINET6=
NOINFO=
NO_IPFILTER=
NO_KERBEROS=
-NOLIBTHR=
+NO_LIBTHR=
NO_LPR=
NO_MAN=
NO_MODULES=
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 28d6bbb..47c1ac3 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -294,7 +294,7 @@ _ndiscvt= ndiscvt
_pccard= pccard
_pcvt= pcvt
_pnpinfo= pnpinfo
-.if !defined(NOLIBPTHREAD)
+.if !defined(NO_LIBPTHREAD)
_pppctl= pppctl
.endif
_sicontrol= sicontrol
@@ -306,7 +306,7 @@ _zzz= zzz
.if ${MACHINE_ARCH} == "alpha"
_elf2exe= elf2exe
_pnpinfo= pnpinfo
-.if !defined(NOLIBC_R)
+.if !defined(NO_LIBC_R)
_pppctl= pppctl
.endif
.endif
@@ -326,7 +326,7 @@ _lptcontrol= lptcontrol
_mount_nwfs= mount_nwfs
_mount_smbfs= mount_smbfs
_mptable= mptable
-.if !defined(NOLIBPTHREAD)
+.if !defined(NO_LIBPTHREAD)
_pppctl= pppctl
.endif
_sicontrol= sicontrol
@@ -339,7 +339,7 @@ _zzz= zzz
_acpi= acpi
.endif
_kgmon= kgmon
-.if !defined(NOLIBPTHREAD)
+.if !defined(NO_LIBPTHREAD)
_pppctl= pppctl
.endif
_zzz= zzz
@@ -348,7 +348,7 @@ _zzz= zzz
.if ${MACHINE_ARCH} == "sparc64"
_eeprom= eeprom
_ofwdump= ofwdump
-.if !defined(NOLIBC_R)
+.if !defined(NO_LIBC_R)
_pppctl= pppctl
.endif
.endif
OpenPOWER on IntegriCloud