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
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
14 LDADD
= -lcrypt
-lutil
-lmd
15 DPADD
= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
17 # Support SPX/IPX - not quite ready
21 # Callback Control Protocol
22 CFLAGS
+=-DCBCP_SUPPORT
30 # MS-CHAP support. Requires the DES library.
31 .if exists
(${.CURDIR
}/..
/..
/secure
) && !defined
(NO_CRYPT
) && !defined
(NO_OPENSSL
) && !defined
(RELEASE_CRUNCH
)
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.
45 cc -c
-o
${.TARGET
} null_
${.PREFIX
}.c
48 .
include <bsd.prog.mk
>