diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 03:31:59 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 03:31:59 +0000 |
commit | 3f5d756338caeffa1b0bdb98a79ad5feb914cfe1 (patch) | |
tree | 489844c86c78613bfbbd1084ff82dbff1c48ff7d /codecs/gsm/Makefile | |
parent | 2efdde182aed1cdcdf0541802f9c55b91b90af5f (diff) |
Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3684 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/gsm/Makefile')
-rwxr-xr-x | codecs/gsm/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 9105ef4f3..572f61e12 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -39,6 +39,7 @@ WAV49 = -DWAV49 ifneq (${OSARCH},Darwin) ifneq (${PROC},x86_64) +ifneq (${PROC},ultrasparc) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),alpha) OPTIMIZE+=-march=$(PROC) @@ -46,6 +47,7 @@ endif endif endif endif +endif PG = #PG = -g -pg @@ -203,7 +205,9 @@ ifeq (${OSARCH},Linux) ifneq ($(shell uname -m),x86_64) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),alpha) -GSM_SOURCES+= $(SRC)/k6opt.s +ifneq ($(shell uname -m),sparc64) +GSM_SOURCES+= $(SRC)/k6opt.s +endif endif endif endif @@ -252,11 +256,14 @@ GSM_OBJECTS = $(SRC)/add.o \ $(SRC)/gsm_option.o \ $(SRC)/short_term.o \ $(SRC)/table.o + ifeq (${OSARCH},Linux) ifneq ($(shell uname -m), x86_64) ifneq ($(shell uname -m), ppc) ifneq ($(shell uname -m), alpha) -GSM_OBJECTS+= $(SRC)/k6opt.o +ifneq ($(shell uname -m), sparc64) +GSM_OBJECTS+= $(SRC)/k6opt.o +endif endif endif endif |