-# $OpenBSD: Makefile,v 1.2 2023/09/08 05:56:22 yasuoka Exp $
+# $OpenBSD: Makefile,v 1.3 2024/07/02 16:18:11 deraadt Exp $
+
SUBDIR= radiusd
SUBDIR+= radiusd_bsdauth
SUBDIR+= radiusd_radius
-# $OpenBSD: Makefile.inc,v 1.2 2017/02/21 05:17:48 yasuoka Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2024/07/02 16:18:11 deraadt Exp $
+
.PATH: ${.CURDIR}/..
CFLAGS+= -I${.CURDIR}/..
CFLAGS+= -Wall -Wextra -Wshadow -Wno-unused-parameter
-# $OpenBSD: Makefile,v 1.3 2024/07/02 00:00:12 yasuoka Exp $
+# $OpenBSD: Makefile,v 1.4 2024/07/02 16:18:11 deraadt Exp $
+
PROG= radiusd_bsdauth
BINDIR= /usr/libexec/radiusd
SRCS= radiusd_bsdauth.c radiusd_module.c imsg_subr.c
-# $OpenBSD: Makefile,v 1.3 2024/07/02 00:00:12 yasuoka Exp $
+# $OpenBSD: Makefile,v 1.4 2024/07/02 16:18:11 deraadt Exp $
+
PROG= radiusd_radius
BINDIR= /usr/libexec/radiusd
SRCS= radiusd_radius.c radiusd_module.c util.c imsg_subr.c log.c
-# $OpenBSD: Makefile,v 1.2 2024/07/02 00:00:12 yasuoka Exp $
+
+# $OpenBSD: Makefile,v 1.3 2024/07/02 16:18:11 deraadt Exp $
PROG= radiusd_standard
BINDIR= /usr/libexec/radiusd
SRCS= radiusd_standard.c radiusd_module.c
-LDADD= -lutil -lradius -lcrypto
+LDADD= -lradius -lcrypto -lutil
+DPADD= ${LIBRADIUS} ${LIBCRYPTO} ${LIBUTIL}
MAN= radiusd_standard.8
.include <bsd.prog.mk>