Style fixes:

Main ones: mostly use conditional expressions in ifdefs instead of a
mixture of conditional expressions and nested ifdefs.
Nearby ones:
- don't do less than echo the code in the comment about libc_r
- fixed some internal insertion sort errors and indentation errors.
This commit is contained in:
bde 2004-05-14 19:52:35 +00:00
parent a95c21c1a1
commit 3c92afcdeb

View File

@ -62,13 +62,10 @@ _libsmb= libsmb
_libvgl= libvgl
.endif
# libc_r is obsolete on ia64.
.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "powerpc" && \
${MACHINE_ARCH} != "arm"
.if !defined(NOLIBC_R)
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "ia64" && \
${MACHINE_ARCH} != "powerpc" && !defined(NOLIBC_R)
_libc_r= libc_r
.endif
.endif
.if ${MACHINE_ARCH} != "arm"
_libdisk= libdisk
@ -95,17 +92,14 @@ _libncp= libncp
_libsmb= libsmb
.endif
.if ${MACHINE_ARCH} != "powerpc"
.if !defined(NOLIBPTHREAD)
.if ${MACHINE_ARCH} != "powerpc" && !defined(NOLIBPTHREAD)
_libpthread= libpthread
.endif
.endif
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "arm"
.if !defined(NOLIBTHR)
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "arm" && \
!defined(NOLIBTHR)
_libthr= libthr
.endif
.endif
.if !defined(NO_USB)
_libusbhid= libusbhid