summaryrefslogtreecommitdiff
path: root/usr.sbin/mkuboot/Makefile
blob: cfc5d7365d49c64f0f9b1ed67b3d0e2bfaf0447a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.5 2017/10/27 08:33:40 kevlo Exp $

.if ${MACHINE} == "arm64" || ${MACHINE} == "armv7"

PROG=	mkuboot
SRCS=	mkuboot.c copy_elf32.c copy_elf64.c
DPADD=	${LIBZ}
LDADD=	-lz
CFLAGS=	-DMACHINE_ARCH=\"${MACHINE_ARCH}\"

.else

NOPROG=yes

.endif

MAN=	mkuboot.8

.include <bsd.prog.mk>