1 --- asterisk-1.0.9.org/codecs/gsm/Makefile 2005-06-21 16:27:28.000000000 +0200
2 +++ asterisk-1.0.9/codecs/gsm/Makefile 2005-08-14 21:47:10.000000000 +0200
4 ######### ppro's, etc, as well as the AMD K6 and K7. The compile will
5 ######### probably require gcc.
7 -ifneq (${OSARCH},Darwin)
8 -ifneq (${PROC},x86_64)
9 -ifneq (${PROC},ultrasparc)
10 -ifneq ($(shell uname -m),ppc)
11 -ifneq ($(shell uname -m),alpha)
12 -ifneq ($(shell uname -m),armv4l)
13 -ifneq (${PROC},sparc64)
15 -ifneq (${PROC},ppc64)
16 -OPTIMIZE+=-march=$(PROC)
27 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
28 #This works for even old (2.96) versions of gcc and provides a small boost either way.
29 #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn't support it.
34 -ifeq (${OSARCH},Linux)
35 -ifneq ($(shell uname -m),x86_64)
36 -ifneq ($(shell uname -m),ppc)
37 -ifneq ($(shell uname -m),alpha)
38 -ifneq ($(shell uname -m),armv4l)
39 -ifneq ($(shell uname -m),sparc64)
40 -GSM_SOURCES+= $(SRC)/k6opt.s
48 TOAST_SOURCES = $(SRC)/toast.c \
54 -ifeq (${OSARCH},Linux)
55 -ifneq ($(shell uname -m), x86_64)
56 -ifneq ($(shell uname -m), ppc)
57 -ifneq ($(shell uname -m), alpha)
58 -ifneq ($(shell uname -m), armv4l)
59 -ifneq ($(shell uname -m), sparc64)
60 -GSM_OBJECTS+= $(SRC)/k6opt.o
68 TOAST_OBJECTS = $(SRC)/toast.o \