summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/sperl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/sperl/Makefile')
-rw-r--r--gnu/usr.bin/perl/sperl/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/sperl/Makefile b/gnu/usr.bin/perl/sperl/Makefile
new file mode 100644
index 0000000..e815d89
--- /dev/null
+++ b/gnu/usr.bin/perl/sperl/Makefile
@@ -0,0 +1,30 @@
+#
+#
+
+PROG= suidperl
+
+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 -DIAMSUID -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>
+
OpenPOWER on IntegriCloud