[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / distrib

File: [local] / src / distrib / Makefile (download)

Revision 1.29, Fri Nov 10 19:37:51 2006 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +11 -9 lines

try to be more clever about when to enter SUBDIRS, so that we don't
do it double for the native arch

#	$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>