#
# $FreeBSD$
#

PROG=	miniperl
NOMAN=	true
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
SRCS=	miniperlmain.c config.h
# Miniperl _must_ be static!!
NOSHARED= yes
DPADD=	${LIBPERL} ${LIBM} ${LIBCRYPT}
LDADD=	-lperl -lm -lcrypt

# Trick the bootstrap tools into thinking that miniperl is perl.
# This gets overwritten.
LINKS=	${BINDIR}/${PROG} ${BINDIR}/perl

.include <bsd.prog.mk>

.PATH:	${PERL5SRC}

#
# $FreeBSD$
#

PROG=	miniperl
NOMAN=	true
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
SRCS=	miniperlmain.c config.h
# Miniperl _must_ be static!!
NOSHARED= yes
DPADD=	${LIBPERL} ${LIBM} ${LIBCRYPT}
LDADD=	-L${.OBJDIR}/../libperl -lperl -lm -lcrypt

# Trick the bootstrap tools into thinking that miniperl is perl.
# This gets overwritten.
LINKS=	${BINDIR}/${PROG} ${BINDIR}/perl

.include <bsd.prog.mk>

.PATH:	${PERL5SRC}

Fix for (amongst other things) the cross-compile case where a too-old version of libperl was being found.
Fix for (amongst other things) the cross-compile case where a too-old
version of libperl was being found.

Tested on:	beast
