1 # $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.8 2002/09/01 02:12:22 brian Exp $
5 SRCS
= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
6 command.c datalink.c deflate.c defs.c exec.c
filter.c fsm.c hdlc.c \
7 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
8 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
9 proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
10 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
12 .if defined
(NOSUID
) || defined
(PPP_NOSUID
)
21 LDADD
= -lcrypt
-lmd
-lutil
-lz
22 DPADD
= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
27 m4
${M4FLAGS} ${.IMPSRC
} >${.TARGET
}
31 .if defined
(PPP_CONFDIR
) && !empty
(PPP_CONFDIR
)
32 CFLAGS
+=-DPPP_CONFDIR
=\"${PPP_CONFDIR}\"
35 .if defined
(NOKLDLOAD
)
43 .if defined
(NOALIAS
) || defined
(NONAT
)
51 .if defined
(NOSUID
) || defined
(PPP_NOSUID
)
57 .if defined
(NO_CRYPT
) || defined
(NODES
)
60 SRCS
+= chap_ms.c mppe.c
61 LDADD
+= -lprivate_crypto
62 DPADD
+= ${LIBRECRYPTO}
63 LDFLAGS
+= ${PRIVATELIB_LDFLAGS}
64 CFLAGS
+= -I
${.CURDIR
}/..
/..
/crypto
/libressl
/include
75 .if defined
(WANT_NETGRAPH7
)
76 CFLAGS
+=-DWANT_NETGRAPH7
79 .if defined
(NONETGRAPH
)
84 DPADD
+= ${LIBNETGRAPH}
85 .if defined
(EXPERIMENTAL_NETGRAPH
)
86 CFLAGS
+=-DEXPERIMENTAL_NETGRAPH
93 .
include <bsd.prog.mk
>