integrate in-tree libzrtp into the build system

Thanks to Ken Rice for working with me late into the night to get this
done.
This commit is contained in:
Travis Cross
2012-04-05 04:10:55 +00:00
parent 9e25cc2c0f
commit 393b63b7bd
3 changed files with 13 additions and 9 deletions
+8 -1
View File
@@ -147,7 +147,11 @@ libfreeswitch_la_LDFLAGS += $(ODBC_LIB_FLAGS)
endif
if ENABLE_ZRTP
libfreeswitch_la_LDFLAGS += -lzrtp -lbn
CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/third_party/bgaes
CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/third_party/bnlib
CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/include
libfreeswitch_la_LDFLAGS += -Llibs/libzrtp/third_party/bnlib -lbn -Llibs/libzrtp/projects/gnu/build -lzrtp
CORE_LIBS += libs/libzrtp/projects/gnu/libzrtp.a
endif
library_includedir = $(includedir)
@@ -460,6 +464,9 @@ libs/srtp/libsrtp.la: libs/srtp libs/srtp/.update
@cd libs/srtp && $(MAKE)
@$(TOUCH_TARGET)
libs/libzrtp/projects/gnu/libzrtp.a: libs/libzrtp libs/libzrtp/projects/gnu/.update
@cd libs/libzrtp/projects/gnu && $(MAKE)
@$(TOUCH_TARGET)
##
## helper targets