0070e46870
The changes between release 0.4.5.1 and 0.4.6 include, among other things: o) NetBSD/pmppc can now run in the emulator (with root-on-nfs), on an emulated Artesyn PM/PPC board. o) An instruction combination has been implemented for the idle loop used by NetBSD/arm (cats, netwinder, and iq80321). In plain English, this means that if the guest OS inside the emulator is not using any CPU, the emulator should not use much CPU on the host either. o) Some minor SuperH emulation speed improvements. o) General code cleanup: Non-working (skeleton) emulation modes have been removed, to make it easier to maintain the source code in the long run, and many unused/legacy constructs have been removed.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2007/06/16 18:15:16 xtraeme Exp $
|
|
#
|
|
|
|
DISTNAME= gxemul-0.4.6
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://gavare.se/gxemul/src/
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
HOMEPAGE= http://gavare.se/gxemul/
|
|
COMMENT= Machine emulator
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LANGUAGES= c
|
|
HAS_CONFIGURE= yes
|
|
BUILD_TARGET= build
|
|
|
|
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
.for f in README HISTORY TODO RELEASE LICENSE
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
|
|
.endfor
|
|
cd ${WRKSRC}/doc && ${PAX} -rwppm . ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
|
|
SUBST_CLASSES+= x11
|
|
SUBST_STAGE.x11= post-patch
|
|
SUBST_FILES.x11= configure
|
|
SUBST_SED.x11= -e 's|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS:Q}|g'
|
|
SUBST_SED.x11+= -e 's|/usr/X11R6|${X11BASE}|g'
|
|
SUBST_MESSAGE.x11= Fixing X linking flags.
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|