Remove the distribute, redistribute and distributeworld targets.
[dragonfly.git] / usr.sbin / pppd / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/usr.sbin/pppd/Makefile,v 1.19.2.2 2001/08/19 03:32:43 kris Exp $
cecff5c1 2# $DragonFly: src/usr.sbin/pppd/Makefile,v 1.6 2005/09/06 18:55:48 dillon Exp $
984263bc
MD
3
4CFLAGS+= -DHAVE_PATHS_H
5
6PROG= pppd
7SRCS= 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
9MAN= pppd.8
10BINMODE=4550
11BINOWN= root
12BINGRP= dialer
f746689a 13WARNS?= 0
984263bc 14
984263bc
MD
15LDADD= -lcrypt -lutil -lmd
16DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
17
18# Support SPX/IPX - not quite ready
19#CFLAGS+=-DIPX_CHANGE
20#SRCS+= ipxcp.c
21
22# Callback Control Protocol
23CFLAGS+=-DCBCP_SUPPORT
24SRCS+= cbcp.c
25
26# Filter support
27CFLAGS+=-DPPP_FILTER
28LDADD+= -lpcap
29DPADD+= ${LIBPCAP}
30
31# MS-CHAP support. Requires the DES library.
97c14704 32.if exists(${.CURDIR}/../../secure) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
984263bc
MD
33CFLAGS+=-DCHAPMS
34SRCS+= chap_ms.c
35LDADD+= -lcrypto
36DPADD+= ${LIBCRYPTO}
37.endif
38
984263bc 39.include <bsd.prog.mk>