blob: 3ec626172a15b111bc4883ac1cfe6f74c2960934 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $OpenBSD: Makefile,v 1.3 2001/07/02 14:07:06 millert Exp $
.include <bsd.own.mk>
PROG= login_krb4-or-pwd
SRCS= login.c login_passwd.c
MAN= ${PROG}.8
CFLAGS+=-DPASSWD -Wall -Werror -I${.CURDIR}/../login_passwd
.if (${KERBEROS:L} == "yes")
SRCS+= login_krb4.c
DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBUTIL}
LDADD+= -lkrb -lcrypto -lutil
CFLAGS+=-DKRB4
.PATH: ${.CURDIR}/../login_passwd ${.CURDIR}/../login_krb4
.else
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.PATH: ${.CURDIR}/../login_passwd
.endif
BINOWN= root
BINGRP= auth
BINMODE=4555
BINDIR= /usr/libexec/auth
.include <bsd.prog.mk>
|