summaryrefslogtreecommitdiff
path: root/distrib/Makefile
blob: c0aac3c65e935b801f96804a56b7e60ef3db771b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$OpenBSD: Makefile,v 1.31 2006/11/11 22:21:40 deraadt Exp $

SUBDIR=	special notes

.if	make(obj)
SUBDIR+=crunch
SUBDIR+=alpha amd64 armish 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

#all: crunch-tools _SUBDIRUSE

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

.include <bsd.subdir.mk>