22 lines
503 B
Makefile
22 lines
503 B
Makefile
# $OpenBSD: Makefile,v 1.3 2016/03/30 06:38:43 jmc Exp $
|
|
|
|
LIB= radius
|
|
SRCS= radius.c radius_attr.c radius_msgauth.c radius_userpass.c \
|
|
radius_mppe.c radius_eapmsk.c
|
|
INCS= radius.h
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
MAN= radius_new_request_packet.3
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
includes:
|
|
@cd ${.CURDIR}; for i in $(INCS); do \
|
|
j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
|
|
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
|
|
-m 444 $$i ${DESTDIR}/usr/include"; \
|
|
echo $$j; \
|
|
eval "$$j"; \
|
|
done
|