opnsense-src/gnu/usr.bin/perl/usub/Makefile
Bruce Evans f7bebafb62 Use the installed version of perl for `make depend'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.
The bootstrapped version has a better chance of working.

This makes the fixes and bugs in the previous 3 commits irrelevant.
Rev.1.11 was just wrong and rev.1.10 became unnecessary when
perl/perl was added to build-tools.  Don't expect to build perl/usub
without using `make world' or equivalent if you don't have perl
installed.
1998-07-07 23:32:39 +00:00

24 lines
590 B
Makefile

# $Id$
PROG= curseperl
# From perl
SRCS+= array.c cmd.c cons.c consarg.c doarg.c doio.c dolist.c dump.c
SRCS+= eval.c form.c hash.c perl.c perly.c regcomp.c regexec.c
SRCS+= stab.c str.c toke.c util.c
# Local to us.
SRCS+= usersub.c curses.c
CFLAGS+= -DDEBUGGING -I${.CURDIR}/../perl
LDADD+= -lncurses -lmytinfo -lcrypt -lm
DPADD+= ${LIBNCURSES} ${LIBMYTINFO} ${LIBCRYPT} ${LIBM}
CLEANFILES+= curses.c
VPATH+= ${.CURDIR}/../perl
NOMAN= yes
curses.c: curses.mus
perl ${.CURDIR}/mus ${.CURDIR}/curses.mus > curses.c
.include "../../Makefile.inc"
.include <bsd.prog.mk>