pkgsrc/emulators/spim/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2003-07-17 23:31:04 +02:00
# $NetBSD: Makefile,v 1.16 2003/07/17 21:35:45 grant Exp $
# FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:35 obrien Exp
#
DISTNAME= spim
PKGNAME= spim-6.5
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= emulators
Upgrade to 6.4 Changes from 6.3: - PCSpim no longer shifts the focus of the register and data segments when values change. - fixed bug in the expansion of USH pseudo-op. - Add system calls for open, close, read, and write. - Fixed the Configure file to work with Mac OSX. - Made the REM pseudo-op require 3 arguments. - Fixed PCSpim dumping code to dump contents of console window. - Treat LUI's immediate value as unsigned, as it is not sign extended. - More error checking for malformed programs. - Make symbol "main" as global. - Avoid clearing last few bytes of data segments when they expand. - Check that high-order 4 bits in jump instruction's PC match bits in target PC. Changes from 6.2: - PCSpim interface simplified to 4 fixed panes, similar to xspim, which permit cut and paste. - PCSpim console stays on the screen after assembly program terminates. - Comments in assembly source displayed in text segment. - NOP is standardized to sll $0 $0 0 (= 0x00000000) - Fixed several bugs and missed optimization in computing immediate values in lw/sw instruction sequences. - High 2 bits in negative branch offsets were incorrect. - Display floating point registers with up to 18 digits of precision. - New spim command (print_all_regs) prints all registers. - Minor changes to compile spim under cygwin for Windows. - Validate the range of immediate values in MIPS (but not pseudo) instructions. - Fixed display of stack with non-word aligned $sp. - New flags: * -delayed-branches Simulate MIPS delayed control transfers for branches, jumps, and calls * -delayed-loads Simulate MIPS non-interlocked loads. (approved by hubertf)
2002-04-29 19:17:42 +02:00
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/ \
ftp://ftp.cs.wisc.edu/pub/spim/
2003-07-17 23:31:04 +02:00
MAINTAINER= deberg@NetBSD.org
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
COMMENT= MIPS R2000 Simulator
DIST_SUBDIR= ${PKGNAME}
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
USE_IMAKE= yes
XMKMF= ${X11BASE}/bin/xmkmf # don't specify -a option
ALL_TARGET= y.tab.c depend spim xspim
pre-configure:
@${RM} -f ${WRKSRC}/y.tab.*
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/spim
${CHMOD} a+rx ${PREFIX}/share/spim
post-install:
@${ECHO} "Installing spim/xspim documentation"
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spim \
&& ${CHMOD} a+rx ${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \
${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
${PREFIX}/share/doc/spim
${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps
.include "../../mk/bsd.pkg.mk"