blob: b56bd6ae7d7195cf9257debbe505f4e2c8185b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.12 2003/07/17 21:27:49 grant Exp $
DISTNAME= bfd-crunchide-1.1
WRKSRC= ${WRKDIR}
CATEGORIES= cross
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= sakamoto@NetBSD.org
COMMENT= crunchide using libbfd. Used for cross-building distributions
DEPENDS= cross-binutils>=2.9.1.1:../binutils
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
USE_CROSSBASE= yes
BFD_VERSION= 2.9.1
CPPFLAGS+= -I${PREFIX}/include
MAKE_ENV+= BFD_VERSION=${BFD_VERSION} \
LIBS="${BFD_LIBS}"
FIX_RPATH+= BFD_LIBS
BFD_LIBS= -L${PREFIX}/lib -Wl,${RPATH_FLAG}${PREFIX}/lib -lbfd-${BFD_VERSION} -liberty
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${FILESDIR}/Makefile ${FILESDIR}/crunchide.1 ${FILESDIR}/crunchide.c \
${WRKSRC}
pre-install:
@if [ ! -d ${PREFIX}/bin ]; then ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin; fi
.include "../../mk/bsd.pkg.mk"
|