diff options
author | brian <brian@FreeBSD.org> | 1998-06-27 14:17:28 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-27 14:17:28 +0000 |
commit | 9666634a89fa23b0d1202c243cdc1224aa43c2e9 (patch) | |
tree | 35d9bd1c567aa322eca52f9c275e90ab7169459d /usr.sbin/ppp/Makefile | |
parent | 6a5332c7c79dd1e6809f85f057a351c5f861749e (diff) | |
download | FreeBSD-src-9666634a89fa23b0d1202c243cdc1224aa43c2e9.zip FreeBSD-src-9666634a89fa23b0d1202c243cdc1224aa43c2e9.tar.gz |
Don't dlopen()/dlsym() libalias, use it in the same way
as the rest of the world uses libraries.
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r-- | usr.sbin/ppp/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index 2a8322e..b33fd79 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.42 1998/06/24 19:33:30 brian Exp $ +# $Id: Makefile,v 1.43 1998/06/26 18:50:29 brian Exp $ PROG= ppp SRCS= arp.c async.c auth.c bundle.c ccp.c chap.c chat.c command.c \ @@ -26,10 +26,14 @@ DPADD+= ${LIBMD} ${LIBCRYPT} CFLAGS+=-DRELEASE_CRUNCH .endif -.if defined(NOALIAS) || defined(RELEASE_CRUNCH) +.if defined(NOALIAS) CFLAGS+=-DNOALIAS .else -SRCS+= alias_cmd.c loadalias.c +.if !defined(RELEASE_CRUNCH) +SRCS+= alias_cmd.c +LDADD+= -lalias +DPADD+= ${LIBALIAS} +.endif .endif .if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) @@ -43,8 +47,9 @@ DPADD+= ${LIBDES} .if defined(RELEASE_CRUNCH) # We must create these objects because the crunchgen will link them, # and we don't want any unused symbols to spoil the final link. -SRCS+= alias_cmd.c loadalias.c chap_ms.c -chap_ms.o alias_cmd.o loadalias.o: +CFLAGS+=-DNOALIAS +SRCS+= alias_cmd.c chap_ms.c +chap_ms.o alias_cmd.o: >null_${.PREFIX}.c cc -c -o ${.TARGET} null_${.PREFIX}.c .endif |