e0b865f56b
* Imported hqx filters. * Added debugger support. * Rendered screen is now scaled by a factor of 2 by default. * Fixed joystick issues. bool_joystick is also enabled by default. * DGen is now fully controllable from a joystick/joypad. * Imported Cyclone 68000 0.099, a M68K core written in pure ARM assembly. * Imported DrZ80, a Z80 core also written in pure ARM assembly. * Cyclone 68000 and DrZ80 are now the default CPU emulators on ARM. * Lots of bugfixes.
34 lines
883 B
Makefile
34 lines
883 B
Makefile
# $NetBSD: Makefile,v 1.21 2013/05/25 16:49:03 shattered Exp $
|
|
#
|
|
|
|
DISTNAME= dgen-sdl-1.32
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dgen/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://dgen.sourceforge.net/
|
|
COMMENT= Genesis/Megadrive emulator for Unix platforms
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
|
.endif
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-extra-opt
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-mpentium
|
|
BUILDLINK_TRANSFORM+= rm:-march=pentium
|
|
BUILDLINK_TRANSFORM+= rm:-fno-rtti
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(CC_VERSION:Mgcc-[34]*)
|
|
BUILDLINK_TRANSFORM+= 'opt:-m\(align-loops.*\):-f\1'
|
|
BUILDLINK_TRANSFORM+= 'opt:-m\(align-jumps.*\):-f\1'
|
|
BUILDLINK_TRANSFORM+= 'opt:-m\(align-functions.*\):-f\1'
|
|
.endif
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|