xref: /freebsd/contrib/bmake/mk/sys/Generic.mk (revision 7c31cdfa408a4ebce7a3e10d29056a15c28bc092)
1# SPDX-License-Identifier: BSD-2-Clause
2#
3#	$Id: Generic.mk,v 1.21 2024/02/17 17:26:57 sjg Exp $
4#
5
6.LIBS:		.a
7
8tools  ?= \
9	ar \
10	lorder \
11	ranlib \
12	tsort
13
14.for t in ${tools}
15${t:tu} := ${t:${M_whence}}
16.endfor
17
18# need to make sure this is set
19MACHINE_ARCH.${MACHINE} ?= ${MACHINE}
20.if empty(MACHINE_ARCH)
21MACHINE_ARCH = ${MACHINE_ARCH.${MACHINE}}
22.endif
23
24.if !empty(TSORT)
25TSORT += -q
26.endif
27
28
29