summaryrefslogtreecommitdiff
path: root/usr.sbin/mkuboot/Makefile
blob: 8533def100c4617b025f23c4812ade9ae432ec26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: Makefile,v 1.3 2013/10/28 09:00:06 patrick Exp $

.if ${MACHINE} == "armv7"

BINDIR=	/usr/sbin
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>