1994-05-19 19:13:11 +01:00
|
|
|
# @(#)Makefile 5.4 (Berkeley) 5/7/91
|
|
|
|
|
|
|
|
LIB= skey
|
1994-10-19 01:03:45 +01:00
|
|
|
SRCS= skeyaccess.c put.c skey_crypt.c skey_getpass.c skeylogin.c skeysubr.c
|
|
|
|
MAN1= skey.1
|
1996-12-22 13:33:11 +00:00
|
|
|
MAN3= skey.3
|
1996-12-22 23:18:50 +00:00
|
|
|
MLINKS= skey.3 skeylookup.3 skey.3 skeyverify.3 skey.3 skeychallenge.3 \
|
|
|
|
skey.3 skeyinfo.3 skey.3 skeyaccess.3 skey.3 skey_getpass.3 \
|
|
|
|
skey.3 skey_crypt.3
|
1994-09-29 19:58:39 +01:00
|
|
|
MAN5= skey.access.5
|
|
|
|
|
1996-10-17 16:22:46 +01:00
|
|
|
CFLAGS+=-DPERMIT_CONSOLE -D_SKEY_INTERNAL -I${.CURDIR}
|
1998-05-11 10:15:03 +01:00
|
|
|
CFLAGS+=-W -Wall
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
CFLAGS+=-Werror
|
|
|
|
.endif
|
1994-09-29 19:58:39 +01:00
|
|
|
|
1998-08-30 02:57:55 +01:00
|
|
|
.if ${OBJFORMAT} == elf
|
1997-09-05 12:52:20 +01:00
|
|
|
DPADD+= ${LIBCRYPT} ${LIBMD}
|
|
|
|
LDADD+= -lcrypt -lmd
|
|
|
|
.endif
|
|
|
|
|
1994-09-29 20:27:35 +01:00
|
|
|
beforeinstall:
|
1996-08-30 03:12:07 +01:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/skey.h \
|
|
|
|
${DESTDIR}/usr/include
|
1994-05-19 19:13:11 +01:00
|
|
|
|
1994-09-29 20:27:35 +01:00
|
|
|
.include <bsd.lib.mk>
|