- Don't set hardware slot time according to "short slot time" capability
[dragonfly.git] / usr.sbin / pppd / Makefile
bloba6d54c80007eee2efa2cdf16cbfc605c51a56fe8
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
14 LDADD= -lcrypt -lutil -lmd
15 DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
17 # Support SPX/IPX - not quite ready
18 #CFLAGS+=-DIPX_CHANGE
19 #SRCS+= ipxcp.c
21 # Callback Control Protocol
22 CFLAGS+=-DCBCP_SUPPORT
23 SRCS+= cbcp.c
25 # Filter support
26 CFLAGS+=-DPPP_FILTER
27 LDADD+= -lpcap
28 DPADD+= ${LIBPCAP}
30 # MS-CHAP support. Requires the DES library.
31 .if exists(${.CURDIR}/../../secure) && !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
32 DISTRIBUTION=crypto
33 CFLAGS+=-DCHAPMS
34 SRCS+= chap_ms.c
35 LDADD+= -lcrypto
36 DPADD+= ${LIBCRYPTO}
37 .endif
39 .if defined(RELEASE_CRUNCH)
40 # We must create these objects because crunchgen will link them,
41 # and we don't want any unused symbols to spoil the final link.
42 SRCS+= chap_ms.c
43 chap_ms.o:
44 >null_${.PREFIX}.c
45 cc -c -o ${.TARGET} null_${.PREFIX}.c
46 .endif
48 .include <bsd.prog.mk>