[Asterisk-cvs] asterisk/codecs/gsm Makefile,1.15,1.16
markster at lists.digium.com
markster at lists.digium.com
Mon Aug 30 23:28:31 CDT 2004
Update of /usr/cvsroot/asterisk/codecs/gsm
In directory mongoose.digium.com:/tmp/cvs-serv28445/codecs/gsm
Modified Files:
Makefile
Log Message:
Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319)
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/Makefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Makefile 22 Jun 2004 17:42:13 -0000 1.15
+++ Makefile 31 Aug 2004 03:31:59 -0000 1.16
@@ -39,6 +39,7 @@
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
PG =
#PG = -g -pg
@@ -203,7 +205,9 @@
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 @@
$(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
More information about the svn-commits
mailing list