Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / powerpc / stand / mkbootimage / Makefile
blobad39b39edcc636fda6d2490bdb1a0274998b3963
1 # $NetBSD: Makefile,v 1.2 2008/04/30 21:15:33 garbled Exp $
3 BINDIR= /usr/mdec
4 PROG= mkbootimage
5 SRCS= mkbootimage.c byteorder.c
6 NOMAN= # defined
8 # We don't use libbfd, but we do use the BFD ELF header files because
9 # they are somewhat more portable than NetBSD's own elf.h.
10 BFDTOP= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
12 LIBSA=${.CURDIR}/../../../../lib/libsa
14 .PATH.c: ${LIBSA}
16 CPPFLAGS= -I${LIBSA} -I${.CURDIR} -I${BFDTOP}/include
17 CPPFLAGS+= -DATTRIBUTE_PACKED=
18 DPADD= ${LIBZ}
19 LDADD= -lz
21 .include <bsd.prog.mk>