mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-25 11:16:04 +00:00
mod_gsm needs to find it's lib and headers, no need to install
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4554 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0416861224
commit
c057f720d6
@ -1,4 +1,5 @@
|
|||||||
LDFLAGS +=-lgsm
|
LDFLAGS += $(BASE)/libs/codec/gsm/libgsm.la
|
||||||
|
CFLAGS += -I$(BASE)/libs/codec/gsm/inc
|
||||||
|
|
||||||
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
||||||
|
|
||||||
@ -6,12 +7,11 @@ depends:
|
|||||||
cd $(BASE)/libs/codec/gsm && $(MAKE)
|
cd $(BASE)/libs/codec/gsm && $(MAKE)
|
||||||
|
|
||||||
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
|
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
$(CC) $(CFLAGS) -c $(MODNAME).c -o $(MODNAME).o
|
||||||
$(LINK) $(SOLINK) -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(MODNAME).o $(LDFLAGS)
|
$(LINK) $(SOLINK) -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(MODNAME).o $(LDFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ .libs
|
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ .libs
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd $(BASE)/libs/codec/gsm && $(MAKE) install
|
|
||||||
$(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod
|
$(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user