1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin/su/Makefile

36 lines
593 B
Makefile
Raw Normal View History

1994-05-27 12:33:43 +00:00
# @(#)Makefile 8.1 (Berkeley) 7/19/93
1999-08-28 01:08:13 +00:00
# $FreeBSD$
1994-05-27 12:33:43 +00:00
PROG= su
SRCS= su.c
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.if !defined(NOPAM)
CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.else
COPTS+= -DSKEY
DPADD+= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
LDADD+= -lskey -lmd -lcrypt
.endif
.if defined(WHEELSU)
COPTS+= -DWHEELSU
.endif
CFLAGS+= -Wall
1994-09-29 20:54:41 +00:00
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
CFLAGS+=-DKERBEROS
2000-02-24 21:06:22 +00:00
DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
LDADD+= -lkrb -lcrypto -lcom_err
DISTRIBUTION= krb4
.endif
1994-05-27 12:33:43 +00:00
BINMODE=4555
INSTALLFLAGS=-fschg
.include <bsd.prog.mk>