mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
move mod_voipcodecs to use spandsp instead of libvoipcodecs (windows build to follow)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15036 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
938ab67a2f
commit
cf23296c9a
2 files changed
+112
-44
No files matched your search
@@ -1,13 +1,28 @@
|
||||
BASE=../../../..
|
||||
|
||||
VOIPCODECS_DIR=$(BASE)/libs/voipcodecs
|
||||
VOIPCODECS_LA=$(VOIPCODECS_DIR)/src/libvoipcodecs.la
|
||||
TIFF_DIR=$(BASE)/libs/tiff-3.8.2
|
||||
TIFF_LA=$(TIFF_DIR)/libtiff/libtiff.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(VOIPCODECS_DIR)/src
|
||||
LOCAL_LIBADD=$(VOIPCODECS_LA)
|
||||
SPANDSP_DIR=$(BASE)/libs/spandsp
|
||||
SPANDSP_LA=$(SPANDSP_DIR)/src/libspandsp.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(SPANDSP_DIR)/src -I$(TIFF_DIR)/libtiff
|
||||
LOCAL_LIBADD=$(SPANDSP_LA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(VOIPCODECS_LA): $(VOIPCODECS_DIR) $(VOIPCODECS_DIR)/.update
|
||||
cd $(VOIPCODECS_DIR) && $(MAKE)
|
||||
$(SPANDSP_LA): $(TIFF_LA) $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
|
||||
cd $(SPANDSP_DIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
$(TIFF_LA): $(TIFF_DIR) $(TIFF_DIR)/.update
|
||||
cd $(TIFF_DIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
|
||||
depend_install: $(DESTDIR)$(libdir)/libspandsp.la
|
||||
|
||||
$(DESTDIR)$(libdir)/libspandsp.la: $(SPANDSP_LA)
|
||||
cd $(SPANDSP_DIR) && $(MAKE) install
|
||||
|
||||
|
||||
Reference in new issue
Block a user