Annotation of src/usr.bin/login/Makefile, Revision 1.11
1.11 ! art 1: # $OpenBSD: Makefile,v 1.10 1997/09/21 11:49:39 deraadt Exp $
1.1 deraadt 2:
3: PROG= login
1.7 millert 4: SRCS= login.c failedlogin.c
1.3 etheisen 5: LDADD= -lutil
6: DPADD= ${LIBUTIL}
1.2 tholo 7:
8: .include <bsd.own.mk> # For SKEY, KERBEROS and KERBEROS5
9:
1.9 millert 10: .if (${SKEY} == "yes")
1.2 tholo 11: CFLAGS+=-DSKEY
12: LDADD+= -lskey
13: DPADD+= ${LIBSKEY}
14: .endif
1.1 deraadt 15:
1.9 millert 16: .if (${KERBEROS5} == "yes")
1.2 tholo 17: CFLAGS+= -DKERBEROS5
1.1 deraadt 18: SRCS+= k5login.c
1.2 tholo 19: LDADD+= -lkrb5 -lcrypto
1.1 deraadt 20: DPADD+= ${LIBKRB5} ${LIBCRYPTO}
1.9 millert 21: .elif (${KERBEROS} == "yes")
1.2 tholo 22: CFLAGS+= -DKERBEROS
1.1 deraadt 23: SRCS+= klogin.c
1.11 ! art 24: LDADD+= -lkrb -ldes -lkafs
1.1 deraadt 25: DPADD+= ${LIBKRB} ${LIBDES}
26: .endif
27:
28: BINOWN= root
29: BINMODE=4555
30: INSTALLFLAGS=-fschg
31:
32: .include <bsd.prog.mk>