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

Tested on:	beast
2000-01-29 14:18:02 +00:00

21 lines
416 B
Makefile

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