Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
f2121d52
Commit
f2121d52
authored
Jul 21, 2017
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
port spec file to cmake
parent
74fd021a
Changes
107
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
107 changed files
with
170 additions
and
5756 deletions
+170
-5756
CMakeLists.txt
CMakeLists.txt
+1
-14
README.md
README.md
+15
-19
build/CMakeLists.txt
build/CMakeLists.txt
+52
-0
build/Makefile.am
build/Makefile.am
+0
-1
build/android/Android.mk
build/android/Android.mk
+0
-326
build/android/config.h
build/android/config.h
+0
-232
build/android/liblinphone_tester.mk
build/android/liblinphone_tester.mk
+0
-55
build/openembedded/README
build/openembedded/README
+0
-57
build/openembedded/antlr3/antlr3c.inc
build/openembedded/antlr3/antlr3c.inc
+0
-15
build/openembedded/antlr3/antlr3c_linphone.bb
build/openembedded/antlr3/antlr3c_linphone.bb
+0
-7
build/openembedded/belle-sip/belle-sip.inc
build/openembedded/belle-sip/belle-sip.inc
+0
-15
build/openembedded/belle-sip/belle-sip_master.bb
build/openembedded/belle-sip/belle-sip_master.bb
+0
-10
build/openembedded/conf/layer.conf
build/openembedded/conf/layer.conf
+0
-9
build/openembedded/files/igep0020/alsa_8khz.patch
build/openembedded/files/igep0020/alsa_8khz.patch
+0
-13
build/openembedded/libgsm/libgsm-1.0.13/01_makefile.patch
build/openembedded/libgsm/libgsm-1.0.13/01_makefile.patch
+0
-71
build/openembedded/libgsm/libgsm-1.0.13/02_cplusplus.patch
build/openembedded/libgsm/libgsm-1.0.13/02_cplusplus.patch
+0
-25
build/openembedded/libgsm/libgsm-1.0.13/03_config.patch
build/openembedded/libgsm/libgsm-1.0.13/03_config.patch
+0
-154
build/openembedded/libgsm/libgsm-1.0.13/04_includes.patch
build/openembedded/libgsm/libgsm-1.0.13/04_includes.patch
+0
-43
build/openembedded/libgsm/libgsm-1.0.13/05_compiler_warnings.patch
...nembedded/libgsm/libgsm-1.0.13/05_compiler_warnings.patch
+0
-98
build/openembedded/libgsm/libgsm.inc
build/openembedded/libgsm/libgsm.inc
+0
-34
build/openembedded/libgsm/libgsm_1.0.13.bb
build/openembedded/libgsm/libgsm_1.0.13.bb
+0
-8
build/openembedded/libilbc-rfc3951_git.bb
build/openembedded/libilbc-rfc3951_git.bb
+0
-13
build/openembedded/linphone-plugins.bb
build/openembedded/linphone-plugins.bb
+0
-9
build/openembedded/linphone/linphone-common.inc
build/openembedded/linphone/linphone-common.inc
+0
-66
build/openembedded/linphone/linphone-common_git.inc
build/openembedded/linphone/linphone-common_git.inc
+0
-37
build/openembedded/linphone/linphone-common_local.inc
build/openembedded/linphone/linphone-common_local.inc
+0
-15
build/openembedded/linphone/linphone_+git-nogtk-gsm-video-x11.bb
...penembedded/linphone/linphone_+git-nogtk-gsm-video-x11.bb
+0
-16
build/openembedded/linphone/linphone_+git-nogtk-gsm-video.bb
build/openembedded/linphone/linphone_+git-nogtk-gsm-video.bb
+0
-15
build/openembedded/linphone/linphone_+git-nogtk-gsm.bb
build/openembedded/linphone/linphone_+git-nogtk-gsm.bb
+0
-14
build/openembedded/linphone/linphone_+git-nogtk.bb
build/openembedded/linphone/linphone_+git-nogtk.bb
+0
-13
build/openembedded/linphone/linphone_+local-nogtk-gsm-video-x11.bb
...nembedded/linphone/linphone_+local-nogtk-gsm-video-x11.bb
+0
-16
build/openembedded/linphone/linphone_+local-nogtk-gsm-video.bb
.../openembedded/linphone/linphone_+local-nogtk-gsm-video.bb
+0
-15
build/openembedded/linphone/linphone_+local-nogtk-gsm.bb
build/openembedded/linphone/linphone_+local-nogtk-gsm.bb
+0
-14
build/openembedded/linphone/linphone_+local-nogtk.bb
build/openembedded/linphone/linphone_+local-nogtk.bb
+0
-13
build/openembedded/linphone/linphone_git.bb
build/openembedded/linphone/linphone_git.bb
+0
-39
build/openembedded/msamr/msamr-common.inc
build/openembedded/msamr/msamr-common.inc
+0
-20
build/openembedded/msamr/msamr_git+wb.bb
build/openembedded/msamr/msamr_git+wb.bb
+0
-8
build/openembedded/msamr/msamr_git.bb
build/openembedded/msamr/msamr_git.bb
+0
-6
build/openembedded/msamr/msamr_local+wb.bb
build/openembedded/msamr/msamr_local+wb.bb
+0
-13
build/openembedded/msamr/msamr_local.bb
build/openembedded/msamr/msamr_local.bb
+0
-11
build/openembedded/msilbc/msilbc-common.inc
build/openembedded/msilbc/msilbc-common.inc
+0
-12
build/openembedded/msilbc/msilbc_git.bb
build/openembedded/msilbc/msilbc_git.bb
+0
-6
build/openembedded/msilbc/msilbc_local.bb
build/openembedded/msilbc/msilbc_local.bb
+0
-11
build/openembedded/msimx6vpu-h264/msimx6vpu-h264.inc
build/openembedded/msimx6vpu-h264/msimx6vpu-h264.inc
+0
-12
build/openembedded/msimx6vpu-h264/msimx6vpu-h264_git.bb
build/openembedded/msimx6vpu-h264/msimx6vpu-h264_git.bb
+0
-23
build/openembedded/msv4l2-display/msv4l2-display-common.inc
build/openembedded/msv4l2-display/msv4l2-display-common.inc
+0
-14
build/openembedded/msv4l2-display/msv4l2-display_git.bb
build/openembedded/msv4l2-display/msv4l2-display_git.bb
+0
-23
build/openembedded/mswebrtc/mswebrtc-common.inc
build/openembedded/mswebrtc/mswebrtc-common.inc
+0
-15
build/openembedded/mswebrtc/mswebrtc_git.bb
build/openembedded/mswebrtc/mswebrtc_git.bb
+0
-6
build/openembedded/mswebrtc/mswebrtc_local.bb
build/openembedded/mswebrtc/mswebrtc_local.bb
+0
-11
build/openembedded/msx264/msx264-common.inc
build/openembedded/msx264/msx264-common.inc
+0
-12
build/openembedded/msx264/msx264_git.bb
build/openembedded/msx264/msx264_git.bb
+0
-6
build/openembedded/msx264/msx264_local.bb
build/openembedded/msx264/msx264_local.bb
+0
-11
build/openembedded/opencore-amr_0.1.3.bb
build/openembedded/opencore-amr_0.1.3.bb
+0
-12
build/openembedded/polarssl/polarssl-linphone/darwin.patch
build/openembedded/polarssl/polarssl-linphone/darwin.patch
+0
-14
build/openembedded/polarssl/polarssl-linphone/soname.patch
build/openembedded/polarssl/polarssl-linphone/soname.patch
+0
-51
build/openembedded/polarssl/polarssl.inc
build/openembedded/polarssl/polarssl.inc
+0
-17
build/openembedded/polarssl/polarssl_linphone.bb
build/openembedded/polarssl/polarssl_linphone.bb
+0
-14
build/openembedded/spandsp_0.0.6-pre18.bb
build/openembedded/spandsp_0.0.6-pre18.bb
+0
-24
build/openembedded/vo-amrwbenc_0.1.2.bb
build/openembedded/vo-amrwbenc_0.1.2.bb
+0
-13
build/openembedded/x264_git.bb
build/openembedded/x264_git.bb
+0
-18
build/redhat/INSTALL
build/redhat/INSTALL
+0
-13
build/redhat/README
build/redhat/README
+0
-63
build/rpm/liblinphone.spec.in
build/rpm/liblinphone.spec.in
+102
-0
build/wp8/LibLinphone.vcxproj
build/wp8/LibLinphone.vcxproj
+0
-227
build/wp8/LibLinphoneTester-native/LibLinphoneTester-native.vcxproj
...LibLinphoneTester-native/LibLinphoneTester-native.vcxproj
+0
-160
build/wp8/LibLinphoneTester-native/linphone-tester-native.cpp
...d/wp8/LibLinphoneTester-native/linphone-tester-native.cpp
+0
-125
build/wp8/LibLinphoneTester-native/linphone-tester-native.h
build/wp8/LibLinphoneTester-native/linphone-tester-native.h
+0
-33
build/wp8/LibLinphoneTester-wp8/App.xaml
build/wp8/LibLinphoneTester-wp8/App.xaml
+0
-20
build/wp8/LibLinphoneTester-wp8/App.xaml.cs
build/wp8/LibLinphoneTester-wp8/App.xaml.cs
+0
-234
build/wp8/LibLinphoneTester-wp8/Assets/AlignmentGrid.png
build/wp8/LibLinphoneTester-wp8/Assets/AlignmentGrid.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/ApplicationIcon.png
build/wp8/LibLinphoneTester-wp8/Assets/ApplicationIcon.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/Tiles/FlipCycleTileLarge.png
...LibLinphoneTester-wp8/Assets/Tiles/FlipCycleTileLarge.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/Tiles/FlipCycleTileMedium.png
...ibLinphoneTester-wp8/Assets/Tiles/FlipCycleTileMedium.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/Tiles/FlipCycleTileSmall.png
...LibLinphoneTester-wp8/Assets/Tiles/FlipCycleTileSmall.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/Tiles/IconicTileMediumLarge.png
...LinphoneTester-wp8/Assets/Tiles/IconicTileMediumLarge.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/Tiles/IconicTileSmall.png
...p8/LibLinphoneTester-wp8/Assets/Tiles/IconicTileSmall.png
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/empty_rc
build/wp8/LibLinphoneTester-wp8/Assets/empty_rc
+0
-6
build/wp8/LibLinphoneTester-wp8/Assets/laure_rc
build/wp8/LibLinphoneTester-wp8/Assets/laure_rc
+0
-41
build/wp8/LibLinphoneTester-wp8/Assets/multi_account_lrc
build/wp8/LibLinphoneTester-wp8/Assets/multi_account_lrc
+0
-55
build/wp8/LibLinphoneTester-wp8/Assets/oldphone.wav
build/wp8/LibLinphoneTester-wp8/Assets/oldphone.wav
+0
-0
build/wp8/LibLinphoneTester-wp8/Assets/ringback.wav
build/wp8/LibLinphoneTester-wp8/Assets/ringback.wav
+0
-0
build/wp8/LibLinphoneTester-wp8/LibLinphoneTester-wp8.csproj
build/wp8/LibLinphoneTester-wp8/LibLinphoneTester-wp8.csproj
+0
-175
build/wp8/LibLinphoneTester-wp8/LibLinphoneTester-wp8.sln
build/wp8/LibLinphoneTester-wp8/LibLinphoneTester-wp8.sln
+0
-336
build/wp8/LibLinphoneTester-wp8/LocalizedStrings.cs
build/wp8/LibLinphoneTester-wp8/LocalizedStrings.cs
+0
-14
build/wp8/LibLinphoneTester-wp8/MainPage.xaml
build/wp8/LibLinphoneTester-wp8/MainPage.xaml
+0
-42
build/wp8/LibLinphoneTester-wp8/MainPage.xaml.cs
build/wp8/LibLinphoneTester-wp8/MainPage.xaml.cs
+0
-58
build/wp8/LibLinphoneTester-wp8/Properties/AppManifest.xml
build/wp8/LibLinphoneTester-wp8/Properties/AppManifest.xml
+0
-6
build/wp8/LibLinphoneTester-wp8/Properties/AssemblyInfo.cs
build/wp8/LibLinphoneTester-wp8/Properties/AssemblyInfo.cs
+0
-37
build/wp8/LibLinphoneTester-wp8/Properties/WMAppManifest.xml
build/wp8/LibLinphoneTester-wp8/Properties/WMAppManifest.xml
+0
-48
build/wp8/LibLinphoneTester-wp8/Resources/AppResources.Designer.cs
.../LibLinphoneTester-wp8/Resources/AppResources.Designer.cs
+0
-127
build/wp8/LibLinphoneTester-wp8/Resources/AppResources.resx
build/wp8/LibLinphoneTester-wp8/Resources/AppResources.resx
+0
-137
build/wp8/LibLinphoneTester-wp8/TestCasePage.xaml
build/wp8/LibLinphoneTester-wp8/TestCasePage.xaml
+0
-40
build/wp8/LibLinphoneTester-wp8/TestCasePage.xaml.cs
build/wp8/LibLinphoneTester-wp8/TestCasePage.xaml.cs
+0
-63
build/wp8/LibLinphoneTester-wp8/TestResultPage.xaml
build/wp8/LibLinphoneTester-wp8/TestResultPage.xaml
+0
-39
build/wp8/LibLinphoneTester-wp8/TestResultPage.xaml.cs
build/wp8/LibLinphoneTester-wp8/TestResultPage.xaml.cs
+0
-136
build/wp8/LibLinphoneTester-wp8/log.html
build/wp8/LibLinphoneTester-wp8/log.html
+0
-34
build/wp8/LibLinphone_no_tunnel.vcxproj
build/wp8/LibLinphone_no_tunnel.vcxproj
+0
-221
build/wp8/libxml2/install_headers.bat
build/wp8/libxml2/install_headers.bat
+0
-6
build/wp8/libxml2/libxml2.sln
build/wp8/libxml2/libxml2.sln
+0
-26
build/wp8/libxml2/libxml2.vcxproj
build/wp8/libxml2/libxml2.vcxproj
+0
-159
build/wp8/libxml2/libxml2_port.h
build/wp8/libxml2/libxml2_port.h
+0
-19
build/wp8/libxml2/xmlversion.h
build/wp8/libxml2/xmlversion.h
+0
-476
build/wp8/version.bat
build/wp8/version.bat
+0
-22
build/wp8/zlib/zconf.h
build/wp8/zlib/zconf.h
+0
-513
build/wp8/zlib/zlib.sln
build/wp8/zlib/zlib.sln
+0
-26
build/wp8/zlib/zlib.vcxproj
build/wp8/zlib/zlib.vcxproj
+0
-135
No files found.
CMakeLists.txt
View file @
f2121d52
...
...
@@ -374,17 +374,4 @@ install(FILES
DESTINATION
${
CONFIG_PACKAGE_LOCATION
}
)
# CPack settings
set
(
CPACK_PACKAGE_NAME
"linphone"
)
set
(
CPACK_PACKAGE_VERSION
${
PROJECT_VERSION
}
)
set
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
set
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_NAME
}
-
${
CPACK_PACKAGE_VERSION
}
"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"^
${
CMAKE_BINARY_DIR
}
"
"/
\\\\
..+"
"^
${
CMAKE_SOURCE_DIR
}
/mediastreamer2"
"^
${
CMAKE_SOURCE_DIR
}
/oRTP"
)
include
(
CPack
)
add_subdirectory
(
build
)
README.md
View file @
f2121d52
L
inphone
libl
inphone
========
This is
L
inphone, a free (GPL) video
softphone
based on the SIP protocol.
This is
libl
inphone, a free (GPL) video
voip library
based on the SIP protocol.
**WARNING:**
Unless you exactly know what you are doing, you should take at look
at
*linphone-desktop[1]*
.
This library is used by Linphone. It's source code is available
at
*linphone-desktop[1]*
.
Building
L
inphone
Building
libl
inphone
-----------------
### Required dependencies
...
...
@@ -14,18 +14,16 @@ Building Linphone
*
*BcToolbox[2]*
: portability layer
*
*BelleSIP[3]*
: SIP stack
*
*Mediastreamer2[4]*
: multimedia engine
*
*Belcard[5]*
: VCard support
*
libxml2
*
zlib
*
libsqlite3: user data storage (disablable)
*
libnotify: system notification (GNU/Linux only;disablable)
*
libgtk2: graphical interface (disablable)
*
gettext and libintl: internationalization support (disablable)
### Opitonal dependencies
*
*Belcard[5]*
: VCard support
*
gtkmacintegration: integration with MacOSX menu
*
*Bzrtp[6]*
: zrtp stack used for Linphone Instant Messaging Encryption
### Build instructions
...
...
@@ -44,13 +42,12 @@ Building Linphone
*
`ENABLE_STATIC=NO`
: do not build the static library
*
`ENABLE_STRICT=NO`
: build without strict compilation flags (-Wall -Werror)
*
`ENABLE_DOC=NO`
: do not generate the reference documentation of liblinphone
*
`ENABLE_GTK_UI=NO`
: do not build the GTK user interface
*
`ENABLE_UNIT_TESTS=NO`
: do not build testing binaries
*
`ENABLE_VCARD=NO`
: disable VCard support
*
`ENABLE_SQLITE_STORAGE=NO`
: disable SQlite user data storage (message, history, contacts list)
*
`ENABLE_TOOLS=NO`
: do not build tool binaries
*
`ENABLE_NLS=NO`
: disable internationalization
*
`ENABLE_
ASSISTANT=NO`
: disable
account creation wizard
*
`ENABLE_
LIME=YES`
: disable
Linphone Instant Messaging Encryption
### Note for packagers
...
...
@@ -58,6 +55,13 @@ Our CMake scripts may automatically add some paths into research paths of genera
To ensure that the installed binaries are striped of any rpath, use
`-DCMAKE_SKIP_INSTALL_RPATH=ON`
while you invoke cmake.
Rpm packaging
liblinphone can be generated with cmake3 using the following command:
mkdir WORK
cd WORK
cmake3 ../
make package_source
rpmbuild -ta --clean --rmsource --rmspec liblinphone-
<version>
-
<release>
.tar.gz
Notes for developers
...
...
@@ -65,19 +69,10 @@ Notes for developers
Here is a short description of the content of the source tree.
-
**oRTP/**
is a poweful implementation of the RTP protocol. See the oRTP/README for more details.
It is used by mediastreamer2 to send and receive streams to the network.
-
**mediastreamer2/**
is one of the important part of linphone. It is a framework for audio
and video processing. It contains several objects for grabing audio and video and outputing
it (through rtp, to file).
It contains also codec objects to compress audio and video streams.
The mediastream.h files contain routines to easyly setup audio streams.
-
**coreapi/**
is the central point of linphone, which handles relationship between sip signalisation and media
streaming. It contains an easy to use api to create a sip phone.
-
**gtk/**
is the directory that contains the gui frontend of linphone. It uses all libraries descibed above.
-
**console/**
*
linphonec.c is the main file for the console version of linphone.
...
...
@@ -95,3 +90,4 @@ Here is a short description of the content of the source tree.
-
[3] belle-sip: git://git.linphone.org/belle-sip.git
*or*
<https://www.linphone.org/releases/sources/belle-sip>
-
[4] mediastreamer2: git://git.linphone.org/mediastreamer2.git
*or*
<https://www.linphone.org/releases/sources/mediastreamer>
-
[5] belcard: git://git.linphone.org/belcard.git
*or*
<https://www.linphone.org/releases/sources/belcard>
-
[5] bzrtp: git://git.linphone.org/bzrtp.git
*or*
<https://www.linphone.org/releases/sources/bzrtp>
build/CMakeLists.txt
0 → 100644
View file @
f2121d52
############################################################################
# CMakeLists.txt
# Copyright (C) 2017 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
############################################################################
if
(
NOT CPACK_PACKAGE_NAME
)
set
(
CPACK_PACKAGE_NAME
"liblinphone"
)
ENDIF
()
set
(
CPACK_RESOURCE_FILE_LICENSE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../COPYING"
)
set
(
CPACK_PACKAGE_VERSION_MAJOR
${
PROJECT_VERSION_MAJOR
}
)
set
(
CPACK_PACKAGE_VERSION_MINOR
${
PROJECT_VERSION_MINOR
}
)
set
(
CPACK_PACKAGE_VERSION_PATCH
${
PROJECT_VERSION_PATCH
}
)
set
(
CPACK_PACKAGE_FILE_NAME
${
CPACK_PACKAGE_NAME
}
-
${
PROJECT_VERSION
}
)
set
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"
${
CMAKE_BINARY_DIR
}
"
"^
${
PROJECT_SOURCE_DIR
}
/.git*"
)
bc_project_build_version
(
${
PROJECT_VERSION
}
PROJECT_VERSION_BUILD
)
if
(
PROJECT_VERSION_BUILD
)
set
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_FILE_NAME
}
-
${
PROJECT_VERSION_BUILD
}
"
)
endif
()
message
(
"-- Package file name is
${
CPACK_PACKAGE_FILE_NAME
}
"
)
set
(
CPACK_SOURCE_PACKAGE_FILE_NAME
${
CPACK_PACKAGE_FILE_NAME
}
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/rpm/liblinphone.spec.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/../liblinphone.spec
)
include
(
CPack
)
build/Makefile.am
View file @
f2121d52
SUBDIRS
=
macos
EXTRA_DIST
=
openembedded
build/android/Android.mk
deleted
100755 → 0
View file @
74fd021a
##
## Android.mk -Android build script-
##
##
## Copyright (C) 2010 Belledonne Communications, Grenoble, France
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##
LOCAL_PATH
:=
$(
call
my-dir
)
/../../coreapi
include
$(CLEAR_VARS)
LOCAL_CPP_EXTENSION
:=
.cc
LOCAL_SRC_FILES
:=
\
account_creator.c
\
account_creator_request_engine.c
\
address.c
\
authentication.c
\
bellesip_sal/sal_address_impl.c
\
bellesip_sal/sal_impl.c
\
bellesip_sal/sal_op_call.c
\
bellesip_sal/sal_op_call_transfer.c
\
bellesip_sal/sal_op_events.c
\
bellesip_sal/sal_op_impl.c
\
bellesip_sal/sal_op_info.c
\
bellesip_sal/sal_op_message.c
\
bellesip_sal/sal_op_presence.c
\
bellesip_sal/sal_op_publish.c
\
bellesip_sal/sal_op_registration.c
\
bellesip_sal/sal_sdp.c
\
buffer.c
\
callbacks.c
\
call_log.c
\
call_params.c
\
carddav.c
\
chat.c
\
chat_file_transfer.c
\
conference.cc
\
content.c
\
ec-calibrator.c
\
enum.c
\
event.c
\
friend.c
\
friendlist.c
\
info.c
\
linphonecall.c
\
linphonecore.c
\
linphonecore_jni.cc
\
linphone_tunnel_config.c
\
localplayer.c
\
lpc2xml.c
\
lime.c
\
lpconfig.c
\
message_storage.c
\
misc.c
\
offeranswer.c
\
player.c
\
presence.c
\
proxy.c
\
quality_reporting.c
\
remote_provisioning.c
\
sal.c
\
siplogin.c
\
sipsetup.c
\
xml2lpc.c
\
xml.c
\
xmlrpc.c
\
vtables.c
\
ringtoneplayer.c
ifndef
LIBLINPHONE_VERSION
LIBLINPHONE_VERSION
=
"Devel"
endif
LOCAL_CFLAGS
+=
\
-Wno-error
=
deprecated-declarations
\
-D_BYTE_ORDER
=
_LITTLE_ENDIAN
\
-DORTP_INET6
\
-DINET6
\
-DENABLE_TRACE
\
-DHAVE_CONFIG_H
\
-DLIBLINPHONE_VERSION
=
\"
$(LIBLINPHONE_VERSION)
\"
\
-DLINPHONE_PLUGINS_DIR
=
\"\\
tmp
\"
\
-DUSE_BELLESIP
\
-DHAVE_ZLIB
LOCAL_CFLAGS
+=
-DIN_LINPHONE
ifeq
($(_BUILD_VIDEO),1)
LOCAL_CFLAGS
+=
-DVIDEO_ENABLED
ifeq
($(BUILD_X264),1)
LOCAL_CFLAGS
+=
-DHAVE_X264
endif
ifeq
($(BUILD_OPENH264),1)
LOCAL_CFLAGS
+=
-DHAVE_OPENH264
endif
endif
ifeq
($(BUILD_CONTACT_HEADER),1)
LOCAL_CFLAGS
+=
-DSAL_OP_CALL_FORCE_CONTACT_IN_RINGING
endif
ifeq
($(USE_JAVAH),1)
LOCAL_CFLAGS
+=
-DUSE_JAVAH
endif
LOCAL_C_INCLUDES
+=
\
$(LOCAL_PATH)
\
$(LOCAL_PATH)
/../include
\
$(LOCAL_PATH)
/../build/android
\
$(LOCAL_PATH)
/../oRTP/include
\
$(LOCAL_PATH)
/../mediastreamer2/include
\
$(LOCAL_PATH)
/../mediastreamer2/src/audiofilters/
\
$(LOCAL_PATH)
/../../bctoolbox/include
\
$(LOCAL_PATH)
/../../belle-sip/include
\
$(LOCAL_PATH)
/../../../gen
\
$(LOCAL_PATH)
/../../externals/libxml2/include
\
$(LOCAL_PATH)
/../../externals/build/libxml2
\
$(LOCAL_PATH)
/../../externals/polarssl/include
\
LOCAL_LDLIBS
+=
-llog
-ldl
-lz
LOCAL_STATIC_LIBRARIES
:=
\
cpufeatures
\
libmediastreamer2
\
libortp
\
libbellesip
\
libbctoolbox
\
libgsm
\
liblpxml2
ifeq
($(BUILD_TUNNEL),1)
LOCAL_CFLAGS
+=
-DTUNNEL_ENABLED
LOCAL_C_INCLUDES
+=
$(LOCAL_PATH)
/../../tunnel/include
$(LOCAL_PATH)
/../../tunnel/src
LOCAL_SRC_FILES
+=
linphone_tunnel.cc TunnelManager.cc
LOCAL_STATIC_LIBRARIES
+=
libtunnelclient
else
LOCAL_SRC_FILES
+=
linphone_tunnel_stubs.c
endif
_BUILD_AMR
=
0
ifneq
($(BUILD_AMRNB), 0)
_BUILD_AMR
=
1
endif
ifneq
($(BUILD_AMRWB), 0)
_BUILD_AMR
=
1
endif
ifneq
($(_BUILD_AMR), 0)
LOCAL_CFLAGS
+=
-DHAVE_AMR
LOCAL_STATIC_LIBRARIES
+=
\
libmsamr
\
libopencoreamr
endif
ifneq
($(BUILD_AMRWB), 0)
LOCAL_STATIC_LIBRARIES
+=
\
libvoamrwbenc
endif
ifeq
($(BUILD_SILK),1)
LOCAL_CFLAGS
+=
-DHAVE_SILK
LOCAL_STATIC_LIBRARIES
+=
libmssilk
endif
ifeq
($(BUILD_CODEC2),1)
LOCAL_CFLAGS
+=
-DHAVE_CODEC2
LOCAL_STATIC_LIBRARIES
+=
libcodec2 libmscodec2
endif
ifneq
($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)$(BUILD_ILBC),000)
LOCAL_CFLAGS
+=
-DHAVE_WEBRTC
LOCAL_STATIC_LIBRARIES
+=
libmswebrtc
endif
ifneq
($(BUILD_WEBRTC_AECM),0)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_aecm
ifeq
($(TARGET_ARCH_ABI), armeabi-v7a)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_aecm_neon
endif
endif
ifneq
($(BUILD_WEBRTC_ISAC),0)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_isacfix
ifeq
($(TARGET_ARCH_ABI), armeabi-v7a)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_isacfix_neon
endif
endif
ifneq
($(BUILD_ILBC),0)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_ilbc
endif
ifneq
($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)$(BUILD_ILBC),000)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_apm_utility
\
libwebrtc_system_wrappers
\
libwebrtc_apm_utility
\
libwebrtc_spl
\
libwebrtc_system_wrappers
ifeq
($(TARGET_ARCH_ABI), armeabi-v7a)
LOCAL_STATIC_LIBRARIES
+=
\
libwebrtc_spl_neon
endif
endif
ifeq
($(BUILD_G729),1)
LOCAL_CFLAGS
+=
-DHAVE_G729
LOCAL_STATIC_LIBRARIES
+=
libbcg729 libmsbcg729
endif
ifeq
($(_BUILD_VIDEO),1)
LOCAL_LDLIBS
+=
-lGLESv2
LOCAL_STATIC_LIBRARIES
+=
libvpx
ifeq
($(BUILD_X264),1)
LOCAL_STATIC_LIBRARIES
+=
\
libmsx264
\
libx264
endif
ifeq
($(BUILD_OPENH264),1)
LOCAL_STATIC_LIBRARIES
+=
\
libmsopenh264
\
libopenh264
endif
endif
ifeq
($(BUILD_UPNP),1)
LOCAL_CFLAGS
+=
-DBUILD_UPNP
LOCAL_SRC_FILES
+=
upnp.c
endif
LOCAL_STATIC_LIBRARIES
+=
libspeex
ifeq
($(BUILD_SRTP), 1)
LOCAL_C_INCLUDES
+=
$(SRTP_C_INCLUDE)
endif
ifeq
($(BUILD_VCARD),1)
LOCAL_C_INCLUDES
+=
$(VCARD_C_INCLUDE)
endif
ifeq
($(BUILD_ILBC), 1)
ifneq
($(TARGET_ARCH_ABI),armeabi)
LOCAL_CFLAGS
+=
-DHAVE_ILBC
=
1
LOCAL_STATIC_LIBRARIES
+=
libmsilbc
endif
endif
LOCAL_C_INCLUDES
+=
$(LIBLINPHONE_EXTENDED_C_INCLUDES)
LOCAL_WHOLE_STATIC_LIBRARIES
+=
$(LIBLINPHONE_EXTENDED_STATIC_LIBS)
LOCAL_SRC_FILES
+=
$(LIBLINPHONE_EXTENDED_SRC_FILES)
LOCAL_CFLAGS
+=
$(LIBLINPHONE_EXTENDED_CFLAGS)
ifeq
($(BUILD_ZRTP),1)
LOCAL_STATIC_LIBRARIES
+=
libbzrtp
endif
ifeq
($(BUILD_SRTP),1)
LOCAL_STATIC_LIBRARIES
+=
libsrtp
endif
ifeq
($(BUILD_VCARD),1)
LOCAL_CFLAGS
+=
-DVCARD_ENABLED
LOCAL_SRC_FILES
+=
vcard.cc
LOCAL_STATIC_LIBRARIES
+=
libbelr libbelcard
else
LOCAL_SRC_FILES
+=
vcard_stubs.c
endif
ifeq
($(BUILD_SQLITE),1)
LOCAL_CFLAGS
+=
-DMSG_STORAGE_ENABLED
-DCALL_LOGS_STORAGE_ENABLED
-DFRIENDS_SQL_STORAGE_ENABLED
LOCAL_STATIC_LIBRARIES
+=
liblinsqlite
LOCAL_C_INCLUDES
+=
\
$(LOCAL_PATH)
/../../externals/sqlite3/
endif
ifeq
($(BUILD_OPUS),1)
LOCAL_STATIC_LIBRARIES
+=
libopus
endif
LOCAL_EXPORT_C_INCLUDES
:=
$(LOCAL_C_INCLUDES)
LOCAL_EXPORT_CFLAGS
:=
$(LOCAL_CFLAGS)
ifeq
($(_BUILD_VIDEO),1)
LOCAL_SHARED_LIBRARIES
+=
\
libffmpeg-linphone
endif
LOCAL_MODULE
:=
liblinphone
LOCAL_MODULE_FILENAME
:=
liblinphone-
$(TARGET_ARCH_ABI)
include
$(BUILD_SHARED_LIBRARY)
LOCAL_CPPFLAGS
+=
$(LOCAL_CFLAGS)
LOCAL_CFLAGS
+=
-Wdeclaration-after-statement
LOCAL_LDFLAGS
:=
-Wl
,-soname,
$(LOCAL_MODULE_FILENAME)
.so
$(call
import-module,android/cpufeatures)
build/android/config.h
deleted
100644 → 0
View file @
74fd021a
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define if tools enabled */
/* #undef BUILD_TOOLS */
/* Define if wizard enabled */
/* #undef BUILD_WIZARD */
/* Defined when using gsm at nonstandard rates */
/* #undef ENABLE_NONSTANDARD_GSM */
/* The name of the gettext package name */
/* #undef GETTEXT_PACKAGE */
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
/* #undef HAVE_CFLOCALECOPYCURRENT */
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
/* #undef HAVE_DCGETTEXT */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define if exosip dscp available */
/* #def HAVE_EXOSIP_DSCP */
/* Defined when eXosip_get_version is available */
/* #undef HAVE_EXOSIP_GET_VERSION */
/* Defined when eXosip_reset_transports is available */
/* #undef HAVE_EXOSIP_RESET_TRANSPORTS */
/* Defined when eXosip_tls_verify_certificate is available */
/* #undef HAVE_EXOSIP_TLS_VERIFY_CERTIFICATE */
/* Defined when eXosip_tls_verify_certificate is available */
/* #undef HAVE_EXOSIP_TLS_VERIFY_CN */
/* Defined when eXosip_get_socket is available */
/* #undef HAVE_EXOSIP_TRYLOCK */
/* If present, the getenv function allows fim to read environment variables.
*/
#define HAVE_GETENV 1
/* Define to 1 if you have the `getifaddrs' function. */
/* #undef HAVE_GETIFADDRS */
/* Tells wheter localisation is possible */
/* #undef HAVE_INTL */
/* Define to 1 if you have the `get_current_dir_name' function. */
#define HAVE_GET_CURRENT_DIR_NAME 1
/* Defined when gtk osx is used */
/* #undef HAVE_GTK_OSX */
/* Define to 1 if you have the <history.h> header file. */
/* #undef HAVE_HISTORY_H */
/* Define if you have the iconv() function. */
/* #undef HAVE_ICONV */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `eXosip2' library (-leXosip2). */
/* #define HAVE_LIBEXOSIP2 */
/* Define to 1 if you have the `osip2' library (-losip2). */
/* #undef HAVE_LIBOSIP2 */
/* Define to 1 if you have the `osipparser2' library (-losipparser2). */
/* #undef HAVE_LIBOSIPPARSER2 */
/* Define to 1 if you have the `udev' library (-ludev). */
/* #undef HAVE_LIBUDEV */
/* Define to 1 if you have the <libudev.h> header file. */
/* #undef HAVE_LIBUDEV_H */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* NOTIFY1 support */
/* #undef HAVE_NOTIFY1 */
/* NOTIFY4 support */
/* #undef HAVE_NOTIFY4 */
/* defined when compiling with readline support */
/* #undef HAVE_READLINE */
/* Define to 1 if you have the <readline.h> header file. */
/* #undef HAVE_READLINE_H */
/* Define to 1 if you have the <readline/history.h> header file.