NetBSD/usr.bin/login/Makefile

35 lines
653 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 1999/03/05 01:07:56 kim Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition
.if !exists(${.CURDIR}/../../domestic/usr.bin/login) || \
defined(EXPORTABLE_SYSTEM) || \
make(obj) || make(clean) || make(cleandir) || make(distclean)
1993-03-21 12:45:37 +03:00
PROG= login
SRCS= login.c
1997-10-11 23:19:11 +04:00
DPADD+= ${LIBUTIL} ${LIBCRYPT}
LDADD+= -lutil -lcrypt
1997-10-12 16:54:55 +04:00
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
1997-10-11 23:19:11 +04:00
.include <bsd.own.mk>
1997-10-12 17:10:16 +04:00
.ifdef SKEY
1997-10-12 16:54:55 +04:00
CPPFLAGS+=-DSKEY
1997-10-11 23:19:11 +04:00
DPADD+= ${LIBSKEY}
LDADD+= -lskey
.endif
.include <bsd.prog.mk>
.else # EXPORTABLE_SYSTEM
MAN= login.1
.include <bsd.man.mk>
.endif # EXPORTABLE_SYSTEM