summaryrefslogtreecommitdiff
path: root/lib/libskey/Makefile
blob: 12202b63d9fe274f0f0d2a1f92effeb22515c1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $OpenBSD: Makefile,v 1.12 2016/03/30 06:38:43 jmc Exp $

LIB=	skey
SRCS=	skeylogin.c skeysubr.c put.c
HDRS=	skey.h
MAN+=	skey.3 skey.5

includes:
	@cd ${.CURDIR}; for i in $(HDRS); do \
	    j="cmp -s $$i ${DESTDIR}/usr/include/`basename $$i` || \
		${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
		${DESTDIR}/usr/include"; \
	    echo $$j; \
	    eval "$$j"; \
	done

.include <bsd.lib.mk>