b6c358a73d
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.
25 lines
541 B
Makefile
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>
|