summaryrefslogtreecommitdiff
path: root/distrib/Makefile
blob: 301a5236bdaf6ea81969fb9515d0bdba6b7487e8 (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
#	$OpenBSD: Makefile,v 1.29 2006/11/10 19:37:51 deraadt Exp $

SUBDIR=	special

.if	make(obj)
SUBDIR+=crunch
SUBDIR+=alpha amd64 cats hp300 hppa i386 landisk mac68k macppc mvme68k \
	mvme88k mvmeppc sgi sparc sparc64 vax zaurus
.elif exists(${MACHINE})
SUBDIR+=${MACHINE}
.endif

.if	make(clean) || make(cleandir)
SUBDIR+=crunch
.endif

SUBDIR+=notes

#all: crunch-tools _SUBDIRUSE

crunch-tools:
	(cd $(.CURDIR)/crunch; $(MAKE) obj; \
	 $(MAKE) depend && ${MAKE} && ${SUDO} ${MAKE} DESTDIR= install)

.include <bsd.subdir.mk>