summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-16 22:15:11 +0000
committerbrian <brian@FreeBSD.org>1997-11-16 22:15:11 +0000
commit5696a07f36cde36ef7955344c7b33fc5c7c57248 (patch)
tree766aa7f660926161982f1e79a01aa4827f8022d9 /usr.sbin/ppp/Makefile
parent0f428e70f1f534b0936e0af7a36d1ad2f7e76775 (diff)
downloadFreeBSD-src-5696a07f36cde36ef7955344c7b33fc5c7c57248.zip
FreeBSD-src-5696a07f36cde36ef7955344c7b33fc5c7c57248.tar.gz
Abstract data read from and written to the tun device,
allowing for a possible header on the front of all packets. In OpenBSD, there's a structure containing the address family here. If we're building under OpenBSD, set up the ``flags'' part of struct tuninfo (not there under FreeBSD) so that we config the interface as POINTOPOINT. Prefix prototypes with ``extern'' in os.c for consistency. These changes are cosmetic under FreeBSD, but allow ppp to build & work under OpenBSD (bar the srandomdev() stuff, the inclusing of <net/if_var.h> and some Makefile symantecs).
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index 35a35b0..7562f21 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -1,10 +1,11 @@
-# $Id: Makefile,v 1.28 1997/10/26 01:01:58 brian Exp $
+# $Id: Makefile,v 1.29 1997/11/09 06:22:37 brian Exp $
PROG= ppp
-SRCS= alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c command.c \
- defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c lcp.c loadalias.c log.c \
- lqr.c main.c mbuf.c modem.c os.c pap.c phase.c pred.c route.c \
- server.c sig.c slcompress.c systems.c timer.c vars.c vjcomp.c
+SRCS= alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c \
+ command.c defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c lcp.c \
+ loadalias.c log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c \
+ pred.c route.c server.c sig.c slcompress.c systems.c timer.c tun.c \
+ vars.c vjcomp.c
CFLAGS+=-Wall -Wmissing-prototypes
LDADD+= -lmd -lcrypt -lutil
DPADD+= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
OpenPOWER on IntegriCloud