From 0c2518864309e140a5dbf7992ec6018c5ea87f4d Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 30 Mar 2005 00:30:44 +0000 Subject: Initial import of gxemul-20050329. GXemul is a machine emulator. The initial goal was to write a simple 64-bit MIPS emulator for running multiprocessor experiments with a microkernel, but the emulator can be used for many other things. While some simulators only simulate a CPU, GXemul also simulates other hardware components, making it possible to use the emulator to run unmodified operating systems, such as NetBSD, OpenBSD, or Linux. [previously known as mips64emul, it was renamed because now supports more cpu archs than MIPS, as sparc, ppc...] --- emulators/gxemul/DESCR | 6 ++++++ emulators/gxemul/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ emulators/gxemul/PLIST | 31 +++++++++++++++++++++++++++++++ emulators/gxemul/distinfo | 5 +++++ 4 files changed, 87 insertions(+) create mode 100644 emulators/gxemul/DESCR create mode 100644 emulators/gxemul/Makefile create mode 100644 emulators/gxemul/PLIST create mode 100644 emulators/gxemul/distinfo diff --git a/emulators/gxemul/DESCR b/emulators/gxemul/DESCR new file mode 100644 index 00000000000..8ef0c801333 --- /dev/null +++ b/emulators/gxemul/DESCR @@ -0,0 +1,6 @@ +GXemul is a machine emulator. The initial goal was to write a simple +64-bit MIPS emulator for running multiprocessor experiments with a +microkernel, but the emulator can be used for many other things. While +some simulators only simulate a CPU, GXemul also simulates other +hardware components, making it possible to use the emulator to run +unmodified operating systems, such as NetBSD, OpenBSD, or Linux. diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile new file mode 100644 index 00000000000..262279797f7 --- /dev/null +++ b/emulators/gxemul/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/30 00:30:44 xtraeme Exp $ +# + +DISTNAME= gxemul-20050329 +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_BUILDLINK3= yes +HAS_CONFIGURE= yes + +INSTALLATION_DIRS= bin share/doc/${PKGBASE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${PREFIX}/man/man1 +.for f in README HISTORY BUGS TODO RELEASE LICENSE + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE} +.endfor + ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/doc/*.c ${PREFIX}/share/doc/${PKGBASE} + +PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul +PKG_SUPPORTED_OPTIONS= X11 +PKG_DEFAULT_OPTIONS?= X11 +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:MX11) +USE_X11= yes +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}|g" \ + -e "s|/usr/X11R6|${X11BASE}|g" +SUBST_MESSAGE.x11= "Fixing X linking flags." +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/gxemul/PLIST b/emulators/gxemul/PLIST new file mode 100644 index 00000000000..80fe727a874 --- /dev/null +++ b/emulators/gxemul/PLIST @@ -0,0 +1,31 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/30 00:30:44 xtraeme Exp $ +bin/gxemul +man/man1/gxemul.1 +share/doc/gxemul/20041024-netbsd-arc-installed.gif +share/doc/gxemul/20041024-netbsd-arc-installed_small.gif +share/doc/gxemul/20041024-openbsd-arc-installed.gif +share/doc/gxemul/20041024-openbsd-arc-installed_small.gif +share/doc/gxemul/20041129-redhat_mips.png +share/doc/gxemul/20041129-redhat_mips_small.png +share/doc/gxemul/20041213-debian_4.png +share/doc/gxemul/20041213-debian_4_small.gif +share/doc/gxemul/20050329-netbsd-hpcmips-6.png +share/doc/gxemul/20050329-netbsd-hpcmips-6_small.png +share/doc/gxemul/BUGS +share/doc/gxemul/HISTORY +share/doc/gxemul/LICENSE +share/doc/gxemul/README +share/doc/gxemul/RELEASE +share/doc/gxemul/TODO +share/doc/gxemul/hello_mips.c +share/doc/gxemul/hello_ppc.c +share/doc/gxemul/maddr.gif +share/doc/gxemul/netbsd-pmax-20040630.png +share/doc/gxemul/netbsd-pmax-20040630_small.png +share/doc/gxemul/openbsd-pmax-20040710.png +share/doc/gxemul/openbsd-pmax-20040710_small.png +share/doc/gxemul/sprite-20040711.png +share/doc/gxemul/sprite-20040711_small.png +share/doc/gxemul/ultrix4.5-20040706.png +share/doc/gxemul/ultrix4.5-20040706_small.gif +@dirrm share/doc/gxemul diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo new file mode 100644 index 00000000000..15d6ddafc9b --- /dev/null +++ b/emulators/gxemul/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/30 00:30:44 xtraeme Exp $ + +SHA1 (gxemul-20050329.tar.gz) = 3925c60788a5fdd5f22f75c2571978790afb4d8b +RMD160 (gxemul-20050329.tar.gz) = d80974bc6d493971c7bd755bb8b39124da8b3b0a +Size (gxemul-20050329.tar.gz) = 964206 bytes -- cgit v1.2.3