share/mk: Fix .TARGET override documentation

Fixes: 		48da57b47f
Sponsored by:	Juniper Networks, Inc.
MFC after:	3 days
Reviewed by:	imp, delphij, emaste
Differential Revision:	https://reviews.freebsd.org/D42469
This commit is contained in:
Ka Ho Ng 2023-11-05 16:27:59 -05:00
parent 35af22ac98
commit 475fa89800

View file

@ -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