mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
5d6cb793d0
Adding these to a new bsd.compat.pre.mk will allow other parts of the tree to iterate over the set of possible libcompats (upper and/or lower) rather than having to hard-code the list. Reviewed by: brooks, jhb, emaste Differential Revision: https://reviews.freebsd.org/D41178
14 lines
383 B
Makefile
14 lines
383 B
Makefile
.if !targets(__<${_this:T}>__)
|
|
__<${_this:T}>__:
|
|
|
|
_ALL_LIBCOMPATS:= 32
|
|
|
|
_ALL_libcompats:= ${_ALL_LIBCOMPATS:tl}
|
|
|
|
# List of LIBCOMPAT libcompat pairs to avoid repeating this ugly expression.
|
|
# Can be used as: .for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
|
|
_ALL_LIBCOMPATS_libcompats:= \
|
|
${_ALL_LIBCOMPATS:range:@i@${_ALL_LIBCOMPATS:[$i]} ${_ALL_libcompats:[$i]}@}
|
|
|
|
.endif
|