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