[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / libretro-nxengine

File: [cvs.NetBSD.org] / pkgsrc / games / libretro-nxengine / Makefile (download)

Revision 1.7, Mon Nov 21 18:20:42 2022 UTC (2 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.6: +2 -1 lines

*: Re-apply SunOS linker argument removals.

These are currently duplicated in mk/platform/SunOS.mk but the generic
removals will be removed soon in favour of per-package removals, due to
flags getting leaked into installed files.

# $NetBSD: Makefile,v 1.7 2022/11/21 18:20:42 jperkin Exp $

DISTNAME=	libretro-nxengine-20200109
CATEGORIES=	games
GITHUB_PROJECT=	nxengine-libretro
GITHUB_TAG=	f39250e54f20c616dd4403cb8d4cab14032530b5

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://docs.libretro.com/library/nxengine/
COMMENT=	Libretro core based on the NXEngine game engine for Cave Story
LICENSE=	gnu-gpl-v3

USE_LANGUAGES=	c c++
LIBRETRO_CORE=	nxengine

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} != "x86_64"
MAKE_FLAGS+=	SINGLE_PRECISION_FLOATS=1
MAKE_FLAGS+=	MIN_AUDIO_PROCESSING_PER_FRAME=1
.endif

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,-no-undefined
BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--version-script=nxengine/libretro/link.T

.include "../../emulators/retroarch/core.mk"
.include "../../mk/bsd.pkg.mk"