Fixed world breakage for the NOSHARED=yes case. Libraries were added to

LDFLAGS instead of to LDADD, so they ended up too early in the command
line.

Don't link to libcrypt.  It is unused for static linkage and unnecessary
and only apparently used for dynamic linkage (the dynamic libskey is
linked to libcrypt to support the crypt parts of libskey which aren't
used here).

Fixed some disorder.
This commit is contained in:
Bruce Evans 2000-08-12 20:54:47 +00:00
parent 1469c4346f
commit b10fc2ddef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64559

View File

@ -1,10 +1,10 @@
# @(#)Makefile 5.5 (Berkeley) 7/1/90
# $FreeBSD$
BINMODE=4555
PROG= keyinfo
LDFLAGS=-lskey -lcrypt -lmd
DPADD= ${LIBSKEY} ${LIBCRYPT} ${LIBMD}
CFLAGS+=-Wall
DPADD= ${LIBSKEY} ${LIBMD}
LDADD= -lskey -lmd
BINMODE=4555
.include <bsd.prog.mk>