1 # $NetBSD: Makefile,v 1.1 2007/12/18 18:19:07 garbled Exp $ 2 3 PROG= mkbootimage 4 SRCS= mkbootimage.c byteorder.c 5 NOMAN= # defined 6 7 # We don't use libbfd, but we do use the BFD ELF header files because 8 # they are somewhat more portable than NetBSD's own elf.h. 9 BFDTOP= ${NETBSDSRCDIR}/gnu/dist/binutils 10 11 LIBSA=${.CURDIR}/../../../../lib/libsa 12 13 .PATH.c: ${LIBSA} 14 15 CPPFLAGS= -I${LIBSA} -I${.CURDIR} -I${BFDTOP}/include 16 DPADD= ${LIBZ} 17 LDADD= -lz 18 19 .include <bsd.prog.mk> 20