~ubuntu-branches/ubuntu/trusty/spim/trusty

« back to all changes in this revision

Viewing changes to xspim/Imakefile

  • Committer: Bazaar Package Importer
  • Author(s): Margarita Manterola
  • Date: 2006-09-26 12:19:11 UTC
  • mfrom: (1.1.4 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060926121911-m52sp1tfpkoy1rgx
Tags: 7.3-1
* QA upload.
* New upstream release
        - Fixes "hanging" when starting. (Closes: #369533)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
# Full path for the directory that will hold the executable files:
36
36
BIN_DIR = /usr/local/bin
37
37
 
 
38
# Full path for the directory that will hold the exception handler:
 
39
EXCEPTION_DIR = /usr/local/lib
 
40
 
38
41
# Full path for the directory that will hold the man files:
39
 
MAN_DIR = /usr/local/share/man1
 
42
MAN_DIR = /usr/man/mann
40
43
 
41
 
# Full path for the exception handler file:
42
 
#EXCEPTION_PATH = /usr/local/lib/exceptions.s
43
 
# Use this path for testing:
44
 
EXCEPTION_PATH = $(EXCEPTION_DIR)/exceptions.s
45
44
 
46
45
# If you have flex, use it instead of lex.  If you use flex, define this
47
46
# variable and set LEXFLAGS.
71
70
CPU_DIR = ../CPU
72
71
VPATH = src:$(CPU_DIR)
73
72
 
74
 
# Full path for directory that will hold the exception handler file:
75
 
EXCEPTION_DIR = ../CPU
 
73
# Path of directory that contains documentation:
 
74
DOC_DIR = ../Documentation
 
75
 
76
76
 
77
77
ENDIAN=`cat configuration`
78
78
 
95
95
 
96
96
INCLUDES = -I. -I$(CPU_DIR)
97
97
 
98
 
DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER=\"$(EXCEPTION_PATH)\" -DSPIM_VERSION="\"`cat ../VERSION`\""
 
98
DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER="\"$(EXCEPTION_DIR)/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\""
99
99
 
100
100
SYS_LIBRARIES = -lm
101
101
 
104
104
#
105
105
#  Program dependencies:
106
106
#
107
 
 
108
 
AllTarget(xspim)
109
 
 
110
 
xspim:  force
111
 
        @make xspim_sub
112
 
        mv xspim_sub xspim
 
107
AllTarget(ProgramTargetName(xspim))
 
108
NormalProgramTarget(xspim,$(XOBJS),$(DEPLIBS),$(LOCALLIBS),$(SYSLIBS))
113
109
 
114
110
force:  configuration
115
111
 
116
112
configuration:
117
113
        ./Configure
118
114
 
119
 
NormalProgramTarget(xspim_sub,$(XOBJS),$(DEPLIBS),$(LOCALLIBS),$(SYSLIBS))
120
 
 
121
115
InstallProgram(xspim,$(BIN_DIR))
122
 
InstallManPage(xspim,$(MAN_DIR))
123
 
InstallNonExec($(EXCEPTION_DIR)/exceptions.s,$(EXCEPTION_PATH))
 
116
InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR))
 
117
#InstallManPage($(DOC_DIR)/xspim,$(MAN_DIR))
124
118
 
125
119
 
126
120
y.tab.h: y.tab.c