summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/perl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/perl/Makefile')
-rw-r--r--gnu/usr.bin/perl/perl/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/perl/Makefile b/gnu/usr.bin/perl/perl/Makefile
new file mode 100644
index 0000000..2448324
--- /dev/null
+++ b/gnu/usr.bin/perl/perl/Makefile
@@ -0,0 +1,20 @@
+#
+#
+
+PROG= 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 malloc.c perl.c perly.c regcomp.c regexec.c
+SRCS+= stab.c str.c toke.c util.c usersub.c
+CFLAGS+= -I${.CURDIR}
+LDADD= -lm
+DPADD= ${LIBM}
+
+.if exists (/usr/lib/libcrypt.a)
+DPADD+= ${LIBCRYPT}
+LDADD+= -lcrypt
+.else
+SRCS+= crypt.c
+.endif
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud