xa is a high-speed, two-pass portable cross-assembler. It understands mnemonics and generates code for NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), CMOS 6502s (65C02 and Rockwell R65C02) and the 65816. Key features: - C-like preprocessor (and understands cpp for additional feature support) - Rich expression syntax and pseudo-op vocabulary - Multiple character sets - Binary linking - Supports o65 relocatable objects with a full linker and relocation suite, as well as "bare" plain binary object files block structure for label scoping OK bcallah@, sthen@
31 lines
688 B
Makefile
31 lines
688 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2018/07/09 13:54:58 fcambus Exp $
|
|
|
|
COMMENT = portable cross-assembler for MOS 6502 processors
|
|
|
|
DISTNAME = xa-2.3.8
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://www.floodgap.com/retrotech/xa/
|
|
|
|
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES = https://www.floodgap.com/retrotech/xa/dists/
|
|
|
|
FIX_EXTRACT_PERMISSIONS = Yes
|
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
|
|
|
|
do-install:
|
|
.for f in file65 ldo65 printcbm reloc65 uncpk xa
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/man/${f}.1 ${PREFIX}/man/man1
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|