aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-03-02 17:29:46 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-03-02 17:29:46 +0000
commit2c40e407a04de4d688a81c30faf5b97c9a46c85e (patch)
tree0d828982651fe0ec9ddcf864409ca53cba97982e /Makefile
parent81f6874112cd975f4ccfc08bb1768018e22b019c (diff)
downloadioquake3-aero-2c40e407a04de4d688a81c30faf5b97c9a46c85e.tar.gz
ioquake3-aero-2c40e407a04de4d688a81c30faf5b97c9a46c85e.zip
Makefile: Enable new sparc JIT on Linux.
Signed-off-by: David S. Miller <davem@davemloft.net> git-svn-id: svn://svn.icculus.org/quake3/trunk@1504 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6d702d4..2bbd5b6 100644
--- a/Makefile
+++ b/Makefile
@@ -283,6 +283,7 @@ ifeq ($(PLATFORM),linux)
endif
ifeq ($(ARCH),sparc)
OPTIMIZE += -mtune=ultrasparc3 -mv8plus
+ HAVE_VM_COMPILED=true
endif
endif
endif
@@ -1447,6 +1448,9 @@ ifeq ($(HAVE_VM_COMPILED),true)
ifeq ($(ARCH),ppc64)
Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
endif
+ ifeq ($(ARCH),sparc)
+ Q3OBJ += $(B)/client/vm_sparc.o
+ endif
endif
ifeq ($(PLATFORM),mingw32)
@@ -1593,6 +1597,9 @@ ifeq ($(HAVE_VM_COMPILED),true)
ifeq ($(ARCH),ppc64)
Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
endif
+ ifeq ($(ARCH),sparc)
+ Q3DOBJ += $(B)/ded/vm_sparc.o
+ endif
endif
ifeq ($(PLATFORM),mingw32)