Makefile revision 32860
1# $Id: Makefile,v 1.35 1998/01/17 14:21:21 brian Exp $ 2 3PROG= ppp 4SRCS= arp.c async.c auth.c ccp.c chap.c chat.c command.c deflate.c \ 5 defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c iplist.c lcp.c \ 6 log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c \ 7 pred.c route.c server.c sig.c slcompress.c systems.c throughput.c \ 8 timer.c tun.c vars.c vjcomp.c 9CFLAGS+=-Wall 10LDADD+= -lmd -lcrypt -lutil -lz 11DPADD+= ${LIBMD} ${LIBCRYPT} ${LIBUTIL} ${LIBZ} 12MAN8= ppp.8 13BINMODE=4550 14BINOWN= root 15BINGRP= network 16 17.if defined(RELEASE_CRUNCH) 18CFLAGS+=-DRELEASE_CRUNCH 19.endif 20 21.if defined(NOALIAS) || defined(RELEASE_CRUNCH) 22CFLAGS+=-DNOALIAS 23.else 24SRCS+= alias_cmd.c loadalias.c 25.endif 26 27.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) 28CFLAGS+=-DHAVE_DES 29SRCS+= chap_ms.c 30LDADD+= -ldes 31DPADD+= ${LIBDES} 32.endif 33 34.if defined(RELEASE_CRUNCH) 35# We must create these objects because the crunchgen will link them, 36# and we don't want any unused symbols to spoil the final link. 37SRCS+= alias_cmd.c loadalias.c chap_ms.c 38chap_ms.o alias_cmd.o loadalias.o: 39 >null_$*.c 40 cc -c -o $@ null_$*.c 41.endif 42 43.include <bsd.prog.mk> 44