pkgsrc/emulators/gxemul/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

Update to 0.6.2 * All pkgsrc patches are included by upstream or target files are removed. Changelog: The most important changes between release 0.6.1 and 0.6.2 are: When writing to mirrored RAM ranges, any dyntrans translations made in either the mirror or the mirrored ranges are now invalidated. This means that an emulated SGI O2 can now be used with up to 1 GB of RAM when running OpenBSD/sgi as a guest OS. Previously, 256 MB was the maximum amount of emulated RAM possible for the SGI O2. A fix 2018-06-13 (between 0.6.0.1 and 0.6.0.2) for translation invalidation when using larger than 4 KB pages, which made HelenOS/malta run further, caused a regression which broke NetBSD/hpcmips (on VR4121 CPUs, which have 1 KB native page size). A bit of cleanup seems to have fixed this, so that both NetBSD/hpcmips and HelenOS/malta work now. Cleanup: The MIPS processor emulation implemented in the "new framework", and the corresponding MIPS machine modes in the new framework, have been removed. (All meaningful MIPS emulation is in the old framework anyway.) Documentation updates: Each emulated machine now has a page of its own with the guest OSes or other software that may run in that mode, rather than just having a long unsorted list of guest OS installation instructions. Less focus on the "new framework", more focus on the old framework where things actually work. An introduction to using GXemul as a debugger. A general overhaul to remove old stuff, fix errors, and make things easier to read.
2019-08-23 15:13:49 +02:00
# $NetBSD: Makefile,v 1.67 2019/08/23 13:13:49 ryoon Exp $
Update to 0.6.2 * All pkgsrc patches are included by upstream or target files are removed. Changelog: The most important changes between release 0.6.1 and 0.6.2 are: When writing to mirrored RAM ranges, any dyntrans translations made in either the mirror or the mirrored ranges are now invalidated. This means that an emulated SGI O2 can now be used with up to 1 GB of RAM when running OpenBSD/sgi as a guest OS. Previously, 256 MB was the maximum amount of emulated RAM possible for the SGI O2. A fix 2018-06-13 (between 0.6.0.1 and 0.6.0.2) for translation invalidation when using larger than 4 KB pages, which made HelenOS/malta run further, caused a regression which broke NetBSD/hpcmips (on VR4121 CPUs, which have 1 KB native page size). A bit of cleanup seems to have fixed this, so that both NetBSD/hpcmips and HelenOS/malta work now. Cleanup: The MIPS processor emulation implemented in the "new framework", and the corresponding MIPS machine modes in the new framework, have been removed. (All meaningful MIPS emulation is in the old framework anyway.) Documentation updates: Each emulated machine now has a page of its own with the guest OSes or other software that may run in that mode, rather than just having a long unsorted list of guest OS installation instructions. Less focus on the "new framework", more focus on the old framework where things actually work. An introduction to using GXemul as a debugger. A general overhaul to remove old stuff, fix errors, and make things easier to read.
2019-08-23 15:13:49 +02:00
DISTNAME= gxemul-0.6.2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gxemul/}
2008-05-25 23:20:07 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gavare.se/gxemul/
COMMENT= Framework for full-system computer architecture emulation
2016-07-05 18:56:57 +02:00
LICENSE= modified-bsd
USE_TOOLS+= pax
USE_LANGUAGES= c c++
HAS_CONFIGURE= yes
BUILD_TARGET= build
LDFLAGS.SunOS+= -lsocket -lnsl
2012-06-23 21:23:32 +02:00
2008-01-03 20:58:38 +01:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
do-install:
2008-01-03 20:58:38 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.for f in README HISTORY LICENSE
2008-01-03 20:58:38 +01:00
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.endfor
cd ${WRKSRC}/doc && pax -rwppm . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
2005-05-31 13:21:41 +02:00
PKG_SUPPORTED_OPTIONS= x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
2005-05-31 13:21:41 +02:00
.if !empty(PKG_OPTIONS:Mx11)
GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
SUBST_CLASSES+= x11
SUBST_STAGE.x11= pre-configure
SUBST_FILES.x11= configure
2006-07-05 23:45:05 +02:00
SUBST_SED.x11= -e 's|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS:Q}|g'
SUBST_SED.x11+= -e 's|/usr/X11R6|${X11BASE}|g'
2006-03-06 23:03:46 +01:00
SUBST_MESSAGE.x11= Fixing X linking flags.
2007-02-07 21:00:49 +01:00
.include "../../x11/libX11/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"