1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

Use src.opts.mk in preference to bsd.own.mk except where we need stuff

from the latter.
This commit is contained in:
Warner Losh
2014-05-06 04:22:01 +00:00
parent 5e84b765f4
commit c6063d0da8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265420
300 changed files with 312 additions and 295 deletions
+2 -2
View File
@@ -45,7 +45,7 @@
.error "Both TARGET and TARGET_ARCH must be defined."
.endif
.include <bsd.own.mk>
.include <src.opts.mk>
.include <bsd.arch.inc.mk>
.include <bsd.compiler.mk>
@@ -1808,7 +1808,7 @@ check-old: check-old-files check-old-libs check-old-dirs
# showconfig - show build configuration.
#
showconfig:
@${MAKE} -n -f bsd.own.mk -V dummy -dg1 2>&1 | grep ^MK_ | sort
@${MAKE} -n -f src.opts.mk -V dummy -dg1 2>&1 | grep ^MK_ | sort
.if !empty(KRNLOBJDIR) && !empty(KERNCONF)
DTBOUTPUTPATH= ${KRNLOBJDIR}/${KERNCONF}/
+1 -1
View File
@@ -1,7 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= cat \
chflags \
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
BINDIR?= /bin
WARNS?= 6
+1 -1
View File
@@ -6,7 +6,7 @@
#
# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
.include <bsd.own.mk>
.include <src.opts.mk>
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
.PATH: ${TCSHDIR}
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= date
SRCS= date.c netdate.c vary.c
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/2/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= ls
SRCS= cmp.c ls.c print.c util.c
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 4/2/94
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= mv
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
# To install on versions prior to BSD 4.4 the following may have to be
# defined with CFLAGS +=
+1 -1
View File
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= pkill
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.4 (Berkeley) 5/5/95
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= sh
INSTALLFLAGS= -S
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= test
LINKS= ${BINDIR}/test ${BINDIR}/[
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= lib sbin usr.bin usr.sbin
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= ${_drti} \
libavl \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= ${_tests} ${_zfs} ${_zpool}
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= \
ctfconvert \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= ${_dtrace} \
${_dtruss} \
+1 -1
View File
@@ -1,7 +1,7 @@
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.if ${MK_SENDMAIL} != "no"
SUBDIR= sendmail
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
FILES= ${_BSD.debug.dist} \
BSD.include.dist \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
FILES= 100.clean-disks \
110.clean-tmps \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
FILES= 450.status-security \
999.local
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
FILES= 100.chksetuid \
110.neggrpperm \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
FILES= 340.noid \
450.status-security \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
FILES= DAEMON \
FILESYSTEMS \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= \
bcd \
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= factor
SRCS= factor.c pr_tbl.c
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 5.33.1.1 (Berkeley) 5/6/91
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= lib ${_tests} usr.bin
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= csu libgcc libgcov libdialog libgomp libregex libreadline
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
MK_SSP= no
GCCDIR= ${.CURDIR}/../../../contrib/gcc
+1 -1
View File
@@ -6,7 +6,7 @@ GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
SHLIB_NAME= libgcc_s.so.1
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
#
# libgcc is linked in last and thus cannot depend on ssp symbols coming
# from earlier libraries. Disable stack protection for this library.
+1 -1
View File
@@ -3,7 +3,7 @@
MK_PROFILE= no
MK_SSP= no
.include <bsd.own.mk>
.include <src.opts.mk>
.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
GCCDIR= ${.CURDIR}/../../../contrib/gcc
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
GCCVER= 4.2
GCCDIR= ${.CURDIR}/../../../contrib/gcc
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
GCCVER= 4.2
GCCDIR= ${.CURDIR}/../../../contrib/gcc
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= ${_binutils} \
${_cc} \
+1 -1
View File
@@ -4,7 +4,7 @@
# BINDIR
.include "${.CURDIR}/../../Makefile.inc"
.include "${.CURDIR}/../Makefile.inc0"
.include <bsd.own.mk>
.include <src.opts.mk>
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
+1 -1
View File
@@ -1,7 +1,7 @@
# $FreeBSD$
.include "../Makefile.inc0"
.include <bsd.own.mk>
.include <src.opts.mk>
.PATH: ${SRCDIR}/ld
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
# The order of some of these are rather important. Some depend on previous
# subdirs.
+1
View File
@@ -1,5 +1,6 @@
# $FreeBSD$
.include <src.opts.mk>
.include "../Makefile.inc"
# Sometimes this is .include'd several times...
+1 -1
View File
@@ -1,7 +1,7 @@
# $FreeBSD$
MAN=
.include <bsd.own.mk>
.include <src.opts.mk>
.include "../Makefile.inc"
.include "../Makefile.fe"
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.include "../Makefile.inc"
.include "../Makefile.fe"
+1 -1
View File
@@ -1,7 +1,7 @@
# $FreeBSD$
MAN=
.include <bsd.own.mk>
.include <src.opts.mk>
.include "../Makefile.inc"
+1 -1
View File
@@ -1,7 +1,7 @@
# $FreeBSD$
MAN=
.include <bsd.own.mk>
.include <src.opts.mk>
.include "../Makefile.inc"
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
CFLAGS+= -I.
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.include "../Makefile.inc"
.include "../Makefile.fe"
+1 -1
View File
@@ -10,7 +10,7 @@ CFLAGS+= -I${.CURDIR} -I${DIALOG}
WARNS?= 6
.include <bsd.own.mk>
.include <src.opts.mk>
.if ${MK_NCURSESW} == "no"
DPADD+= ${LIBNCURSES}
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
GREP_LIBZ=YES
+1 -1
View File
@@ -3,7 +3,7 @@
#
# Doing a "make install" builds /usr/include.
.include <bsd.own.mk>
.include <src.opts.mk>
CLEANFILES= osreldate.h version vers.c
SUBDIR= arpa gssapi protocols rpcsvc rpc xlocale
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
NO_OBJ=
INCS= ftp.h inet.h nameser.h nameser_compat.h tftp.h
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
NO_LINT=
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
# To satisfy shared library or ELF linkage when only the libraries being
# built are visible:
+1 -1
View File
@@ -25,7 +25,7 @@
#
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= libatf-c \
libatf-c++ \
+1
View File
@@ -25,6 +25,7 @@
#
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
LIB= atf-c++
+1
View File
@@ -25,6 +25,7 @@
#
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
LIB= atf-c
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.if !make(install)
.if !defined(EARLY_BUILD)
+2
View File
@@ -1,5 +1,7 @@
# $FreeBSD$
.include <src.opts.mk>
CLANG_SRCS= ${LLVM_SRCS}/tools/clang
CFLAGS+= -I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmanalysis
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmipa
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmipo
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmmc
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmscalaropts
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmsupport
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmtransformutils
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= llvmx86disassembler
+1 -1
View File
@@ -1,5 +1,5 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
+1 -1
View File
@@ -2,7 +2,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
.include <bsd.own.mk>
.include <src.opts.mk>
CONTRIB= ${.CURDIR}/../../../contrib/bsnmp/lib
.PATH: ${CONTRIB}
+1 -1
View File
@@ -3,7 +3,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
LIBC_SRCTOP?= ${.CURDIR}
+1 -1
View File
@@ -5,7 +5,7 @@
# compile modes.
# bsd.lib.mk doesn't have an easy way to express that.
MK_PROFILE?=no
.include <bsd.own.mk>
.include <src.opts.mk>
NO_PIC=
# -fpic on some platforms, -fPIC on others.
CFLAGS+=${PICFLAG} -DPIC -fvisibility=hidden
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= compiler_rt
NO_PIC=
+1 -1
View File
@@ -4,7 +4,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
SHLIB_MAJOR= 5
LIB= crypt
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= fetch
CFLAGS+= -I.
+1 -1
View File
@@ -29,7 +29,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= ipsec
SHLIB_MAJOR= 4
+1 -1
View File
@@ -2,7 +2,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= kiconv
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
MODULES =
MODULES += pam_chroot
+1
View File
@@ -34,6 +34,7 @@
#
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
LIB= pam_unix
+1 -1
View File
@@ -3,7 +3,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= pcap
SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= proc
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= procstat
+1 -1
View File
@@ -24,7 +24,7 @@
#
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= radius
SRCS= radlib.c
+1 -1
View File
@@ -1,7 +1,7 @@
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.PATH: ${.CURDIR}/../../include/rpcsvc
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
.PATH: ${CONTRIBDIR}/lib/smb
+1 -1
View File
@@ -9,7 +9,7 @@
MK_PROFILE= no
MK_SSP= no
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= stand
NO_PIC=
+1 -1
View File
@@ -1,7 +1,7 @@
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
TELNETDIR= ${.CURDIR}/../../contrib/telnet
.PATH: ${TELNETDIR}/libtelnet
+1 -1
View File
@@ -10,7 +10,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
MK_SSP= no
LIB=thr
+1 -1
View File
@@ -2,7 +2,7 @@
SHLIBDIR?=/lib
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= ulog
SHLIB_MAJOR= 0
+1 -1
View File
@@ -3,7 +3,7 @@
SHLIBDIR?= /lib
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= util
SHLIB_MAJOR= 9
+1 -1
View File
@@ -2,7 +2,7 @@
# $FreeBSD$
#
.include <bsd.own.mk>
.include <src.opts.mk>
LIB= wrap
SHLIB_MAJOR= 6
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= ncurses form menu panel
+1 -1
View File
@@ -7,7 +7,7 @@ SHLIBDIR?= /lib
MK_MAN=no
.endif
.include <bsd.own.mk>
.include <src.opts.mk>
.include "${.CURDIR}/../config.mk"
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
SUBDIR= ${_atf} \
${_atrun} \
+1
View File
@@ -25,6 +25,7 @@
#
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
ATF= ${.CURDIR:H:H:H}/contrib/atf
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 4/4/94
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= ftpd
MAN= ftpd.8 ftpchroot.5
+1 -1
View File
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
PROG= rlogind
MAN= rlogind.8
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
MK_SSP= no
PROG?= ld-elf.so.1
+1 -1
View File
@@ -1,6 +1,6 @@
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
+1 -1
View File
@@ -3,7 +3,7 @@
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
# telnet implementations.
.include <bsd.own.mk>
.include <src.opts.mk>
TELNETDIR= ${.CURDIR}/../../contrib/telnet
.PATH: ${TELNETDIR}/telnetd
+1 -1
View File
@@ -1,7 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
.include <bsd.own.mk>
.include <src.opts.mk>
.PATH: ${.CURDIR}/../../../../usr.bin/login
+1 -1
View File
@@ -2,7 +2,7 @@
# $FreeBSD$
#
.include <bsd.own.mk>
.include <src.opts.mk>
MK_SSP= no
# Certain library entries have hard-coded references to
+1 -1
View File
@@ -3,7 +3,7 @@
MAN=
.include <bsd.own.mk>
.include <src.opts.mk>
MK_SSP= no
PROG= rescue

Some files were not shown because too many files have changed in this diff Show More