Spell NO_PROFILE= as MK_PROFILE=no.

This commit is contained in:
Warner Losh 2014-04-25 19:25:26 +00:00
parent 14472d17d7
commit 98407b8bc2
25 changed files with 36 additions and 33 deletions

View File

@ -247,7 +247,7 @@ BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
BOOTSTRAPPING=${OSRELDATE} \ BOOTSTRAPPING=${OSRELDATE} \
SSP_CFLAGS= \ SSP_CFLAGS= \
MK_HTML=no MK_INFO=no NO_LINT=yes MK_MAN=no \ MK_HTML=no MK_INFO=no NO_LINT=yes MK_MAN=no \
-DNO_PIC -DNO_PROFILE -DNO_SHARED \ -DNO_PIC MK_PROFILE=no -DNO_SHARED \
-DNO_CPU_CFLAGS -DNO_WARNS MK_CTF=no -DEARLY_BUILD MK_TESTS=no -DNO_CPU_CFLAGS -DNO_WARNS MK_CTF=no -DEARLY_BUILD MK_TESTS=no
# build-tools stage # build-tools stage
@ -276,7 +276,7 @@ KTMAKE= TOOLS_PREFIX=${WORLDTMP} MAKEOBJDIRPREFIX=${WORLDTMP} \
BOOTSTRAPPING=${OSRELDATE} \ BOOTSTRAPPING=${OSRELDATE} \
SSP_CFLAGS= \ SSP_CFLAGS= \
MK_HTML=no MK_INFO=no -DNO_LINT MK_MAN=no \ MK_HTML=no MK_INFO=no -DNO_LINT MK_MAN=no \
-DNO_PIC -DNO_PROFILE -DNO_SHARED \ -DNO_PIC MK_PROFILE=no -DNO_SHARED \
-DNO_CPU_CFLAGS -DNO_WARNS MK_CTF=no -DEARLY_BUILD -DNO_CPU_CFLAGS -DNO_WARNS MK_CTF=no -DEARLY_BUILD
# world stage # world stage
@ -557,7 +557,7 @@ _libraries:
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; \ ${_+_}cd ${.CURDIR}; \
${WMAKE} -DNO_FSCHG MK_HTML=no MK_INFO=no -DNO_LINT MK_MAN=no \ ${WMAKE} -DNO_FSCHG MK_HTML=no MK_INFO=no -DNO_LINT MK_MAN=no \
-DNO_PROFILE MK_TESTS=no libraries MK_PROFILE=no MK_TESTS=no libraries
_depend: _depend:
@echo @echo
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@ -1602,9 +1602,9 @@ ${_lib}__PL: .PHONY .MAKE
cd ${.CURDIR}/${_lib} && \ cd ${.CURDIR}/${_lib} && \
${MAKE} MK_TESTS=no DIRPRFX=${_lib}/ obj && \ ${MAKE} MK_TESTS=no DIRPRFX=${_lib}/ obj && \
${MAKE} MK_TESTS=no DIRPRFX=${_lib}/ depend && \ ${MAKE} MK_TESTS=no DIRPRFX=${_lib}/ depend && \
${MAKE} MK_TESTS=no -DNO_PROFILE -DNO_PIC \ ${MAKE} MK_TESTS=no MK_PROFILE=no -DNO_PIC \
DIRPRFX=${_lib}/ all && \ DIRPRFX=${_lib}/ all && \
${MAKE} MK_TESTS=no -DNO_PROFILE -DNO_PIC \ ${MAKE} MK_TESTS=no MK_PROFILE=no -DNO_PIC \
DIRPRFX=${_lib}/ install DIRPRFX=${_lib}/ install
.endif .endif
.endfor .endfor
@ -1858,7 +1858,7 @@ XDEV_CPUTYPE?=${TARGET_CPUTYPE}
.endif .endif
NOFUN=-DNO_FSCHG MK_HTML=no MK_INFO=no -DNO_LINT \ NOFUN=-DNO_FSCHG MK_HTML=no MK_INFO=no -DNO_LINT \
MK_MAN=no MK_NLS=no -DNO_PROFILE \ MK_MAN=no MK_NLS=no MK_PROFILE=no \
MK_KERBEROS=no MK_RESCUE=no MK_TESTS=no -DNO_WARNS \ MK_KERBEROS=no MK_RESCUE=no MK_TESTS=no -DNO_WARNS \
TARGET=${XDEV} TARGET_ARCH=${XDEV_ARCH} \ TARGET=${XDEV} TARGET_ARCH=${XDEV_ARCH} \
CPUTYPE=${XDEV_CPUTYPE} CPUTYPE=${XDEV_CPUTYPE}

View File

@ -60,7 +60,7 @@ DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ}
LDADD= -lmd -lpthread -lz LDADD= -lmd -lpthread -lz
# atomic.S doesn't like profiling. # atomic.S doesn't like profiling.
NO_PROFILE= MK_PROFILE= no
CSTD= c99 CSTD= c99

View File

@ -12,7 +12,7 @@ IBSRCDIR= ${IBCMDIR}/src
LIB= ibcm LIB= ibcm
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= cm.c SRCS= cm.c
CFLAGS+= -I ${IBCMDIR}/include CFLAGS+= -I ${IBCMDIR}/include

View File

@ -11,7 +11,7 @@ IBSRCDIR= ${IBCOMMONDIR}/src
LIB= ibcommon LIB= ibcommon
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= sysfs.c util.c hash.c stack.c time.c SRCS= sysfs.c util.c hash.c stack.c time.c

View File

@ -11,7 +11,7 @@ IBSRCDIR= ${IBMADDIR}/src
LIB= ibmad LIB= ibmad
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= dump.c fields.c gs.c mad.c portid.c register.c resolve.c rpc.c sa.c \ SRCS= dump.c fields.c gs.c mad.c portid.c register.c resolve.c rpc.c sa.c \
serv.c smp.c vendor.c serv.c smp.c vendor.c

View File

@ -11,7 +11,7 @@ IBSRCDIR= ${UMADDIR}/src
LIB= ibumad LIB= ibumad
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= umad.c SRCS= umad.c

View File

@ -12,7 +12,7 @@ IBMANDIR= ${IBVERBSDIR}/man
LIB= ibverbs LIB= ibverbs
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= device.c init.c marshall.c verbs.c cmd.c enum_strs.c kern_abi.h \ SRCS= device.c init.c marshall.c verbs.c cmd.c enum_strs.c kern_abi.h \
memory.c compat-1_0.c sysfs.c memory.c compat-1_0.c sysfs.c

View File

@ -12,7 +12,7 @@ MLXSRCDIR= ${MLX4DIR}/src
LIB= mlx4 LIB= mlx4
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= buf.c cq.c dbrec.c mlx4.c qp.c srq.c verbs.c SRCS= buf.c cq.c dbrec.c mlx4.c qp.c srq.c verbs.c

View File

@ -12,7 +12,7 @@ MTHCASRCDIR= ${MTHCADIR}/src
LIB= mthca LIB= mthca
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= ah.c buf.c cq.c memfree.c mthca.c qp.c srq.c verbs.c SRCS= ah.c buf.c cq.c memfree.c mthca.c qp.c srq.c verbs.c

View File

@ -9,7 +9,7 @@ SHLIBDIR?= /usr/lib
LIB= opensm LIB= opensm
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= osm_log.c osm_mad_pool.c osm_helper.c SRCS= osm_log.c osm_mad_pool.c osm_helper.c

View File

@ -9,7 +9,7 @@ SHLIBDIR?= /usr/lib
LIB= osmcomp LIB= osmcomp
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= cl_complib.c cl_dispatcher.c cl_event.c cl_event_wheel.c cl_list.c SRCS= cl_complib.c cl_dispatcher.c cl_event.c cl_event_wheel.c cl_list.c
SRCS+= cl_log.c cl_map.c cl_pool.c cl_ptr_vector.c cl_spinlock.c SRCS+= cl_log.c cl_map.c cl_pool.c cl_ptr_vector.c cl_spinlock.c

View File

@ -9,7 +9,7 @@ SHLIBDIR?= /usr/lib
LIB= osmvendor LIB= osmvendor
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= osm_vendor_ibumad.c osm_vendor_ibumad_sa.c SRCS= osm_vendor_ibumad.c osm_vendor_ibumad_sa.c

View File

@ -12,7 +12,7 @@ RDMAMANDIR= ${RDMACMDIR}/man
LIB= rdmacm LIB= rdmacm
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
SRCS= cma.c SRCS= cma.c

View File

@ -10,7 +10,7 @@ SDPDIR= ${.CURDIR}/../../libsdp/src
LIB= ibsdp LIB= ibsdp
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
NO_PROFILE= MK_PROFILE= no
MAN= MAN=
SRCS= log.c match.c port.c config_parser.c config_scanner.c SRCS= log.c match.c port.c config_parser.c config_scanner.c

View File

@ -1,8 +1,9 @@
# $FreeBSD$ # $FreeBSD$
NO_PROFILE= MK_PROFILE= no
.include <bsd.own.mk>
MK_SSP= no MK_SSP= no
.include <bsd.own.mk>
.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt" .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
GCCDIR= ${.CURDIR}/../../../contrib/gcc GCCDIR= ${.CURDIR}/../../../contrib/gcc

View File

@ -2,9 +2,11 @@
SHLIBDIR?= /lib SHLIBDIR?= /lib
.include <bsd.own.mk> MK_PROFILE= no
MK_SSP= no MK_SSP= no
.include <bsd.own.mk>
GCCDIR= ${.CURDIR}/../../../contrib/gcc GCCDIR= ${.CURDIR}/../../../contrib/gcc
GCCLIB= ${.CURDIR}/../../../contrib/gcclibs GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
SRCDIR= ${GCCLIB}/libssp SRCDIR= ${GCCLIB}/libssp
@ -13,7 +15,6 @@ SRCDIR= ${GCCLIB}/libssp
LIB= ssp LIB= ssp
SHLIB_MAJOR= 0 SHLIB_MAJOR= 0
NO_PROFILE=
SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \ SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \ memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \

View File

@ -7,7 +7,7 @@ GCCLIB= ${.CURDIR}/../../../../contrib/gcclibs
LIB= ssp_nonshared LIB= ssp_nonshared
NO_PIC= NO_PIC=
NO_PROFILE= MK_PROFILE=no
SRCS= ssp-local.c SRCS= ssp-local.c

View File

@ -4,7 +4,7 @@
# It is used exclusively with libc.so.* - there is no need for any other # It is used exclusively with libc.so.* - there is no need for any other
# compile modes. # compile modes.
# bsd.lib.mk doesn't have an easy way to express that. # bsd.lib.mk doesn't have an easy way to express that.
NO_PROFILE?= MK_PROFILE?=no
.include <bsd.own.mk> .include <bsd.own.mk>
NO_PIC= NO_PIC=
# -fpic on some platforms, -fPIC on others. # -fpic on some platforms, -fPIC on others.

View File

@ -14,4 +14,4 @@ SHLIBDIR= /usr/lib/i18n
SHLIBDIR= /usr/lib32/i18n SHLIBDIR= /usr/lib32/i18n
.endif .endif
LIBDIR= ${SHLIBDIR} LIBDIR= ${SHLIBDIR}
NO_PROFILE= MK_PROFILE= no

View File

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

View File

@ -3,7 +3,7 @@
PAMDIR= ${.CURDIR}/../../../../contrib/openpam PAMDIR= ${.CURDIR}/../../../../contrib/openpam
MK_INSTALLLIB= no MK_INSTALLLIB= no
NO_PROFILE= MK_PROFILE= no
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam

View File

@ -13,7 +13,7 @@ SYMBOL_MAPS= ${.CURDIR}/Symbol.map
CFLAGS+= -I${.CURDIR}/../../include CFLAGS+= -I${.CURDIR}/../../include
CFLAGS+= -I${.CURDIR}/../../libc_rpc CFLAGS+= -I${.CURDIR}/../../libc_rpc
NO_PROFILE= MK_PROFILE= no
MAN= rpcsec_gss.3 MAN= rpcsec_gss.3
MAN+= rpc_gss_seccreate.3 MAN+= rpc_gss_seccreate.3

View File

@ -6,11 +6,12 @@
# quite large. # quite large.
# #
.include <bsd.own.mk> MK_PROFILE= no
MK_SSP= no MK_SSP= no
.include <bsd.own.mk>
LIB= stand LIB= stand
NO_PROFILE=
NO_PIC= NO_PIC=
INCS= stand.h INCS= stand.h
MAN= libstand.3 MAN= libstand.3

View File

@ -16,7 +16,7 @@ S= ${.CURDIR}/../../../lib/libstand
.PATH: ${S} .PATH: ${S}
LIB= stand LIB= stand
INTERNALLIB= INTERNALLIB=
NO_PROFILE= MK_PROFILE= no
NO_PIC= NO_PIC=
WARNS?= 0 WARNS?= 0

View File

@ -16,7 +16,7 @@ S= ${.CURDIR}/../../../../lib/libstand
.PATH: ${S} .PATH: ${S}
LIB= stand LIB= stand
INTERNALLIB= INTERNALLIB=
NO_PROFILE= MK_PROFILE= no
NO_PIC= NO_PIC=
WARNS?= 0 WARNS?= 0