Mark Murray b6c358a73d Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl
and do the usual "make obj && make depend all".

This sort of stuff makes my teeth itch, but folks wanted it badly
enough, so here it is.
2001-09-20 12:22:27 +00:00

25 lines
541 B
Makefile

# $FreeBSD$
.ifmake !install && !distribute
_MINI= miniperl
.endif
SUBDIR= libperl ${_MINI} perl suidperl library pod utils x2p BSDPAN
MAINTAINER=markm@freebsd.org
.BEGIN:
.ifmake depend || all
if [ \! -f ${.OBJDIR}/build-tools ] ; then \
${ECHO} TESTING TESTING TESTING ; \
cd ${.CURDIR}/libperl && ${MAKE} depend && ${MAKE} all ; \
cd ${.CURDIR}/miniperl && ${MAKE} depend && ${MAKE} all ; \
touch ${.OBJDIR}/build-tools ; \
fi
.endif
.ifmake cleandir || clean
@rm -f ${.OBJDIR}/build-tools
.endif
.include <bsd.subdir.mk>