kgdb - Fix kernel trapframe backtraces for x86_64
[dragonfly.git] / usr.sbin / pppd / Makefile
blobb383785f42a848c8b2c8041751b51bec0429aa64
1 # $FreeBSD: src/usr.sbin/pppd/Makefile,v 1.19.2.2 2001/08/19 03:32:43 kris Exp $
2 # $DragonFly: src/usr.sbin/pppd/Makefile,v 1.6 2005/09/06 18:55:48 dillon Exp $
4 CFLAGS+= -DHAVE_PATHS_H
6 PROG= pppd
7 SRCS= main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
8 demand.c auth.c options.c sys-bsd.c
9 MAN= pppd.8
10 BINMODE=4550
11 BINOWN= root
12 BINGRP= dialer
13 WARNS?= 0
15 LDADD= -lcrypt -lutil -lmd
16 DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
18 # Support SPX/IPX - not quite ready
19 #CFLAGS+=-DIPX_CHANGE
20 #SRCS+= ipxcp.c
22 # Callback Control Protocol
23 CFLAGS+=-DCBCP_SUPPORT
24 SRCS+= cbcp.c
26 # Filter support
27 CFLAGS+=-DPPP_FILTER
28 LDADD+= -lpcap
29 DPADD+= ${LIBPCAP}
31 # MS-CHAP support. Requires the DES library.
32 .if exists(${.CURDIR}/../../secure) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
33 CFLAGS+=-DCHAPMS
34 SRCS+= chap_ms.c
35 LDADD+= -lcrypto
36 DPADD+= ${LIBCRYPTO}
37 .endif
39 .include <bsd.prog.mk>