Skip to content
Snippets Groups Projects
Commit 5599da95 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

support new version of OSP toolkit (issue #5168)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d612e3bc
No related branches found
No related tags found
No related merge requests found
...@@ -226,8 +226,12 @@ ifeq ($(PROC),ppc) ...@@ -226,8 +226,12 @@ ifeq ($(PROC),ppc)
ASTCFLAGS+=-fsigned-char ASTCFLAGS+=-fsigned-char
endif endif
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h),)
ASTCFLAGS+=-DOSP_SUPPORT -I$(CROSS_COMPILE_TARGET)/usr/include/osp ASTCFLAGS+=-DOSP_SUPPORT -I$(CROSS_COMPILE_TARGET)/usr/local/include/osp
else
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),)
ASTCFLAGS+=-DOSP_SUPPORT -I$(CROSS_COMPILE_TARGET)/usr/include/osp
endif
endif endif
ifeq (${OSARCH},FreeBSD) ifeq (${OSARCH},FreeBSD)
......
...@@ -47,7 +47,7 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard ...@@ -47,7 +47,7 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard
APPS+=app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so APPS+=app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so
endif endif
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),)
APPS+=app_osplookup.so APPS+=app_osplookup.so
endif endif
......
...@@ -23,9 +23,14 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CR ...@@ -23,9 +23,14 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CR
MODS+=res_odbc.so MODS+=res_odbc.so
endif endif
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h),)
MODS+=res_osp.so MODS+=res_osp.so
OSPLIB=$(CROSS_COMPILE_TARGET)/usr/lib/libosp.a OSPLIB=$(CROSS_COMPILE_TARGET)/usr/local/lib/libosptk.a
else
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),)
MODS+=res_osp.so
OSPLIB=$(CROSS_COMPILE_TARGET)/usr/lib/libosp.a
endif
endif endif
ifeq ($(findstring BSD,${OSARCH}),BSD) ifeq ($(findstring BSD,${OSARCH}),BSD)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment