git: 475fa8980008 - main - share/mk: Fix .TARGET override documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Nov 2023 21:28:37 UTC
The branch main has been updated by khng: URL: https://cgit.FreeBSD.org/src/commit/?id=475fa89800086718bd9249fd4dc3f862549f1f78 commit 475fa89800086718bd9249fd4dc3f862549f1f78 Author: Ka Ho Ng <khng@FreeBSD.org> AuthorDate: 2023-11-05 21:27:59 +0000 Commit: Ka Ho Ng <khng@FreeBSD.org> CommitDate: 2023-11-05 21:28:34 +0000 share/mk: Fix .TARGET override documentation Fixes: 48da57b47ff14 Sponsored by: Juniper Networks, Inc. MFC after: 3 days Reviewed by: imp, delphij, emaste Differential Revision: https://reviews.freebsd.org/D42469 --- share/mk/bsd.README | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/share/mk/bsd.README b/share/mk/bsd.README index 24acc355b9b5..cff6ff35961c 100644 --- a/share/mk/bsd.README +++ b/share/mk/bsd.README @@ -125,15 +125,15 @@ The following variables are common: AFLAGS.${SRC} Flags dependent on source file name. -AFLAGS.${TARGET} +AFLAGS.${.TARGET:T} Flags dependent on output file name. ACFLAGS.${SRC} Flags dependent on source file name. -ACFLAGS.${TARGET} +ACFLAGS.${.TARGET:T} Flags dependent on output file name. CFLAGS.${SRC} Flags dependent on source file name. -CFLAGS.${TARGET} +CFLAGS.${.TARGET:T} Flags dependent on output file name. CFLAGS.${COMPILER_TYPE} Flags dependent on compiler added to CFLAGS. @@ -148,7 +148,7 @@ CXXFLAGS.${MACHINE_ARCH} Architectural flags added to CXXFLAGS. CXXFLAGS.${SRC} Flags dependent on source file name. -CXXFLAGS.${TARGET} +CXXFLAGS.${.TARGET:T} Flags dependent on output file name. COMPILER_FEATURES A list of features that the compiler supports. Zero or @@ -344,21 +344,21 @@ LDADD Additional loader objects. Usually used for libraries. LDADD=-lutil -lcompat -LDADD.${TARGET} +LDADD.${.TARGET:T} Loader objects dependent on output file name. LDFLAGS Additional loader flags. Passed to the loader via CC, since that's used to link programs as well, so loader specific flags need to be prefixed with -Wl, to work. -LDFLAGS.${TARGET} +LDFLAGS.${.TARGET:T} Flags dependent on output file name. LIBADD Additional libraries. This is for base system libraries and is only valid inside of the /usr/src tree. Use LIBADD=name instead of LDADD=-lname. -LIBADD.${TARGET} +LIBADD.${.TARGET:T} Libraries dependent on output file name. LINKS The list of binary links; should be full pathnames, the