aboutsummaryrefslogtreecommitdiff
path: root/libexec/pppd/Makefile
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-07-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-07-01 08:00:00 +0000
commit5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch)
treee779b5a6edddbb949b7990751b12d6f25304ba86 /libexec/pppd/Makefile
parenta16f65c7d117419bd266c28a1901ef129a337569 (diff)
This commit was manufactured to restore the state of the 1.1.5.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'libexec/pppd/Makefile')
-rw-r--r--libexec/pppd/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/libexec/pppd/Makefile b/libexec/pppd/Makefile
index eb2c0066c78c..196adb0b2d22 100644
--- a/libexec/pppd/Makefile
+++ b/libexec/pppd/Makefile
@@ -1,23 +1,25 @@
-#
-# $Id: Makefile,v 1.2 1993/10/14 11:18:55 rgrimes Exp $
-#
-PROG= pppd
-MAN8= pppd.8
-SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c logwtmp.c chap.c md5.c
-MD5SRCS = md5driver.c
+# $Id: Makefile,v 1.3 1994/03/30 09:31:19 jkh Exp $
DEBUG_FLAGS = -DDEBUGFSM -DDEBUGLCP -DDEBUGIPCP -DDEBUGUPAP -DDEBUGCHAP \
-DDEBUGMAIN
+CFLAGS+= ${DEBUG_FLAGS}
+
+PROG= pppd
+SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c \
+ auth.c options.c sys-bsd.c
+MAN8= pppd.8
+BINMODE=4555
+BINGRP= daemon
+BINOWN= root
-CFLAGS= -DKVMLIB -DPPP ${DEBUG_FLAGS}
+.if exists(/usr/lib/libcrypt.a)
+DPADD+= ${LIBCRYPT}
+LDADD+= -lcrypt
+.endif
DPADD+= ${LIBUTIL}
LDADD+= -lutil
-BINOWN= root
-BINGRP= daemon
-BINMODE= 4555
-
md5driver: md5.h md5.o md5driver.o
$(CC) $(CFLAGS) -o md5driver md5driver.o md5.o