2017-06-01 00:14:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2017/05/31 22:14:43 agc Exp $
|
Initial import of elftoolchain-0.5.1 into the packages collection.
A BSD-licensed implementation of compilation tools (nm, ar,
as, ld, etc.) for the ELF object format.
This release contains BSD-licensed implementations of the
"libdwarf" and "libelf" libraries, and of the "addr2line",
"ar", "brandelf", "c++filt", "elfcopy", "elfdump",
"findtextrel", "mcs", "nm", "ranlib", "readelf", "size",
"strings" and "strip" program development utilities. The
release also contains API and utility reference documentation
(300+ manual entries in all), and contains test suites for
some of these released utilities and libraries.
With thanks to jkoshy for all the help.
2011-11-20 07:25:17 +01:00
|
|
|
|
|
|
|
DISTNAME= elftoolchain-0.5.1
|
2011-11-26 16:50:27 +01:00
|
|
|
PKGREVISION= 1
|
Initial import of elftoolchain-0.5.1 into the packages collection.
A BSD-licensed implementation of compilation tools (nm, ar,
as, ld, etc.) for the ELF object format.
This release contains BSD-licensed implementations of the
"libdwarf" and "libelf" libraries, and of the "addr2line",
"ar", "brandelf", "c++filt", "elfcopy", "elfdump",
"findtextrel", "mcs", "nm", "ranlib", "readelf", "size",
"strings" and "strip" program development utilities. The
release also contains API and utility reference documentation
(300+ manual entries in all), and contains test suites for
some of these released utilities and libraries.
With thanks to jkoshy for all the help.
2011-11-20 07:25:17 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=elftoolchain/${DISTNAME}/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
|
|
HOMEPAGE= http://elftoolchain.sourceforge.net/
|
|
|
|
COMMENT= Compilation tools (nm, ar, as, ld, etc.) for the ELF object format
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
CONFLICTS= libelf-[0-9]*
|
|
|
|
|
2016-05-14 10:29:37 +02:00
|
|
|
NOT_FOR_PLATFORM= Darwin-*-*
|
|
|
|
|
2011-11-25 22:39:07 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
Initial import of elftoolchain-0.5.1 into the packages collection.
A BSD-licensed implementation of compilation tools (nm, ar,
as, ld, etc.) for the ELF object format.
This release contains BSD-licensed implementations of the
"libdwarf" and "libelf" libraries, and of the "addr2line",
"ar", "brandelf", "c++filt", "elfcopy", "elfdump",
"findtextrel", "mcs", "nm", "ranlib", "readelf", "size",
"strings" and "strip" program development utilities. The
release also contains API and utility reference documentation
(300+ manual entries in all), and contains test suites for
some of these released utilities and libraries.
With thanks to jkoshy for all the help.
2011-11-20 07:25:17 +01:00
|
|
|
USE_BSD_MAKEFILE= yes
|
2017-06-01 00:14:43 +02:00
|
|
|
USE_TOOLS+= m4 lex
|
Initial import of elftoolchain-0.5.1 into the packages collection.
A BSD-licensed implementation of compilation tools (nm, ar,
as, ld, etc.) for the ELF object format.
This release contains BSD-licensed implementations of the
"libdwarf" and "libelf" libraries, and of the "addr2line",
"ar", "brandelf", "c++filt", "elfcopy", "elfdump",
"findtextrel", "mcs", "nm", "ranlib", "readelf", "size",
"strings" and "strip" program development utilities. The
release also contains API and utility reference documentation
(300+ manual entries in all), and contains test suites for
some of these released utilities and libraries.
With thanks to jkoshy for all the help.
2011-11-20 07:25:17 +01:00
|
|
|
MAKE_ENV+= ${BSD_MAKE_ENV}
|
2011-11-26 20:59:58 +01:00
|
|
|
MAKE_FLAGS+= MKPROFILE=yes
|
Initial import of elftoolchain-0.5.1 into the packages collection.
A BSD-licensed implementation of compilation tools (nm, ar,
as, ld, etc.) for the ELF object format.
This release contains BSD-licensed implementations of the
"libdwarf" and "libelf" libraries, and of the "addr2line",
"ar", "brandelf", "c++filt", "elfcopy", "elfdump",
"findtextrel", "mcs", "nm", "ranlib", "readelf", "size",
"strings" and "strip" program development utilities. The
release also contains API and utility reference documentation
(300+ manual entries in all), and contains test suites for
some of these released utilities and libraries.
With thanks to jkoshy for all the help.
2011-11-20 07:25:17 +01:00
|
|
|
|
2016-05-07 11:52:44 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mgcc)
|
|
|
|
CWARNFLAGS+= -Wno-error=sign-conversion \
|
|
|
|
-Wno-error=conversion \
|
|
|
|
-Wno-error=unused-but-set-variable \
|
|
|
|
-Wno-error=old-style-definition
|
|
|
|
.elif !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
CWARNFLAGS+= -Wno-error=missing-noreturn \
|
2014-04-17 22:17:52 +02:00
|
|
|
-Wno-error=constant-logical-operand \
|
2014-12-11 00:22:05 +01:00
|
|
|
-Wno-error=conversion -Wno-error=cast-qual
|
2016-05-07 11:52:44 +02:00
|
|
|
.endif
|
|
|
|
MAKE_FLAGS+= CWARNFLAGS=${CWARNFLAGS:Q}
|
2013-09-10 16:16:52 +02:00
|
|
|
|
Initial import of elftoolchain-0.5.1 into the packages collection.
A BSD-licensed implementation of compilation tools (nm, ar,
as, ld, etc.) for the ELF object format.
This release contains BSD-licensed implementations of the
"libdwarf" and "libelf" libraries, and of the "addr2line",
"ar", "brandelf", "c++filt", "elfcopy", "elfdump",
"findtextrel", "mcs", "nm", "ranlib", "readelf", "size",
"strings" and "strip" program development utilities. The
release also contains API and utility reference documentation
(300+ manual entries in all), and contains test suites for
some of these released utilities and libraries.
With thanks to jkoshy for all the help.
2011-11-20 07:25:17 +01:00
|
|
|
INSTALLATION_DIRS= bin lib
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1 ${PKGMANDIR}/html1
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man3 ${PKGMANDIR}/cat3 ${PKGMANDIR}/html3
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man5 ${PKGMANDIR}/cat5 ${PKGMANDIR}/html5
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|