NODOCCOMPRESS -> NO_DOCCOMPRESS

NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
This commit is contained in:
ru 2004-12-21 09:33:47 +00:00
parent 3b01b84505
commit 74176cc161
30 changed files with 74 additions and 68 deletions

View File

@ -9,10 +9,10 @@
# -DNOCLEAN do not clean at all # -DNOCLEAN do not clean at all
# -DNOCRYPT will prevent building of crypt versions # -DNOCRYPT will prevent building of crypt versions
# -DNO_MAN do not build the manual pages # -DNO_MAN do not build the manual pages
# -DNOPROFILE do not build profiled libraries # -DNO_PROFILE do not build profiled libraries
# -DNOGAMES do not go into games subdir # -DNOGAMES do not go into games subdir
# -DNOSHARE do not go into share subdir # -DNOSHARE do not go into share subdir
# -DNOINFO do not make or install info files # -DNO_INFO do not make or install info files
# -DNO_LIBC_R do not build libc_r. # -DNO_LIBC_R do not build libc_r.
# -DNO_FORTRAN do not build g77 and related libraries. # -DNO_FORTRAN do not build g77 and related libraries.
# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel # -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
@ -182,14 +182,14 @@ BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
${BMAKEENV} ${MAKE} -f Makefile.inc1 \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \
DESTDIR= \ DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} \ BOOTSTRAPPING=${OSRELDATE} \
-DNOHTML -DNOINFO -DNOLINT -DNO_MAN -DNOPIC -DNOPROFILE \ -DNOHTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_PIC -DNO_PROFILE \
-DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS
# build-tools stage # build-tools stage
TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \ TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
${BMAKEENV} ${MAKE} -f Makefile.inc1 \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \
DESTDIR= \ DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} -DNOLINT -DNO_CPU_CFLAGS -DNO_WARNS BOOTSTRAPPING=${OSRELDATE} -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS
# cross-tools stage # cross-tools stage
XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} -DNO_FORTRAN -DNO_GDB XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} -DNO_FORTRAN -DNO_GDB
@ -231,7 +231,7 @@ LIB32MAKEENV= MAKEOBJDIRPREFIX=${OBJTREE}/lib32 \
SHLIBDIR=/usr/lib32 SHLIBDIR=/usr/lib32
LIB32MAKE= ${LIB32MAKEENV} ${MAKE} -DNO_CPU_CFLAGS -DCOMPAT_32BIT \ LIB32MAKE= ${LIB32MAKEENV} ${MAKE} -DNO_CPU_CFLAGS -DCOMPAT_32BIT \
-DNO_BIND -DNO_MAN -DNODOC -DNOINFO -DNOHTML \ -DNO_BIND -DNO_MAN -DNO_INFO -DNOHTML \
CC="cc ${LIB32CC}" \ CC="cc ${LIB32CC}" \
CXX="c++ ${LIB32CXX}" \ CXX="c++ ${LIB32CXX}" \
OBJC="cc ${LIB32OBJC}" \ OBJC="cc ${LIB32OBJC}" \
@ -364,7 +364,7 @@ _libraries:
@echo ">>> stage 4.2: building libraries" @echo ">>> stage 4.2: building libraries"
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; \ ${_+_}cd ${.CURDIR}; \
${WMAKE} -DNOFSCHG -DNOHTML -DNOINFO -DNOLINT -DNO_MAN -DNOPROFILE \ ${WMAKE} -DNOFSCHG -DNOHTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_PROFILE \
libraries libraries
_depend: _depend:
@echo @echo

View File

@ -3,4 +3,4 @@
# Do not lint the GNU stuff. It is all externally maintained and # Do not lint the GNU stuff. It is all externally maintained and
# lint output is wasteful noise here. # lint output is wasteful noise here.
NOLINT= NO_LINT=

View File

@ -99,13 +99,13 @@ Version${x}.c: ${SRCDIR}/lib${x}77/Version.c
${E77OBJS}: f2cext.c ${E77OBJS}: f2cext.c
${CC} ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${CC} ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.if !defined(NOPIC) .if !defined(NO_PIC)
${E77OBJS:.o=.So}: f2cext.c ${E77OBJS:.o=.So}: f2cext.c
${CC} ${PICFLAG} -DPIC ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} \ ${CC} ${PICFLAG} -DPIC ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} \
${.ALLSRC:M*.c} ${.ALLSRC:M*.c}
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
${E77OBJS:.o=.po}: f2cext.c ${E77OBJS:.o=.po}: f2cext.c
${CC} -p ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${CC} -p ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif .endif

View File

@ -192,12 +192,12 @@ ${OBJS} beforedepend: ${COMMONHDRS}
${OBJS_T}: libgcc2.c ${OBJS_T}: libgcc2.c
${XCC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${XCC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.if !defined(NOPIC) .if !defined(NO_PIC)
${OBJS_S}: libgcc2.c ${OBJS_S}: libgcc2.c
${XCC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${XCC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
${OBJS_P}: libgcc2.c ${OBJS_P}: libgcc2.c
${XCC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${XCC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif .endif
@ -208,13 +208,13 @@ ${ASM_T}: ${_lib1asmsrc}
${XCC} -x assembler-with-cpp -c ${CFLAGS} -DL${.PREFIX} \ ${XCC} -x assembler-with-cpp -c ${CFLAGS} -DL${.PREFIX} \
-o ${.TARGET} ${.ALLSRC:N*.h} -o ${.TARGET} ${.ALLSRC:N*.h}
.if !defined(NOPIC) .if !defined(NO_PIC)
${ASM_S}: ${_lib1asmsrc} ${ASM_S}: ${_lib1asmsrc}
${XCC} -x assembler-with-cpp -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} \ ${XCC} -x assembler-with-cpp -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} \
-o ${.TARGET} ${.ALLSRC:N*.h} -o ${.TARGET} ${.ALLSRC:N*.h}
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
${ASM_P}: ${_lib1asmsrc} ${ASM_P}: ${_lib1asmsrc}
${XCC} -x assembler-with-cpp -p -c ${CFLAGS} -DL${.PREFIX} \ ${XCC} -x assembler-with-cpp -p -c ${CFLAGS} -DL${.PREFIX} \
-o ${.TARGET} ${.ALLSRC:N*.h} -o ${.TARGET} ${.ALLSRC:N*.h}

View File

@ -6,7 +6,7 @@ GCCDIR= ${.CURDIR}/../../../contrib/gcc
.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR} .PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}
LIB= gcov LIB= gcov
NOPROFILE= NO_PROFILE=
CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK
@ -32,12 +32,12 @@ ${OBJS} beforedepend: ${COMMONHDRS}
${OBJS_T}: libgcov.c ${OBJS_T}: libgcov.c
${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.if !defined(NOPIC) .if !defined(NO_PIC)
${OBJS_S}: libgcov.c ${OBJS_S}: libgcov.c
${CC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${CC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
${OBJS_P}: libgcc2.c ${OBJS_P}: libgcc2.c
${CC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} ${CC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif .endif

View File

@ -11,7 +11,7 @@ NO_MAN=
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
.else .else
# XXX is this still correct? # XXX is this still correct?
NOPIC= # works but method lookup slowdown is significant NO_PIC= # works but method lookup slowdown is significant
.endif .endif
SRCS= archive.c class.c encoding.c gc.c hash.c init.c misc.c \ SRCS= archive.c class.c encoding.c gc.c hash.c init.c misc.c \

View File

@ -1,6 +1,6 @@
# $FreeBSD$ # $FreeBSD$
NOLINT= NO_LINT=
KRB5DIR= ${.CURDIR}/../../../crypto/heimdal KRB5DIR= ${.CURDIR}/../../../crypto/heimdal

View File

@ -27,10 +27,10 @@ PRECIOUSLIB=
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64" .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
.if !defined(NOPIC) .if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif .endif
.endif .endif

View File

@ -3,7 +3,7 @@
LIB=compat LIB=compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
NOPIC= NO_PIC=
.PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ .PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \

View File

@ -21,8 +21,8 @@ CFLAGS+= -DPC98
.endif .endif
CLEANFILES+= tmp.c tst01 tst01.o CLEANFILES+= tmp.c tst01 tst01.o
NOPROFILE= NO_PROFILE=
NOPIC= NO_PIC=
MAN= libdisk.3 MAN= libdisk.3

View File

@ -234,7 +234,7 @@ SYMLINKS+=libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a
.endif .endif
.if !defined(NOPIC) .if !defined(NO_PIC)
# no need for major at all, it's an ld-time redirection only # no need for major at all, it's an ld-time redirection only
SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so
@ -242,7 +242,7 @@ SYMLINKS+=libncurses.so ${LIBDIR}/libtermlib.so
SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermcap_p.a SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermlib_p.a SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermlib_p.a
@ -556,6 +556,6 @@ MLINKS+=curs_window.3 delwin.3 curs_window.3 derwin.3 curs_window.3 dupwin.3 \
MLINKS+=default_colors.3 assume_default_colors.3 \ MLINKS+=default_colors.3 assume_default_colors.3 \
default_colors.3 use_default_colors.3 default_colors.3 use_default_colors.3
NOLINT= NO_LINT=
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -39,7 +39,7 @@ OPENPAM= ${.CURDIR}/../../../contrib/openpam
.PATH: ${OPENPAM}/include ${OPENPAM}/lib ${OPENPAM}/doc/man .PATH: ${OPENPAM}/include ${OPENPAM}/lib ${OPENPAM}/doc/man
LIB= pam LIB= pam
NOPROFILE= NO_PROFILE=
SRCS= openpam_borrow_cred.c \ SRCS= openpam_borrow_cred.c \
openpam_configure.c \ openpam_configure.c \

View File

@ -3,7 +3,7 @@
PAMDIR= ${.CURDIR}/../../../../contrib/openpam PAMDIR= ${.CURDIR}/../../../../contrib/openpam
NOINSTALLLIB= NOINSTALLLIB=
NOPROFILE= NO_PROFILE=
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
WARNS?= 4 WARNS?= 4
@ -12,7 +12,7 @@ WARNS?= 4
# For the static case, libpam.a depends on the modules. # For the static case, libpam.a depends on the modules.
# For the dynamic case, the modules depend on libpam.so.N # For the dynamic case, the modules depend on libpam.so.N
.if defined(_NO_LIBPAM_SO_YET) .if defined(_NO_LIBPAM_SO_YET)
NOPIC= NO_PIC=
.else .else
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
DPADD+= ${LIBPAM} DPADD+= ${LIBPAM}

View File

@ -7,8 +7,8 @@
# #
LIB= stand LIB= stand
NOPROFILE= NO_PROFILE=
NOPIC= NO_PIC=
INCS= stand.h INCS= stand.h
MAN= libstand.3 MAN= libstand.3

View File

@ -5,6 +5,6 @@ SHLIB_MAJOR= 2
SRCS= main.c yyerror.c SRCS= main.c yyerror.c
NOPIC= NO_PIC=
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -234,7 +234,7 @@ SYMLINKS+=libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a
.endif .endif
.if !defined(NOPIC) .if !defined(NO_PIC)
# no need for major at all, it's an ld-time redirection only # no need for major at all, it's an ld-time redirection only
SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so
@ -242,7 +242,7 @@ SYMLINKS+=libncurses.so ${LIBDIR}/libtermlib.so
SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so
.endif .endif
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermcap_p.a SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermlib_p.a SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermlib_p.a
@ -556,6 +556,6 @@ MLINKS+=curs_window.3 delwin.3 curs_window.3 derwin.3 curs_window.3 dupwin.3 \
MLINKS+=default_colors.3 assume_default_colors.3 \ MLINKS+=default_colors.3 assume_default_colors.3 \
default_colors.3 use_default_colors.3 default_colors.3 use_default_colors.3
NOLINT= NO_LINT=
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -43,7 +43,7 @@ _ypxfr= ypxfr
_ftp-proxy= ftp-proxy _ftp-proxy= ftp-proxy
.endif .endif
.if !defined(NOPIC) .if !defined(NO_PIC)
_rtld-elf= rtld-elf _rtld-elf= rtld-elf
.endif .endif

View File

@ -359,8 +359,8 @@ release rerelease:
.endif .endif
mkdir -p ${CHROOTDIR} mkdir -p ${CHROOTDIR}
@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`" @echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNOINFO -DNO_MAN \ cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNO_INFO -DNO_MAN \
-DNOPROFILE installworld DESTDIR=${CHROOTDIR} -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
cd ${WORLDDIR}/etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR} cd ${WORLDDIR}/etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
if [ -f /etc/resolv.conf ]; then \ if [ -f /etc/resolv.conf ]; then \
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \ cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \

View File

@ -154,7 +154,7 @@ create_includes_and_libraries2() {
MAKEOBJDIRPREFIX=${l_objtree} MAKEOBJDIRPREFIX=${l_objtree}
export MAKEOBJDIRPREFIX export MAKEOBJDIRPREFIX
( cd ${SRC}; ( cd ${SRC};
make -DNOCLEAN -DNOPROFILE -DNOGAMES -DNO_LIBC_R -DPICOBSD buildworld make -DNOCLEAN -DNO_PROFILE -DNOGAMES -DNO_LIBC_R -DPICOBSD buildworld
) )
} }
@ -182,7 +182,7 @@ create_includes_and_libraries() {
BINOWN=`id -un` BINGRP=`id -gn` \ BINOWN=`id -un` BINGRP=`id -gn` \
DESTDIR=${l_usrtree}/.. \ DESTDIR=${l_usrtree}/.. \
make -m ${SRC}/share/mk \ make -m ${SRC}/share/mk \
-DNOHTML -DNOINFO -DNO_MAN -DNOSHARE -DNOFSCHG " -DNOHTML -DNO_INFO -DNO_MAN -DNOSHARE -DNOFSCHG "
log "do a 'make obj' in a few places." log "do a 'make obj' in a few places."
# This is very version-specific... The following works for 5.0 # This is very version-specific... The following works for 5.0
for i in lib secure/lib gnu/lib usr.sbin/pcvt/keycap \ for i in lib secure/lib gnu/lib usr.sbin/pcvt/keycap \
@ -190,7 +190,7 @@ create_includes_and_libraries() {
(cd ${i}; eval $e obj) (cd ${i}; eval $e obj)
done done
log "now make the static libraries" log "now make the static libraries"
eval $e -DNOPROFILE -DNOPIC libraries eval $e -DNO_PROFILE -DNO_PIC libraries
(cd ${SRC}/usr.sbin/config (cd ${SRC}/usr.sbin/config
eval $e # build binary eval $e # build binary
eval $e install # install it eval $e install # install it

View File

@ -4,7 +4,7 @@ LIB= crypto
SHLIBDIR?= /lib SHLIBDIR?= /lib
SHLIB_MAJOR= 3 SHLIB_MAJOR= 3
NOLINT= NO_LINT=
.if exists(Makefile.man) .if exists(Makefile.man)
.include "Makefile.man" .include "Makefile.man"

View File

@ -30,7 +30,7 @@ DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
.endif .endif
NOLINT= NO_LINT=
DPADD+= ${LIBCRYPTO} ${LIBCRYPT} DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
LDADD+= -lcrypto -lcrypt LDADD+= -lcrypto -lcrypt

View File

@ -3,7 +3,7 @@
LIB= ssl LIB= ssl
SHLIB_MAJOR= 3 SHLIB_MAJOR= 3
NOLINT= NO_LINT=
.if exists(Makefile.man) .if exists(Makefile.man)
.include "Makefile.man" .include "Makefile.man"

View File

@ -119,7 +119,7 @@
#NO_GDB= # do not build GDB #NO_GDB= # do not build GDB
#NO_I4B= # do not build isdn4bsd package #NO_I4B= # do not build isdn4bsd package
#NOINET6= # do not build IPv6 related programs and libraries #NOINET6= # do not build IPv6 related programs and libraries
#NOINFO= # do not make or install info files #NO_INFO= # do not make or install info files
#NO_IPFILTER= # do not build IP Filter package #NO_IPFILTER= # do not build IP Filter package
#NOIPSEC= # do not build traceroute(8) with IPSEC support #NOIPSEC= # do not build traceroute(8) with IPSEC support
#NO_KERBEROS= # do not build and install Kerberos 5 (KTH Heimdal) #NO_KERBEROS= # do not build and install Kerberos 5 (KTH Heimdal)
@ -135,7 +135,7 @@
#NO_OPENSSH= # do not build OpenSSH #NO_OPENSSH= # do not build OpenSSH
#NO_OPENSSL= # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH) #NO_OPENSSL= # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH)
#NO_PF= # do not build PF firewall package #NO_PF= # do not build PF firewall package
#NOPROFILE= # Avoid compiling profiled libraries #NO_PROFILE= # Avoid compiling profiled libraries
#NO_SENDMAIL= # do not build sendmail and related programs #NO_SENDMAIL= # do not build sendmail and related programs
#NOSHARE= # do not go into the share subdir #NOSHARE= # do not go into the share subdir
#NOSHARED= # build /bin and /sbin dynamically linked (bad idea #NOSHARED= # build /bin and /sbin dynamically linked (bad idea

View File

@ -541,7 +541,7 @@ Set to not build any crypto code.
.It Va NOGAMES .It Va NOGAMES
.Pq Vt bool .Pq Vt bool
Set to not build games. Set to not build games.
.It Va NOINFO .It Va NO_INFO
.Pq Vt bool .Pq Vt bool
Set to not make or install Set to not make or install
.Xr info 5 .Xr info 5
@ -567,7 +567,7 @@ library.
.It Va NO_MANCOMPRESS .It Va NO_MANCOMPRESS
.Pq Vt bool .Pq Vt bool
Set to install man pages uncompressed. Set to install man pages uncompressed.
.It Va NOPROFILE .It Va NO_PROFILE
.Pq Vt bool .Pq Vt bool
Set to avoid compiling profiled libraries. Set to avoid compiling profiled libraries.
.It Va NOSHARE .It Va NOSHARE

View File

@ -3,12 +3,18 @@
.if !defined(BURN_BRIDGES) .if !defined(BURN_BRIDGES)
.for oldnew in \ .for oldnew in \
NOATM:NO_ATM \ NOATM:NO_ATM \
NODOCCOMPRESS:NO_DOCCOMPRESS \
NOINFO:NO_INFO \
NOINFOCOMPRESS:NO_INFOCOMPRESS \
NOLIBC_R:NO_LIBC_R \ NOLIBC_R:NO_LIBC_R \
NOLIBPTHREAD:NO_LIBPTHREAD \ NOLIBPTHREAD:NO_LIBPTHREAD \
NOLIBTHR:NO_LIBTHR \ NOLIBTHR:NO_LIBTHR \
NOLINT:NO_LINT \
NOMAN:NO_MAN \ NOMAN:NO_MAN \
NOMANCOMPRESS:NO_MANCOMPRESS \ NOMANCOMPRESS:NO_MANCOMPRESS \
NOOBJ:NO_OBJ NOOBJ:NO_OBJ \
NOPIC:NO_PIC \
NOPROFILE:NO_PROFILE
.for old in ${oldnew:C/:.*//} .for old in ${oldnew:C/:.*//}
.for new in ${oldnew:C/.*://} .for new in ${oldnew:C/.*://}
.if defined(${old}) && !defined(${new}) .if defined(${old}) && !defined(${new})

View File

@ -19,7 +19,7 @@
# #
# MACROS Macro packages used to build the document. [not set] # MACROS Macro packages used to build the document. [not set]
# #
# NODOCCOMPRESS If you do not want formatted troff documents to be # NO_DOCCOMPRESS If you do not want formatted troff documents to be
# compressed when they are installed. [not set] # compressed when they are installed. [not set]
# #
# PRINTERDEVICE Indicates which output formats will be generated # PRINTERDEVICE Indicates which output formats will be generated
@ -87,7 +87,7 @@ DCOMPRESS_CMD?= ${COMPRESS_CMD}
DFILE.html= ${DOC}.html DFILE.html= ${DOC}.html
.endfor .endfor
.for _dev in ${PRINTERDEVICE:Nhtml} .for _dev in ${PRINTERDEVICE:Nhtml}
.if defined(NODOCCOMPRESS) .if defined(NO_DOCCOMPRESS)
DFILE.${_dev}= ${DOC}.${_dev} DFILE.${_dev}= ${DOC}.${_dev}
.else .else
DFILE.${_dev}= ${DOC}.${_dev}${DCOMPRESS_EXT} DFILE.${_dev}= ${DOC}.${_dev}${DCOMPRESS_EXT}
@ -119,7 +119,7 @@ print: ${DFILE.${_dev}}
.endfor .endfor
print: print:
.for _dev in ${PRINTERDEVICE} .for _dev in ${PRINTERDEVICE}
.if defined(NODOCCOMPRESS) .if defined(NO_DOCCOMPRESS)
${LPR} ${DFILE.${_dev}} ${LPR} ${DFILE.${_dev}}
.else .else
${DCOMPRESS_CMD} -d ${DFILE.${_dev}} | ${LPR} ${DCOMPRESS_CMD} -d ${DFILE.${_dev}} | ${LPR}
@ -166,7 +166,7 @@ CLEANFILES+= _stamp.extra
${DFILE.${_dev}}: _stamp.extra ${DFILE.${_dev}}: _stamp.extra
.endif .endif
${DFILE.${_dev}}: ${SRCS} ${DFILE.${_dev}}: ${SRCS}
.if defined(NODOCCOMPRESS) .if defined(NO_DOCCOMPRESS)
${ROFF.${_dev}} ${.ALLSRC:N_stamp.extra} > ${.TARGET} ${ROFF.${_dev}} ${.ALLSRC:N_stamp.extra} > ${.TARGET}
.else .else
${ROFF.${_dev}} ${.ALLSRC:N_stamp.extra} | ${DCOMPRESS_CMD} > ${.TARGET} ${ROFF.${_dev}} ${.ALLSRC:N_stamp.extra} | ${DCOMPRESS_CMD} > ${.TARGET}

View File

@ -53,9 +53,9 @@
# #
# MAKEINFOFLAGS Options for ${MAKEINFO} command. [--no-split] # MAKEINFOFLAGS Options for ${MAKEINFO} command. [--no-split]
# #
# NOINFO Do not make or install info files. [not set] # NO_INFO Do not make or install info files. [not set]
# #
# NOINFOCOMPRESS If you do not want info files be # NO_INFOCOMPRESS If you do not want info files be
# compressed when they are installed. [not set] # compressed when they are installed. [not set]
# #
# TEX A program for converting tex files into dvi files [tex] # TEX A program for converting tex files into dvi files [tex]
@ -123,9 +123,9 @@ DVIPS2ASCII?= dvips2ascii
IFILENS+= ${INFO:S/$/.${_f}/} IFILENS+= ${INFO:S/$/.${_f}/}
.endfor .endfor
.if !defined(NOINFO) .if !defined(NO_INFO)
CLEANFILES+= ${IFILENS} CLEANFILES+= ${IFILENS}
.if !defined(NOINFOCOMPRESS) .if !defined(NO_INFOCOMPRESS)
CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/} CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/}
IFILES= ${IFILENS:S/$/${ICOMPRESS_EXT}/:S/.html${ICOMPRESS_EXT}/.html/} IFILES= ${IFILENS:S/$/${ICOMPRESS_EXT}/:S/.html${ICOMPRESS_EXT}/.html/}
all: ${IFILES} all: ${IFILES}
@ -171,7 +171,7 @@ CLEANFILES+= ${INFO:S/$/-la.texi/}
CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/} CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/}
.endif .endif
.if !defined(NOINFO) && defined(INFO) .if !defined(NO_INFO) && defined(INFO)
install: ${INSTALLINFODIRS} install: ${INSTALLINFODIRS}
.if !empty(IFILES:N*.html) .if !empty(IFILES:N*.html)
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \

View File

@ -8,7 +8,7 @@
# SHLIB_NAME will be defined only if we are to create a shared library. # SHLIB_NAME will be defined only if we are to create a shared library.
# SHLIB_LINK will be defined only if we are to create a link to it. # SHLIB_LINK will be defined only if we are to create a link to it.
# INSTALL_PIC_ARCHIVE will be defined only if we are to create a PIC archive. # INSTALL_PIC_ARCHIVE will be defined only if we are to create a PIC archive.
.if defined(NOPIC) .if defined(NO_PIC)
.undef SHLIB_NAME .undef SHLIB_NAME
.undef INSTALL_PIC_ARCHIVE .undef INSTALL_PIC_ARCHIVE
.else .else
@ -115,7 +115,7 @@ lib${LIB}.a: ${OBJS} ${STATICOBJS}
.if !defined(INTERNALLIB) .if !defined(INTERNALLIB)
.if !defined(NOPROFILE) && defined(LIB) && !empty(LIB) .if !defined(NO_PROFILE) && defined(LIB) && !empty(LIB)
_LIBS+= lib${LIB}_p.a _LIBS+= lib${LIB}_p.a
POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po}
@ -155,7 +155,7 @@ lib${LIB}_pic.a: ${SOBJS}
${RANLIB} ${.TARGET} ${RANLIB} ${.TARGET}
.endif .endif
.if defined(WANT_LINT) && !defined(NOLINT) && defined(LIB) && !empty(LIB) .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB)
LINTLIB= llib-l${LIB}.ln LINTLIB= llib-l${LIB}.ln
_LIBS+= ${LINTLIB} _LIBS+= ${LINTLIB}
LINTOBJS+= ${SRCS:M*.c:.c=.ln} LINTOBJS+= ${SRCS:M*.c:.c=.ln}
@ -211,7 +211,7 @@ _libinstall:
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR}
.endif .endif
.if !defined(NOPROFILE) && defined(LIB) && !empty(LIB) .if !defined(NO_PROFILE) && defined(LIB) && !empty(LIB)
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR}
.endif .endif
@ -236,7 +236,7 @@ _libinstall:
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR} ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
.endif .endif
.if defined(WANT_LINT) && !defined(NOLINT) && defined(LIB) && !empty(LIB) .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB)
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR}
.endif .endif
@ -289,7 +289,7 @@ clean:
rm -f a.out ${OBJS} ${OBJS:S/$/.tmp/} ${STATICOBJS} rm -f a.out ${OBJS} ${OBJS:S/$/.tmp/} ${STATICOBJS}
.endif .endif
.if !defined(INTERNALLIB) .if !defined(INTERNALLIB)
.if !defined(NOPROFILE) && defined(LIB) && !empty(LIB) .if !defined(NO_PROFILE) && defined(LIB) && !empty(LIB)
rm -f ${POBJS} ${POBJS:S/$/.tmp/} rm -f ${POBJS} ${POBJS:S/$/.tmp/}
.endif .endif
.if defined(SHLIB_NAME) || \ .if defined(SHLIB_NAME) || \

View File

@ -21,7 +21,7 @@ NO_HESIOD_LIBC=
NOHTML= NOHTML=
NO_I4B= NO_I4B=
NOINET6= NOINET6=
NOINFO= NO_INFO=
NO_IPFILTER= NO_IPFILTER=
NO_KERBEROS= NO_KERBEROS=
NO_LIBTHR= NO_LIBTHR=
@ -31,7 +31,7 @@ NO_MODULES=
NO_NIS= NO_NIS=
NO_OBJC= NO_OBJC=
NO_PF= NO_PF=
NOPROFILE= NO_PROFILE=
NORADIUS= NORADIUS=
NO_RESCUE= NO_RESCUE=
NO_SENDMAIL= NO_SENDMAIL=

View File

@ -2,12 +2,12 @@
LIB= ln LIB= ln
SRCS= libmain.c libyywrap.c SRCS= libmain.c libyywrap.c
NOPIC= NO_PIC=
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
.if !defined(NOPROFILE) .if !defined(NO_PROFILE)
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a
.endif .endif