fix makefiles

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3671 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-12-15 17:24:42 +00:00
parent d06a2c7e0a
commit 44e41159a0
3 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
ifeq ($(shell ls $(BASE)/libs/libg723_1),$(BASE)/libs/libg723_1)
ifeq ($(shell ls -d $(BASE)/libs/libg723_1),$(BASE)/libs/libg723_1)
CFLAGS += -I$(PREFIX)/include/g723
LDFLAGS +=-lg723
CFLAGS += -I$(PREFIX)/include/libg723_1
LDFLAGS +=-lg723_1
else

View File

@ -34,7 +34,7 @@
#include "switch.h"
#ifndef G723_PASSTHROUGH
#include "g723.h"
#include "g723_1.h"
#define TYPE_HIGH 0x0
#define TYPE_LOW 0x1

View File

@ -1,6 +1,6 @@
ifeq ($(shell ls $(BASE)/libs/libg729),$(BASE)/libs/libg729)
ifeq ($(shell ls -d $(BASE)/libs/libg729),$(BASE)/libs/libg729)
CFLAGS += -I$(PREFIX)/include/g729
CFLAGS += -I$(PREFIX)/include/libg729
LDFLAGS +=-lg729
else
@ -12,7 +12,6 @@ endif
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
depends:
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install codec/libg729 --prefix=$(PREFIX)
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o