mips64emul is a MIPS machine emulator. The goals are to emulate 32-bit and 64-bit MIPS CPUs and enough surrounding hardware to fake real machines, capable of running real (unmodified) operating systems, such as NetBSD or Linux.
35 lines
890 B
Makefile
35 lines
890 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/05/08 22:26:18 xtraeme Exp $
|
|
#
|
|
|
|
DISTNAME= mips64emul-current
|
|
PKGNAME= mips64emul-${DIST_VER}
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.mdstud.chalmers.se/~md1gavan/mips64emul/src/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.mdstud.chalmers.se/~md1gavan/mips64emul/
|
|
COMMENT= MIPS 32/64-bit emulator
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_X11= yes
|
|
HAS_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}/mips64emul-${DIST_VER}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
DIST_VER= 20040507
|
|
#DIST_VER!= ${DATE} +%Y%m%d
|
|
|
|
GLOBAL_LDFLAGS= -L${X11BASE}/lib \
|
|
${_COMPILER_LD_FLAG}${RPATH_FLAG}${X11BASE}/lib
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mips64emul ${PREFIX}/bin
|
|
|
|
SUBST_CLASSES= x11
|
|
SUBST_STAGE.x11= post-patch
|
|
SUBST_FILES.x11= configure
|
|
SUBST_SED.x11= -e "s|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS}|g"
|
|
SUBST_MESSAGE.x11= "Fixing linking flags."
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|