Annotation of src/usr.bin/login/Makefile, Revision 1.13
1.13 ! deraadt 1: # $OpenBSD: Makefile,v 1.12 1998/03/26 20:38:08 art 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.12 art 7: CFLAGS+= -Wall -Wno-unused
1.2 tholo 8:
9: .include <bsd.own.mk> # For SKEY, KERBEROS and KERBEROS5
10:
1.9 millert 11: .if (${SKEY} == "yes")
1.2 tholo 12: CFLAGS+=-DSKEY
13: LDADD+= -lskey
14: DPADD+= ${LIBSKEY}
15: .endif
1.1 deraadt 16:
1.9 millert 17: .if (${KERBEROS5} == "yes")
1.2 tholo 18: CFLAGS+= -DKERBEROS5
1.1 deraadt 19: SRCS+= k5login.c
1.2 tholo 20: LDADD+= -lkrb5 -lcrypto
1.1 deraadt 21: DPADD+= ${LIBKRB5} ${LIBCRYPTO}
1.9 millert 22: .elif (${KERBEROS} == "yes")
1.2 tholo 23: CFLAGS+= -DKERBEROS
1.1 deraadt 24: SRCS+= klogin.c
1.11 art 25: LDADD+= -lkrb -ldes -lkafs
1.13 ! deraadt 26: DPADD+= ${LIBKRB} ${LIBDES} ${LIBKAFS}
1.1 deraadt 27: .endif
28:
29: BINOWN= root
30: BINMODE=4555
31: INSTALLFLAGS=-fschg
32:
33: .include <bsd.prog.mk>