xref: /openbsd-src/usr.sbin/mkuboot/Makefile (revision 4e4ba5d6519b353d55b954d5b0720ddf13354886)
1#	$OpenBSD: Makefile,v 1.5 2017/10/27 08:33:40 kevlo Exp $
2
3.if ${MACHINE} == "arm64" || ${MACHINE} == "armv7"
4
5PROG=	mkuboot
6SRCS=	mkuboot.c copy_elf32.c copy_elf64.c
7DPADD=	${LIBZ}
8LDADD=	-lz
9CFLAGS=	-DMACHINE_ARCH=\"${MACHINE_ARCH}\"
10
11.else
12
13NOPROG=yes
14
15.endif
16
17MAN=	mkuboot.8
18
19.include <bsd.prog.mk>
20