Rename .sub files back to .inc.
[dragonfly.git] / gnu / usr.bin / perl / utils / Makefile.inc
1 #
2 # $FreeBSD: src/gnu/usr.bin/perl/utils/Makefile.inc,v 1.3.2.1 2000/10/05 09:54:52 markm Exp $
3 # $DragonFly: src/gnu/usr.bin/perl/utils/Attic/Makefile.inc,v 1.4 2004/01/28 21:26:54 dillon Exp $
4 #
5
6 PERL5SRC=       ${.CURDIR}/../../../../../contrib/perl5
7 PERL5LIBSRC=    ${.CURDIR}/../../libperl
8 MINIPERL=       ${.OBJDIR}/../../miniperl/miniperl
9
10 .include "../Makefile.inc"
11
12 MINIPERLOPT?=   -I${.OBJDIR}/../../perl/lib -I${.OBJDIR}/../../perl -I${PERL5SRC}
13
14 ${PROG}: ${PROG}.PL
15         ${MINIPERL} ${MINIPERLOPT} ${.OODATE}
16
17 ${PROG}.1: ${PROG}.PL
18         ${MINIPERL} ${MINIPERLOPT} \
19                 ${.OBJDIR}/../../pod/pod2man/pod2man ${.OODATE} > ${.TARGET}
20
21 ${PROG}.PL: ${PERL5SRC}/utils/${PROG}.PL
22         ln -sf ${.OODATE} ${.TARGET}
23
24 CLEANFILES+=    ${PROG}.1 ${PROG}.PL pstruct
25
26 STRIP=