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