mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 07:08:11 +00:00
remove compilation file from linphone project
This commit is contained in:
parent
1b21c045f4
commit
798b8e72f1
6 changed files with 0 additions and 338 deletions
|
|
@ -1,25 +0,0 @@
|
|||
install arm-mingw32ce 0.55 from from http://cegcc.sourceforge.net/
|
||||
|
||||
Modify the file errno.h found in
|
||||
"/mingw/opt/mingw32ce/arm-wince-mingw32ce/include/errno.h"
|
||||
|
||||
Remove lines 11-14:
|
||||
|
||||
#ifdef __COREDLL__
|
||||
# include_next <errno.h>
|
||||
#else /* __COREDLL__ */
|
||||
|
||||
and lines 106-107:
|
||||
|
||||
#endif /* Not __COREDLL__ */
|
||||
|
||||
|
||||
|
||||
get dependencies:
|
||||
cd scripts
|
||||
make -f builder-arm-ming32ce.mk get_dependencies
|
||||
|
||||
build:
|
||||
from scripts:
|
||||
make -f builder-arm-ming32ce.mk build-linphone
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
Index: src/eXutils.c
|
||||
===================================================================
|
||||
--- src/eXutils.c (revision 1047)
|
||||
+++ src/eXutils.c (working copy)
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "eXosip2.h"
|
||||
|
||||
#if defined(_WIN32_WCE)
|
||||
+#include <malloc.h>
|
||||
#elif defined(WIN32)
|
||||
#include <windns.h>
|
||||
#include <malloc.h>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Index: include/osip2/internal.h
|
||||
===================================================================
|
||||
--- include/osip2/internal.h (revision 797)
|
||||
+++ include/osip2/internal.h (working copy)
|
||||
@@ -216,7 +216,7 @@
|
||||
#include <windows.h>
|
||||
#undef _WINSOCKAPI_
|
||||
|
||||
-#if (_WIN32_WINNT >= 0x0403)
|
||||
+#if (_WIN32_WINNT >= 0x0403) && !defined(_WIN32_WCE)
|
||||
|
||||
#define OSIP_CRITICALSECTION_SPIN 4000
|
||||
typedef struct
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
############################################################################
|
||||
# builder-arm-mingw32ce.mk
|
||||
# Copyright (C) 2009 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.
|
||||
#
|
||||
############################################################################
|
||||
host:=armv4-mingw32ce
|
||||
config_site:=mingw32ce-config.site
|
||||
library_mode:= --disable-shared --enable-static
|
||||
libosip2_version:=797
|
||||
libeXosip2_version:=1047
|
||||
linphone_configure_controls?= --disable-video \
|
||||
--with-readline=none \
|
||||
--enable-gtk_ui=no \
|
||||
--enable-console_ui=no \
|
||||
--enable-ssl-hmac=no \
|
||||
SPEEX_CFLAGS="-I$(prefix)/include" \
|
||||
SPEEX_LIBS="-L$(prefix)/lib -lspeex "
|
||||
|
||||
include builder-generic.mk
|
||||
|
||||
|
||||
build-linphone: build-osip2 build-eXosip2 build-speex $(LINPHONE_SRC_DIR)/Makefile
|
||||
cd $(LINPHONE_SRC_DIR) && make newdate && make && make install
|
||||
|
||||
clean-linphone: clean-osip2 clean-eXosip2 clean-speex
|
||||
cd $(LINPHONE_SRC_DIR) && make clean
|
||||
|
||||
veryclean-linphone: clean-linphone veryclean-osip2 veryclean-eXosip2 veryclean-speex
|
||||
cd $(LINPHONE_SRC_DIR) && make distclean
|
||||
cd $(LINPHONE_SRC_DIR) && rm configure
|
||||
|
||||
clean-makefile-linphone: clean-makefile-osip2 clean-makefile-eXosip2
|
||||
cd $(LINPHONE_SRC_DIR) && rm Makefile && rm oRTP/Makefile && rm mediastreamer2/Makefile
|
||||
|
||||
|
||||
get_dependencies: get_osip2_svn get_eXosip2_svn get_speex_src
|
||||
|
||||
|
||||
|
|
@ -1,200 +0,0 @@
|
|||
############################################################################
|
||||
# builder-generic.mk
|
||||
# Copyright (C) 2009 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.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
host?=armv6-apple-darwin
|
||||
config_site?=iphone-config.site
|
||||
library_mode?= --disable-shared
|
||||
libosip2_version?=3.3.0
|
||||
libeXosip2_version?=3.3.0
|
||||
libspeex_version=1.2rc1
|
||||
libgsm_version=1.0.13
|
||||
linphone_configure_controls?= --disable-video \
|
||||
--with-readline=none \
|
||||
--enable-gtk_ui=no \
|
||||
--enable-ssl-hmac=no \
|
||||
--enable-nonstandard-gsm \
|
||||
--with-gsm=$(prefix) \
|
||||
SPEEX_CFLAGS="-I$(prefix)/include" \
|
||||
SPEEX_LIBS="-L$(prefix)/lib -lspeex "
|
||||
ifneq (,$(findstring arm,$(host)))
|
||||
SPEEX_CONFIGURE_OPTION := --enable-fixed-point --disable-float-api
|
||||
#SPEEX_CONFIGURE_OPTION := --enable-arm5e-asm --enable-fixed-point
|
||||
endif
|
||||
|
||||
LINPHONE_SRC_DIR=$(shell pwd)/../
|
||||
prefix=$(LINPHONE_SRC_DIR)/liblinphone-sdk/$(host)
|
||||
|
||||
all: build-linphone
|
||||
clean-makefile: clean-makefile-linphone
|
||||
clean: clean-linphone
|
||||
|
||||
delivery:
|
||||
cd $(LINPHONE_SRC_DIR) \
|
||||
&& zip -r linphone-iphone.zip \
|
||||
liblinphone-sdk xcode/linphone/ pixmaps/red.png \
|
||||
pixmaps/green.png share/ringback.wav \
|
||||
share/rings/oldphone-mono.wav \
|
||||
-x xcode/linphone/build/Debug-iphoneos/\* \
|
||||
xcode/linphone/build/Debug-iphonesimulator/\* \
|
||||
xcode/linphone/build/Release-iphoneos/\* \
|
||||
xcode/linphone/build/Release-iphonesimulator/\* \
|
||||
xcode/linphone/build/linphone.build/\*
|
||||
|
||||
|
||||
$(LINPHONE_SRC_DIR)/configure:
|
||||
cd $(LINPHONE_SRC_DIR) && ./autogen.sh
|
||||
|
||||
$(LINPHONE_SRC_DIR)/Makefile: $(LINPHONE_SRC_DIR)/configure
|
||||
cd $(LINPHONE_SRC_DIR) && \
|
||||
PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig CONFIG_SITE=$(LINPHONE_SRC_DIR)/scripts/$(config_site) \
|
||||
./configure -prefix=$(prefix) --host=$(host) ${library_mode} \
|
||||
${linphone_configure_controls}
|
||||
|
||||
|
||||
#libphone only (asume dependencies are met)
|
||||
build-liblinphone: $(LINPHONE_SRC_DIR)/Makefile
|
||||
cd $(LINPHONE_SRC_DIR) && make newdate && make && make install
|
||||
|
||||
clean-makefile-liblinphone:
|
||||
cd $(LINPHONE_SRC_DIR) && rm Makefile && rm oRTP/Makefile && rm mediastreamer2/Makefile
|
||||
|
||||
clean-liblinphone:
|
||||
cd $(LINPHONE_SRC_DIR) && make clean
|
||||
#osip2
|
||||
|
||||
get_osip2_svn:
|
||||
cd $(LINPHONE_SRC_DIR)/ \
|
||||
&& svn co -r ${libosip2_version} svn://svn.sv.gnu.org/osip/trunk/osip libosip2-$(libosip2_version) \
|
||||
&& cd libosip2-$(libosip2_version) \
|
||||
&& patch -p0 < $(LINPHONE_SRC_DIR)/patches/libosip2-wince.patch
|
||||
get_osip2_src:
|
||||
cd $(LINPHONE_SRC_DIR)/ \
|
||||
&& rm -f libosip2-$(libosip2_version).tar.gz \
|
||||
&& wget http://ftp.gnu.org/gnu/osip/libosip2-$(libosip2_version).tar.gz \
|
||||
&& tar xvzf libosip2-$(libosip2_version).tar.gz \
|
||||
&& rm -rf libosip2-$(libosip2_version).tar.gz \
|
||||
&& cd libosip2-$(libosip2_version) \
|
||||
&& patch -p1 < $(LINPHONE_SRC_DIR)/patches/libosip2-iphone.patch
|
||||
|
||||
$(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/configure:
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && ./autogen.sh
|
||||
|
||||
$(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/Makefile: $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/configure
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/ \
|
||||
&& CONFIG_SITE=$(LINPHONE_SRC_DIR)/scripts/$(config_site) \
|
||||
./configure -prefix=$(prefix) --host=$(host) ${library_mode}
|
||||
|
||||
build-osip2: $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/Makefile
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && make && make install
|
||||
|
||||
clean-osip2:
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && make clean
|
||||
|
||||
veryclean-osip2:
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && make distclean
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && rm configure
|
||||
|
||||
clean-makefile-osip2:
|
||||
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && rm Makefile
|
||||
#eXosip
|
||||
|
||||
get_eXosip2_svn:
|
||||
cd $(LINPHONE_SRC_DIR)/ \
|
||||
&& svn co -r ${libeXosip2_version} svn://svn.sv.gnu.org/exosip/trunk/exosip libeXosip2-$(libeXosip2_version)\
|
||||
&& cd libeXosip2-$(libeXosip2_version) \
|
||||
&& patch -p0 < $(LINPHONE_SRC_DIR)/patches/libeXosip2-wince.patch
|
||||
|
||||
get_eXosip2_src:
|
||||
cd $(LINPHONE_SRC_DIR)/ \
|
||||
&& rm -f libeXosip2-$(libeXosip2_version).tar.gz \
|
||||
&& wget http://nongnu.askapache.com/exosip/libeXosip2-$(libeXosip2_version).tar.gz \
|
||||
&& tar xvzf libeXosip2-$(libeXosip2_version).tar.gz \
|
||||
&& rm -rf libeXosip2-$(libeXosip2_version).tar.gz
|
||||
|
||||
$(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version)/configure:
|
||||
cd $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version) && ./autogen.sh
|
||||
|
||||
$(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version)/Makefile: $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version)/configure
|
||||
cd $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version)/\
|
||||
&& PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig CONFIG_SITE=$(LINPHONE_SRC_DIR)/scripts/$(config_site) \
|
||||
./configure -prefix=$(prefix) --host=$(host) ${library_mode} --disable-tools
|
||||
|
||||
build-eXosip2: $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version)/Makefile
|
||||
cd $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version) && make && make install
|
||||
|
||||
clean-eXosip2:
|
||||
cd $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version) && make clean
|
||||
|
||||
veryclean-eXosip2:
|
||||
cd $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version) && make distclean
|
||||
|
||||
clean-makefile-eXosip2:
|
||||
cd $(LINPHONE_SRC_DIR)/libeXosip2-$(libeXosip2_version) && rm Makefile
|
||||
|
||||
#speex
|
||||
|
||||
get_speex_src:
|
||||
cd $(LINPHONE_SRC_DIR)/\
|
||||
&& rm -f speex-$(libspeex_version).tar.gz \
|
||||
&& wget http://downloads.xiph.org/releases/speex/speex-$(libspeex_version).tar.gz \
|
||||
&& tar xvzf speex-$(libspeex_version).tar.gz \
|
||||
&& rm -f speex-$(libspeex_version).tar.gz
|
||||
|
||||
$(LINPHONE_SRC_DIR)/speex-$(libspeex_version)/Makefile:
|
||||
cd $(LINPHONE_SRC_DIR)/speex-$(libspeex_version)/\
|
||||
&& CONFIG_SITE=$(LINPHONE_SRC_DIR)/scripts/$(config_site) \
|
||||
./configure -prefix=$(prefix) --host=$(host) ${library_mode} --disable-oggtest $(SPEEX_CONFIGURE_OPTION)
|
||||
|
||||
build-speex: $(LINPHONE_SRC_DIR)/speex-$(libspeex_version)/Makefile
|
||||
cd $(LINPHONE_SRC_DIR)/speex-$(libspeex_version)/libspeex && make && make install
|
||||
cd $(LINPHONE_SRC_DIR)/speex-$(libspeex_version)/include && make && make install
|
||||
|
||||
clean-speex:
|
||||
cd $(LINPHONE_SRC_DIR)/speex-$(libspeex_version) && make clean
|
||||
|
||||
veryclean-speex:
|
||||
cd $(LINPHONE_SRC_DIR)/speex-$(libspeex_version) && make distclean
|
||||
|
||||
clean-makefile-speex:
|
||||
cd $(LINPHONE_SRC_DIR)/speex-$(libspeex_version) && rm Makefile
|
||||
|
||||
#GSM
|
||||
|
||||
get_libgsm_src:
|
||||
- cd $(LINPHONE_SRC_DIR)/\
|
||||
&& rm -f gsm-$(libgsm_version).tar.gz \
|
||||
&& wget http://user.cs.tu-berlin.de/~jutta/gsm/gsm-$(libgsm_version).tar.gz \
|
||||
&& tar xvzf gsm-$(libgsm_version).tar.gz \
|
||||
&& rm -f gsm-$(libgsm_version).tar.gz
|
||||
build-libgsm:
|
||||
cd $(LINPHONE_SRC_DIR)/gsm-1.0-pl13\
|
||||
&& mkdir -p $(prefix)/include/gsm \
|
||||
&& host_alias=$(host) . ../scripts/$(config_site) \
|
||||
&& make CC="$${CC}" INSTALL_ROOT=$(prefix) GSM_INSTALL_INC=$(prefix)/include/gsm install
|
||||
|
||||
clean-libgsm:
|
||||
cd $(LINPHONE_SRC_DIR)/gsm-1.0-pl13 \
|
||||
&& make clean
|
||||
|
||||
veryclean-libgsm: clean-libgsm
|
||||
cd $(LINPHONE_SRC_DIR)/gsm-1.0-pl13 \
|
||||
&& make uninstall
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
############################################################################
|
||||
# mingw32ce-config.site
|
||||
# Copyright (C) 2009 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.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
|
||||
SDK_BIN_PATH=/opt/mingw32ce/bin
|
||||
SYSROOT_PATH=/opt/mingw32ce
|
||||
|
||||
CC="${SDK_BIN_PATH}/arm-mingw32ce-gcc -isysroot=${SYSROOT_PATH}"
|
||||
CXX="${SDK_BIN_PATH}/arm-mingw32ce-g++ -isysroot=${SYSROOT_PATH}"
|
||||
LD="${SDK_BIN_PATH}/arm-mingw32ce-ld "
|
||||
AR=${SDK_BIN_PATH}/arm-mingw32ce-ar
|
||||
RANLIB=${SDK_BIN_PATH}/arm-mingw32ce-ranlib
|
||||
|
||||
CPPFLAGS="-D_WIN32_WCE -DUNICODE -Drewind="
|
||||
LDFLAGS="-L${SYSROOT_PATH}/arm-mingw32ce/lib -lws2"
|
||||
Loading…
Add table
Reference in a new issue