[Freeswitch-svn] [commit] r4554 - freeswitch/trunk/src/mod/codecs/mod_gsm

Freeswitch SVN mikej at freeswitch.org
Sun Mar 11 11:03:46 EDT 2007


Author: mikej
Date: Sun Mar 11 11:03:46 2007
New Revision: 4554

Modified:
   freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile

Log:
mod_gsm needs to find it's lib and headers, no need to install

Modified: freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile	Sun Mar 11 11:03:46 2007
@@ -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)
 
@@ -6,12 +7,11 @@
 	cd $(BASE)/libs/codec/gsm && $(MAKE)
 
 $(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)
 
 clean:
 	rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ .libs
 
 install:
-	cd $(BASE)/libs/codec/gsm && $(MAKE) install
 	$(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod



More information about the Freeswitch-svn mailing list