pkgsrc/devel/yasm/Makefile

37 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2016/04/14 23:18:04 khorben Exp $
DISTNAME= yasm-1.3.0
CATEGORIES= devel
MASTER_SITES= http://www.tortall.net/projects/yasm/releases/
Update to 0.5.0, provided by the new maintainer, Shaun Amott, in PR 34190. New features in this release (compared to 0.5.0rc2): - Support for arithmetic on single-character constants. - Support for OUTPUT_FORMAT as an alias for YASM_OBJFMT. - A couple of other bugfixes. New features in this release (compared to 0.5.0rc1): - Support for CodeView 8.0 source debugging (as used by Visual Studio 2005). - Fixed -I support to properly handle relative paths (now the search pattern is essentially identical to most C compilers). This change is backwards incompatible (to both NASM and earlier Yasm versions), but is much more consistent. - Standard macros that provide version information: __YASM_MAJOR__, __YASM_MINOR__, __YASM_SUBMINOR__, __YASM_BUILD__, __YASM_VERSION_ID__ and __YASM_VER__. New features in this release (compared to 0.4.0) include: - Aliases for AMD64 object formats: "win64" and "elf64" (these automatically set the machine to "amd64"). - "x64" alias for Win64 object format (for easier use with Visual Studio). - DWARF2 debugging format (enable with "-g dwarf2"). - GAS parser good enough to take GCC output for both AMD64 and 32-bit x86 (including DWARF2 debug information). - Dozens of bugfixes in x86 and AMD64 support. - Specifying "amd64" as the machine (or using a 64-bit object format) automatically sets BITS 64. Known issues with this release include: - List output is buggy and often outright wrong. - The optimizer is a very basic 2-pass style and generates inefficient (large) code at times. - The binary object format does not yet support sections other than .text, .bss, and .data, unlike newer versions of NASM (see Trac bug #71).
2006-08-12 23:05:06 +02:00
MAINTAINER= shaun@inerd.com
HOMEPAGE= http://www.tortall.net/projects/yasm/
COMMENT= Complete rewrite of the NASM assembler with BSD license
LICENSE= modified-bsd AND (artistic OR gnu-gpl-v2 OR gnu-lgpl-v2)
USE_TOOLS+= msgfmt
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
TEST_TARGET= check
MAKE_FLAGS+= CFLAGS_FOR_BUILD=${CFLAGS:Q}
.include "../../mk/bsd.prefs.mk"
# Commit message suggests this is Darwin-specific. Won't work to
# cross-compile to Darwin, but that doesn't work at all anyway.
2016-02-25 13:12:47 +01:00
SUBST_CLASSES.Darwin+= link
SUBST_STAGE.link= pre-configure
SUBST_MESSAGE.link= Fix linking command.
SUBST_FILES.link= Makefile.in
SUBST_SED.link= -e 's,$$(CCLD_FOR_BUILD) -o $$@,$$(LINK) -o $$@,'
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
CONFIGURE_ENV+= CCLD_FOR_BUILD=${NATIVE_CC:Q}
.endif
2004-04-25 07:23:54 +02:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"