Makefile (40561) | Makefile (43313) |
---|---|
1# $Id: Makefile,v 1.49 1998/10/20 00:19:38 brian Exp $ | 1# $Id: Makefile,v 1.50 1998/10/22 02:32:48 brian Exp $ |
2 3PROG= ppp 4SRCS= arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \ 5 datalink.c deflate.c defs.c filter.c fsm.c hdlc.c id.c iface.c ip.c \ 6 ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c mbuf.c modem.c \ 7 mp.c pap.c physical.c pred.c probe.c prompt.c route.c server.c \ 8 sig.c slcompress.c systems.c throughput.c timer.c tun.c vjcomp.c 9CFLAGS+=-Wall | 2 3PROG= ppp 4SRCS= arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \ 5 datalink.c deflate.c defs.c filter.c fsm.c hdlc.c id.c iface.c ip.c \ 6 ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c mbuf.c modem.c \ 7 mp.c pap.c physical.c pred.c probe.c prompt.c route.c server.c \ 8 sig.c slcompress.c systems.c throughput.c timer.c tun.c vjcomp.c 9CFLAGS+=-Wall |
10LDADD+= -lutil -lz 11DPADD+= ${LIBUTIL} ${LIBZ} | 10LDADD+= -lcrypt -lmd -lutil -lz 11DPADD+= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ} |
12BINMODE=4554 13BINOWN= root 14BINGRP= network 15MAN8= ppp.8 | 12BINMODE=4554 13BINOWN= root 14BINGRP= network 15MAN8= ppp.8 |
16LDADD+= -lmd -lcrypt 17DPADD+= ${LIBMD} ${LIBCRYPT} | |
18 19.if defined(RELEASE_CRUNCH) 20CFLAGS+=-DRELEASE_CRUNCH 21.endif 22 23.if defined(NOALIAS) 24CFLAGS+=-DNOALIAS 25.else --- 7 unchanged lines hidden (view full) --- 33.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) 34DISTRIBUTION=des 35CFLAGS+=-DHAVE_DES 36SRCS+= chap_ms.c 37LDADD+= -ldes 38DPADD+= ${LIBDES} 39.endif 40 | 16 17.if defined(RELEASE_CRUNCH) 18CFLAGS+=-DRELEASE_CRUNCH 19.endif 20 21.if defined(NOALIAS) 22CFLAGS+=-DNOALIAS 23.else --- 7 unchanged lines hidden (view full) --- 31.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) 32DISTRIBUTION=des 33CFLAGS+=-DHAVE_DES 34SRCS+= chap_ms.c 35LDADD+= -ldes 36DPADD+= ${LIBDES} 37.endif 38 |
39.if defined(NORADIUS) 40CFLAGS+=-DNORADIUS 41.else 42.if !defined(RELEASE_CRUNCH) 43SRCS+= radius.c 44LDADD+= -lradius 45DPADD+= ${LIBRADIUS} 46.endif 47.endif 48 |
|
41.if defined(RELEASE_CRUNCH) | 49.if defined(RELEASE_CRUNCH) |
42# We must create these objects because the crunchgen will link them, | 50# We must create these objects because crunchgen will link them, |
43# and we don't want any unused symbols to spoil the final link. | 51# and we don't want any unused symbols to spoil the final link. |
44CFLAGS+=-DNOALIAS 45SRCS+= alias_cmd.c chap_ms.c 46chap_ms.o alias_cmd.o: | 52CFLAGS+=-DNOALIAS -DNORADIUS 53SRCS+= alias_cmd.c chap_ms.c radius.c 54chap_ms.o alias_cmd.o radius.o: |
47 >null_${.PREFIX}.c 48 cc -c -o ${.TARGET} null_${.PREFIX}.c 49.endif 50 51.include <bsd.prog.mk> | 55 >null_${.PREFIX}.c 56 cc -c -o ${.TARGET} null_${.PREFIX}.c 57.endif 58 59.include <bsd.prog.mk> |