summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
blob: 6162bfcfd2aa4e37283dd8bca1db0d75ca712124 (plain)
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
#	$NetBSD: Makefile,v 1.139 2014/08/08 19:38:47 apb Exp $

.include <bsd.own.mk>

.if defined(__MINIX)
SUBDIR+=	texinfo

.if ${USETOOLS} != "yes"
# MINIX: make sure sources are fetched, even when tools were not built earlier
MODULE=		texinfo
GNUHOSTDIST=	${NETBSDSRCDIR}/gnu/dist/${MODULE}
.include "${.CURDIR}/../../minix/Makefile.fetchgnu"

realall realdepend: ${GNUHOSTDIST:H}/.gitignore
.endif # defined(__MINIX)

.else
SUBDIR+=	bc
SUBDIR+=	c89 c99
SUBDIR+=	dc diffutils
SUBDIR+=	rcs send-pr texinfo

.if ${MKBSDGREP} == "no"
SUBDIR+=	grep
.endif

.if ${MKGROFF} != "no"
SUBDIR+=	groff
.endif

SUBDIR+=	gettext
.endif # defined(__MINIX)

.include <bsd.subdir.mk>