diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-05-22 00:49:37 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-05-22 00:49:37 +0000 |
commit | 445b5c3a24799cd5ab9a064de468972dc4aa4bdf (patch) | |
tree | a92f5bfc1c350d556de8a5404303867f8d27aa88 /emulators/spim/files/patch-spim_Makefile | |
parent | - Update to 1.8 (diff) |
- Update to 7.3
PR: 123871
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=213505
Diffstat (limited to 'emulators/spim/files/patch-spim_Makefile')
-rw-r--r-- | emulators/spim/files/patch-spim_Makefile | 43 |
1 files changed, 14 insertions, 29 deletions
diff --git a/emulators/spim/files/patch-spim_Makefile b/emulators/spim/files/patch-spim_Makefile index e9aa25f973bd..349e07f8532d 100644 --- a/emulators/spim/files/patch-spim_Makefile +++ b/emulators/spim/files/patch-spim_Makefile @@ -1,28 +1,25 @@ ---- spim/Makefile.orig Mon Aug 29 02:28:14 2005 -+++ spim/Makefile Mon Jul 17 14:46:59 2006 -@@ -46,16 +46,16 @@ - VPATH = src:$(CPU_DIR) +--- spim/Makefile.orig 2006-08-29 11:23:19.000000000 +0900 ++++ spim/Makefile 2008-04-23 01:36:01.000000000 +0900 +@@ -54,13 +54,13 @@ - # Full path for directory that will hold the exception handler file: --EXCEPTION_DIR = ../CPU -+EXCEPTION_DIR = ${PREFIX}/share/spim - - # Path of directory that contains SPIM tests: - TEST_DIR = ../Tests # Full path for the directory that will hold the executable files: --BIN_DIR = /usr/unsup/bin +-BIN_DIR = /usr/local/bin +BIN_DIR = ${PREFIX}/bin + # Full path for the directory that will hold the exception handler: +-EXCEPTION_DIR = /usr/local/lib ++EXCEPTION_DIR = ${PREFIX}/share/spim + # Full path for the directory that will hold the man files: --MAN_DIR = /usr/unsup/man +-MAN_DIR = /usr/man/mann +MAN_DIR = ${PREFIX}/man/man1 - # Full path for the exception handler file: -@@ -90,12 +90,12 @@ + # If you have flex, use it instead of lex. If you use flex, define this +@@ -92,12 +92,12 @@ - DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER=$(EXCEPTION_PATH) -DSPIM_VERSION="\"`cat ../VERSION`\"" + DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER="\"$(EXCEPTION_DIR)/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -CC = gcc -CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall @@ -37,7 +34,7 @@ # lex.yy.c is usually compiled with -O to speed it up. -@@ -108,10 +108,10 @@ +@@ -110,10 +110,10 @@ spim: force @@ -50,19 +47,7 @@ force: configuration -@@ -176,8 +176,9 @@ - - install: spim - install -c -s spim $(BIN_DIR) -- install -c -m 0444 exceptions.s $(EXCEPTION_DIR) -- install -c -m 0444 spim.man $(MAN_DIR) -+ mkdir -p $(EXCEPTION_DIR) -+ install -c -m 0444 $(CPU_DIR)/exceptions.s $(EXCEPTION_DIR) -+ install -c -m 0444 ../Documentation/spim.man $(MAN_DIR)/spim.1 - - very-clean: clean - rm -f configuration -@@ -195,7 +196,7 @@ +@@ -196,7 +196,7 @@ y.tab.h: y.tab.c y.tab.c: $(CPU_DIR)/parser.y |