freebsd-skq/usr.bin/su/Makefile
peter d44e2d4226 Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
1999-12-18 13:55:17 +00:00

27 lines
489 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= su
SRCS= su.c
COPTS+= -DLOGIN_CAP -DSKEY
DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
LDADD= -lutil -lskey -lmd -lcrypt
.if defined(WHEELSU)
COPTS+= -DWHEELSU
.endif
CFLAGS+= -Wall
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
CFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
LDADD+= -lkrb -ldes -lcom_err
DISTRIBUTION= krb4
.endif
BINMODE=4555
INSTALLFLAGS=-fschg
.include <bsd.prog.mk>