Home | History | Annotate | Line # | Download | only in mkbootimage
Makefile revision 1.4.18.1
      1  1.4.18.1    rmind #	$NetBSD: Makefile,v 1.4.18.1 2013/08/28 23:59:20 rmind Exp $
      2       1.1  garbled 
      3       1.2  garbled BINDIR=	/usr/mdec
      4       1.1  garbled PROG=	mkbootimage
      5       1.1  garbled SRCS=	mkbootimage.c byteorder.c
      6       1.1  garbled NOMAN=	# defined
      7       1.1  garbled 
      8       1.1  garbled # We don't use libbfd, but we do use the BFD ELF header files because
      9       1.1  garbled # they are somewhat more portable than NetBSD's own elf.h.
     10       1.3    skrll BFDTOP=	${NETBSDSRCDIR}/external/gpl3/binutils/dist
     11       1.1  garbled 
     12       1.1  garbled LIBSA=${.CURDIR}/../../../../lib/libsa
     13       1.1  garbled 
     14       1.1  garbled .PATH.c: ${LIBSA}
     15       1.1  garbled 
     16       1.1  garbled CPPFLAGS= -I${LIBSA} -I${.CURDIR} -I${BFDTOP}/include
     17       1.3    skrll CPPFLAGS+=	-DATTRIBUTE_PACKED=
     18  1.4.18.1    rmind .if !defined(HOSTPROGNAME)
     19       1.4    joerg DPADD+=	${LIBZ}
     20  1.4.18.1    rmind .endif
     21       1.4    joerg LDADD+=	-lz
     22       1.1  garbled 
     23       1.1  garbled .include <bsd.prog.mk>
     24