1# @(#)Makefile 8.1 (Berkeley) 7/19/93 2# $FreeBSD$ 3 4PROG= su 5SRCS= su.c 6 7COPTS+= -DLOGIN_CAP -DSKEY 8DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT} 9LDADD= -lutil -lskey -lmd -lcrypt 10 11.if defined(WHEELSU) 12COPTS+= -DWHEELSU 13.endif 14CFLAGS+= -Wall 15 16.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) 17CFLAGS+=-DKERBEROS 18DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR} 19LDADD+= -lkrb -lcrypto -lcom_err 20DISTRIBUTION= krb4 21.endif 22 23BINMODE=4555 24INSTALLFLAGS=-fschg 25 26.include <bsd.prog.mk> 27