xref: /freebsd/gnu/usr.bin/Makefile (revision 430f7286a566b1407c7b32ce13585caf5aa59b92)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5SUBDIR= ${_binutils} \
6	${_cc} \
7	dialog \
8	diff \
9	diff3 \
10	${_dtc} \
11	${_gdb} \
12	${_gperf} \
13	grep \
14	${_groff} \
15	${_rcs} \
16	${_tests}
17
18SUBDIR_DEPEND_gdb= ${_binutils}
19
20.if ${MK_CXX} != "no"
21.if ${MK_GCC} != "no"
22_gperf=		gperf
23.endif
24.if ${MK_GROFF} != "no"
25_groff=		groff
26.endif
27.endif
28
29.if ${MK_GPL_DTC} != "no"
30_dtc=		dtc
31.endif
32
33.if ${MK_RCS} != "no"
34_rcs=		rcs
35.endif
36
37.if ${MK_TESTS} != "no"
38_tests=		tests
39.endif
40
41.if ${MK_BINUTILS} != "no"
42_binutils=	binutils
43.if ${MK_GDB} != "no"
44_gdb=		gdb
45.endif
46.endif
47
48.if ${MK_GCC} != "no"
49_cc=		cc
50.endif
51
52SUBDIR_PARALLEL=
53
54.include <bsd.subdir.mk>
55