Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
c4119dbe
提交
c4119dbe
authored
6月 17, 2014
作者:
Brian West
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated just build it for Solaris 11
上级
94f35990
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
108 行增加
和
0 行删除
+108
-0
Makefile.solaris11
build/Makefile.solaris11
+108
-0
没有找到文件。
build/Makefile.solaris11
0 → 100644
浏览文件 @
c4119dbe
#
# FreeSWITCH auto-build Makefile (Solaris 11.1 64bit Tonka Truck Edition)
# http://www.freeswitch.org
# put this file anywhere and type gmake to
# create a fully-built freeswitch.git from scratch
# in that same directory.
#
#
FSPREFIX
=
/usr/local/freeswitch
PREFIX
=
/usr/local/
JP
=
v8d
SSL
=
1.0.1h
SQLITE
=
autoconf-3080403
PCRE
=
8.35
CURL
=
7.36.0
SPEEX
=
1.2rc1
LIBEDIT
=
20140213-3.1
LDNS
=
1.6.17
PKGCFG
=
0.28
PERL
=
5.18.2
freeswitch
:
deps has-git freeswitch.git/Makefile
cd
freeswitch.git
&&
gmake
freeswitch.git/Makefile
:
freeswitch.git/configure
export
PATH
=
$PATH
:
$(PREFIX)
/bin
cd
freeswitch.git
&&
PKG_CONFIG_PATH
=
$(PREFIX)
/lib/pkgconfig ./configure
--enable-64
LDFLAGS
=
'-L
$(PREFIX)
/lib -Wl,-rpath=
$(PREFIX)
/lib'
CFLAGS
=
'-I
$(PREFIX)
/include'
--prefix
=
$(FSPREFIX)
freeswitch.git/configure
:
freeswitch.git/bootstrap.sh
cd
freeswitch.git
&&
sh bootstrap.sh
freeswitch.git/bootstrap.sh
:
has-git
test
-d
freeswitch.git
||
git clone git://git.freeswitch.org/freeswitch.git freeswitch.git
install
:
freeswitch
cd
freeswitch.git
&&
gmake
install
install-git
:
pkg
install
git autoconf automake libtool libjpeg gcc-45 wget
has-git
:
@
git
--version
||
(
echo
"please install git by running 'gmake install-git'"
&&
false
)
clean
:
@
rm
-rf
openssl
*
ldns
*
jpeg
*
pcre
*
perl
*
pkg-config
*
speex
*
sqlite
*
libedit
*
curl
*
*
~
(
cd
freeswitch.git
&&
git clean
-fdx
&&
git reset
--hard
HEAD
&&
git pull
)
libjpeg
:
jpeg-8d/Makefile
jpeg-8d/Makefile
:
(
test
-d
jpeg-8d
)
||
(
wget
-4
-O
jpegsrc.
$(JP)
.tar.gz http://www.ijg.org/files/jpegsrc.
$(JP)
.tar.gz
&&
tar
zxfv jpegsrc.
$(JP)
.tar.gz
)
(
cd
jpeg-8d
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
openssl
:
openssl-$(SSL)/Makefile
openssl-$(SSL)/Makefile
:
openssl-$(SSL)
openssl-$(SSL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://www.openssl.org/source/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./Configure
--prefix
=
$(PREFIX)
solaris64-x86_64-gcc shared
&&
gmake
&&
sudo
gmake
install
)
sqlite
:
sqlite-$(SQLITE)/Makefile
sqlite-$(SQLITE)/Makefile
:
sqlite-$(SQLITE)
sqlite-$(SQLITE)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://www.sqlite.org/2014/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
pcre
:
pcre-$(PCRE)/Makefile
pcre-$(PCRE)/Makefile
:
pcre-$(PCRE)
pcre-$(PCRE)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://downloads.sourceforge.net/project/pcre/pcre/
$(PCRE)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CXXFLAGS
=
-m64
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
curl
:
curl-$(CURL)/Makefile
curl-$(CURL)/Makefile
:
curl-$(CURL)
curl-$(CURL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://www.execve.net/curl/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
speex
:
speex-$(SPEEX)/Makefile
speex-$(SPEEX)/Makefile
:
speex-$(SPEEX)
speex-$(SPEEX)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://downloads.xiph.org/releases/speex/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
libedit
:
libedit-$(LIBEDIT)/Makefile
libedit-$(LIBEDIT)/Makefile
:
libedit-$(LIBEDIT)
libedit-$(LIBEDIT)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://thrysoee.dk/editline/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
ldns
:
openssl ldns-$(LDNS)/Makefile
ldns-$(LDNS)/Makefile
:
ldns-$(LDNS)
ldns-$(LDNS)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://www.nlnetlabs.nl/downloads/ldns/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--with-ssl
=
$(PREFIX)
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
pkg-config
:
openssl pkg-config-$(PKGCFG)/Makefile
pkg-config-$(PKGCFG)/Makefile
:
pkg-config-$(PKGCFG)
pkg-config-$(PKGCFG)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://pkgconfig.freedesktop.org/releases/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--with-internal-glib
--prefix
=
$(PREFIX)
&&
sudo
gmake uninstall
&&
gmake
&&
sudo
gmake
install
)
perl
:
openssl perl-$(PERL)/Makefile
perl-$(PERL)/Makefile
:
perl-$(PERL)
perl-$(PERL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz http://www.cpan.org/src/5.0/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure.gnu
-Dcc
=
gcc
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
)
deps
:
libjpeg openssl sqlite pcre curl speex libedit ldns pkg-config perl
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论