mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 09:44:30 +01:00
dbd17e6ab8
Reviewed by: Gary Clark II Submitted by: Rod Grimes
32 lines
487 B
Makefile
32 lines
487 B
Makefile
#
|
|
#
|
|
|
|
PROG= tperl
|
|
|
|
SRCS+= array.c cmd.c cons.c consarg.c
|
|
SRCS+= doarg.c doio.c dolist.c dump.c
|
|
SRCS+= eval.c form.c hash.c malloc.c
|
|
SRCS+= perl.c perly.c regcomp.c regexec.c
|
|
SRCS+= stab.c str.c toke.c util.c
|
|
SRCS+= usersub.c
|
|
.PATH: ${.CURDIR}/../perl
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../perl -DTAINT
|
|
LDADD+= -lm
|
|
DPADD= ${LIBM}
|
|
|
|
.if exists (/usr/lib/libcrypt.a)
|
|
LDADD+= -lcrypt
|
|
DPADD+= ${LIBCRYPT}
|
|
.else
|
|
SRCS+= crypt.c
|
|
.endif
|
|
|
|
NOMAN=
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
.include "../../Makefile.inc"
|
|
|