mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 04:54:07 +01:00
NOSHARED -> NO_SHARED
This commit is contained in:
parent
00fbd40770
commit
83c7ade90a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139112
2
Makefile
2
Makefile
@ -232,7 +232,7 @@ MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \
|
||||
INSTALL="sh ${.CURDIR}/tools/install.sh"
|
||||
MMAKE= ${MMAKEENV} make \
|
||||
-D_UPGRADING \
|
||||
-DNOMAN -DNO_MAN -DNOSHARED \
|
||||
-DNOMAN -DNO_MAN -DNOSHARED -DNO_SHARED \
|
||||
-DNO_CPU_CFLAGS -DNO_WERROR
|
||||
|
||||
make: .PHONY
|
||||
|
@ -183,7 +183,7 @@ BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
|
||||
DESTDIR= \
|
||||
BOOTSTRAPPING=${OSRELDATE} \
|
||||
-DNOHTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_PIC -DNO_PROFILE \
|
||||
-DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS
|
||||
-DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS
|
||||
|
||||
# build-tools stage
|
||||
TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
|
||||
|
@ -5,5 +5,5 @@ BINDIR?= /bin
|
||||
WARNS?= 6
|
||||
|
||||
.if defined(NO_DYNAMICROOT)
|
||||
NOSHARED?= YES
|
||||
NO_SHARED?= YES
|
||||
.endif
|
||||
|
@ -5,7 +5,7 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/rmail
|
||||
|
||||
# Not much point this being static. It calls a shared sendmail...
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
PROG= rmail
|
||||
SRCS= rmail.c
|
||||
|
@ -10,7 +10,7 @@ CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
CFLAGS+= -I${SRCDIR}/bfd
|
||||
NOSHARED?= yes
|
||||
NO_SHARED?= yes
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
DPADD+= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
|
@ -43,7 +43,7 @@ CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR}
|
||||
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${TARGET_ARCH}-freebsd
|
||||
|
||||
NOSHARED?= yes
|
||||
NO_SHARED?= yes
|
||||
|
||||
DPADD= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
|
@ -16,7 +16,7 @@ GDB_CPU= i386
|
||||
GDB_CPU= ${TARGET_ARCH}
|
||||
.endif
|
||||
|
||||
NOSHARED?=yes
|
||||
NO_SHARED?=yes
|
||||
PROG= gdb
|
||||
XSRCS= annotate.c arch-utils.c ax-general.c ax-gdb.c bcache.c \
|
||||
blockframe.c breakpoint.c buildsym.c complaints.c completer.c \
|
||||
|
@ -19,7 +19,7 @@ CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX}\"
|
||||
CFLAGS+= -DTOOLBINDIR=\"${TOOLS_PREFIX}/${BINDIR}/libexec\"
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
|
||||
NOSHARED?= yes
|
||||
NO_SHARED?= yes
|
||||
DPADD= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
LDADD= ${DPADD}
|
||||
|
@ -10,7 +10,7 @@ CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
||||
CFLAGS+= -I${SRCDIR}/binutils
|
||||
CFLAGS+= -I${SRCDIR}/bfd
|
||||
NOSHARED?= yes
|
||||
NO_SHARED?= yes
|
||||
DPADD= ${RELTOP}/libbinutils/libbinutils.a
|
||||
DPADD+= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
|
@ -8,7 +8,7 @@
|
||||
PROG= cc
|
||||
MAN= gcc.1
|
||||
SRCS= gcc.c gccspec.c
|
||||
NOSHARED?=yes
|
||||
NO_SHARED?=yes
|
||||
|
||||
LINKS= ${BINDIR}/cc ${BINDIR}/gcc
|
||||
MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1
|
||||
|
@ -8,7 +8,7 @@ PROG= cc1
|
||||
SRCS= main.c c-parse+%DIKED.c c-lang.c stub-objc.c
|
||||
BINDIR= /usr/libexec
|
||||
NO_MAN=
|
||||
NOSHARED?=yes
|
||||
NO_SHARED?=yes
|
||||
|
||||
CFLAGS+= -I.
|
||||
|
||||
|
@ -8,7 +8,7 @@ PROG= cc1obj
|
||||
SRCS= main.c objc-parse+DIKED.c objc-act.c objc-lang.c c-decl.c
|
||||
BINDIR= /usr/libexec
|
||||
NO_MAN=
|
||||
NOSHARED?=yes
|
||||
NO_SHARED?=yes
|
||||
|
||||
CFLAGS+= -I${GCCDIR}/objc -I.
|
||||
|
||||
|
@ -13,7 +13,7 @@ SRCS+= main.c cp-lang.c c-opts.c call.c class.c cvt.c cxx-pretty-print.c \
|
||||
|
||||
BINDIR= /usr/libexec
|
||||
NO_MAN=
|
||||
NOSHARED?=yes
|
||||
NO_SHARED?=yes
|
||||
|
||||
CFLAGS+= -I${GCCDIR}/cp -I.
|
||||
|
||||
|
@ -472,7 +472,7 @@ release rerelease:
|
||||
NOCDROM \
|
||||
NODOC \
|
||||
NOPORTS \
|
||||
NOSHARED \
|
||||
NO_SHARED \
|
||||
NOSRC \
|
||||
NO_CPU_CFLAGS \
|
||||
NO_CPU_COPTFLAGS \
|
||||
|
@ -5,5 +5,5 @@ BINDIR?= /sbin
|
||||
WARNS?= 2
|
||||
|
||||
.if defined(NO_DYNAMICROOT)
|
||||
NOSHARED?= YES
|
||||
NO_SHARED?= YES
|
||||
.endif
|
||||
|
@ -5,7 +5,7 @@ SRCS= devd.cc token.l parse.y y.tab.h
|
||||
MAN= devd.8 devd.conf.5
|
||||
WARNS?= 1
|
||||
|
||||
NOSHARED?=YES
|
||||
NO_SHARED?=YES
|
||||
|
||||
DPADD= ${LIBL}
|
||||
LDADD= -ll
|
||||
|
@ -6,7 +6,7 @@ PROG= geom
|
||||
MAN= geom.8
|
||||
SRCS= geom.c subr.c
|
||||
|
||||
NOSHARED=NO
|
||||
NO_SHARED=NO
|
||||
|
||||
CFLAGS+= -DCLASS_DIR=\"${CLASS_DIR}\"
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys -I${.CURDIR} -I${.CURDIR}/..
|
||||
|
@ -12,6 +12,6 @@ WARNS?= 0
|
||||
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
||||
LDADD= -lutil -lcrypt
|
||||
|
||||
NOSHARED?= YES
|
||||
NO_SHARED?= YES
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -13,7 +13,7 @@ WARNS?= 0
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -14,7 +14,7 @@ WARNS?= 2
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -14,7 +14,7 @@ WARNS?= 0
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -13,6 +13,6 @@ WARNS?= 1
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -11,6 +11,6 @@ WARNS?= 1
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -138,7 +138,7 @@
|
||||
#NO_PROFILE= # Avoid compiling profiled libraries
|
||||
#NO_SENDMAIL= # do not build sendmail and related programs
|
||||
#NOSHARE= # do not go into the share subdir
|
||||
#NOSHARED= # build /bin and /sbin dynamically linked (bad idea
|
||||
#NO_SHARED= # build /bin and /sbin dynamically linked (bad idea
|
||||
#NO_SHAREDOCS= # do not build the 4.4BSD legacy docs
|
||||
#NO_TCSH= # do not build and install /bin/csh (which is tcsh)
|
||||
#NO_TOOLCHAIN= # do not build programs for program development
|
||||
|
@ -575,7 +575,7 @@ Set to avoid compiling profiled libraries.
|
||||
Set to not build in the
|
||||
.Pa share
|
||||
subdir.
|
||||
.It Va NOSHARED
|
||||
.It Va NO_SHARED
|
||||
.Pq Vt bool
|
||||
Set to not build
|
||||
.Pa /bin
|
||||
|
@ -19,6 +19,7 @@
|
||||
NOOBJ:NO_OBJ \
|
||||
NOPIC:NO_PIC \
|
||||
NOPROFILE:NO_PROFILE \
|
||||
NOSHARED:NO_SHARED \
|
||||
NOTAGS:NO_TAGS
|
||||
.for old in ${oldnew:C/:.*//}
|
||||
.for new in ${oldnew:C/.*://}
|
||||
|
@ -22,7 +22,7 @@ CFLAGS+=${CRUNCH_CFLAGS}
|
||||
STRIP?= -s
|
||||
.endif
|
||||
|
||||
.if defined(NOSHARED) && (${NOSHARED} != "no" && ${NOSHARED} != "NO")
|
||||
.if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO")
|
||||
LDFLAGS+= -static
|
||||
.endif
|
||||
|
||||
|
@ -9,7 +9,7 @@ NO_MAN=
|
||||
SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
|
||||
CFLAGS= -Os
|
||||
CFLAGS+=-DKZIP
|
||||
NOSHARED=
|
||||
NO_SHARED=
|
||||
LDFLAGS=-Wl,-r
|
||||
.PATH: ${.CURDIR}/../../../kern
|
||||
|
||||
|
@ -49,7 +49,7 @@ CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
|
||||
|
||||
CLEANFILES+= boot.nohdr boot.strip boot.ldr boot1 boot2 sizetest
|
||||
LDFLAGS+= -N -Ttext 0 -e start
|
||||
NOSHARED= YES
|
||||
NO_SHARED= YES
|
||||
NO_MAN=
|
||||
STRIP=
|
||||
|
||||
|
@ -9,7 +9,7 @@ NO_MAN=
|
||||
SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
|
||||
CFLAGS= -Os
|
||||
CFLAGS+=-DKZIP
|
||||
NOSHARED=
|
||||
NO_SHARED=
|
||||
LDFLAGS=-Wl,-r
|
||||
.PATH: ${.CURDIR}/../../../kern
|
||||
.PATH: ${.CURDIR}/../../i386/kgzldr
|
||||
|
@ -12,7 +12,7 @@ SRCS+= lstAppend.c lstConcat.c lstDeQueue.c lstDestroy.c \
|
||||
.PATH: ${.CURDIR}/lst.lib
|
||||
|
||||
WARNS?= 3
|
||||
NOSHARED?= YES
|
||||
NO_SHARED?= YES
|
||||
|
||||
CFLAGS+=-DMAKE_VERSION=\"5200408120\"
|
||||
.if defined(_UPGRADING)
|
||||
|
@ -15,7 +15,7 @@ DPADD= ${LIBSMB}
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv (see the -E option).
|
||||
#
|
||||
NOSHARED?= NO
|
||||
NO_SHARED?= NO
|
||||
|
||||
.PATH: ${CONTRIBDIR}/mount_smbfs
|
||||
|
||||
|
@ -11,6 +11,6 @@ SYMLINKS= ${BINDIR}/nologin /sbin/nologin
|
||||
# libc by setting LD_LIBRARY_PATH appropriately. Both sshd(8) and
|
||||
# login(1) make it possible to log in with an unsanitized environment,
|
||||
# rendering a dynamic nologin binary virtually useless.
|
||||
NOSHARED= YES
|
||||
NO_SHARED= YES
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
NOSHARED?= YES
|
||||
NO_SHARED?= YES
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user