aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
blob: 8e42053c08abf379a56c30612bc9cb3c892a611c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# $FreeBSD$

.include <src.opts.mk>

SUBDIR= ${_binutils} \
	${_cc} \
	diff \
	diff3 \
	${_dtc} \
	${_gdb} \
	${_gperf} \
	grep \
	${_groff} \
	${_tests}

SUBDIR_DEPEND_gdb= ${_binutils}

.if ${MK_CXX} != "no"
.if ${MK_GCC} != "no"
_gperf=		gperf
.endif
.if ${MK_GROFF} != "no"
_groff=		groff
.endif
.endif

.if ${MK_GPL_DTC} != "no"
_dtc=		dtc
.endif

.if ${MK_TESTS} != "no"
_tests=		tests
.endif

.if ${MK_BINUTILS} != "no"
_binutils=	binutils
.if ${MK_GDB} != "no"
_gdb=		gdb
.endif
.endif

.if ${MK_GCC} != "no"
_cc=		cc
.endif

SUBDIR.${MK_DIALOG}+=	dialog

SUBDIR_PARALLEL=

.include <bsd.subdir.mk>