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
|
1994-10-19 00:03:45 +00:00
|
|
|
SRCS= su.c
|
|
|
|
|
2001-03-27 19:40:51 +00:00
|
|
|
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
|
1997-01-13 06:39:19 +00:00
|
|
|
|
1995-10-12 17:25:58 +00:00
|
|
|
.if defined(WHEELSU)
|
|
|
|
COPTS+= -DWHEELSU
|
|
|
|
.endif
|
1996-03-09 14:57:43 +00:00
|
|
|
CFLAGS+= -Wall
|
1994-09-29 20:54:41 +00:00
|
|
|
|
1999-08-13 16:51:40 +00:00
|
|
|
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
1994-09-29 13:06:54 +00:00
|
|
|
CFLAGS+=-DKERBEROS
|
2000-02-24 21:06:22 +00:00
|
|
|
DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
|
|
|
|
LDADD+= -lkrb -lcrypto -lcom_err
|
1999-09-19 22:26:02 +00:00
|
|
|
DISTRIBUTION= krb4
|
1994-09-29 13:06:54 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
BINMODE=4555
|
|
|
|
INSTALLFLAGS=-fschg
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|