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