mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
c619831eb1
(emulate the 'd' linker (?)). This was most harmful for the NOSHARED=yes case since libskey.o isn't linked to libmd.a. Fixed the usual disorder of DPADD and LDADD, and some tab lossage.
27 lines
510 B
Makefile
27 lines
510 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $Id: Makefile,v 1.22 1999/08/13 16:51:40 sheldonh Exp $
|
|
|
|
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}
|
|
LDADD+= -lkrb -ldes
|
|
DISTRIBUTION= krb
|
|
.endif
|
|
|
|
BINMODE=4555
|
|
INSTALLFLAGS=-fschg
|
|
|
|
.include <bsd.prog.mk>
|