Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
0361bd70
提交
0361bd70
authored
6月 17, 2014
作者:
Brian West
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
more tweaks
上级
24a8f3da
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
21 行增加
和
19 行删除
+21
-19
Makefile.centos5
build/Makefile.centos5
+10
-9
Makefile.solaris11
build/Makefile.solaris11
+11
-10
没有找到文件。
build/Makefile.centos5
浏览文件 @
0361bd70
...
...
@@ -9,8 +9,9 @@
#
FSPREFIX
=
/usr/local/freeswitch
PREFIX
=
/opt/fs-libs
DOWNLOAD
=
http://files.freeswitch.org/downloads/libs
JPEG
=
v8d
OPENSSL
=
1.0.1
g
OPENSSL
=
1.0.1
h
SQLITE
=
autoconf-3080403
PCRE
=
8.35
CURL
=
7.35.0
...
...
@@ -50,49 +51,49 @@ clean:
libjpeg
:
jpeg-8d/.done
jpeg-8d/.done
:
(
test
-d
jpeg-8d
)
||
(
wget
-4
-O
jpegsrc.
$(JPEG)
.tar.gz
http://www.ijg.org/files
/jpegsrc.
$(JPEG)
.tar.gz
&&
tar
zxfv jpegsrc.
$(JPEG)
.tar.gz
)
(
test
-d
jpeg-8d
)
||
(
wget
-4
-O
jpegsrc.
$(JPEG)
.tar.gz
$(DOWNLOAD)
/jpegsrc.
$(JPEG)
.tar.gz
&&
tar
zxfv jpegsrc.
$(JPEG)
.tar.gz
)
(
cd
jpeg-8d
&&
./configure
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done
)
openssl
:
openssl-$(OPENSSL)/.done
openssl-$(OPENSSL)/.done
:
openssl-$(OPENSSL)
openssl-$(OPENSSL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.openssl.org/source
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./Configure
--prefix
=
$(PREFIX)
linux-x86_64 shared
&&
make
&&
sudo
make
install
&&
touch
.done
)
sqlite
:
sqlite-$(SQLITE)/.done
sqlite-$(SQLITE)/.done
:
sqlite-$(SQLITE)
sqlite-$(SQLITE)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.sqlite.org/2014
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./configure
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done_sqlite
&&
touch
.done
)
pcre
:
pcre-$(PCRE)/.done
pcre-$(PCRE)/.done
:
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
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD
)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./configure
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done
)
curl
:
curl-$(CURL)/.done
curl-$(CURL)/.done
:
curl-$(CURL)
curl-$(CURL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://files.freeswitch.org/downloads/libs
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./configure
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done
)
speex
:
speex-$(SPEEX)/.done
speex-$(SPEEX)/.done
:
speex-$(SPEEX)
speex-$(SPEEX)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://downloads.xiph.org/releases/speex
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./configure
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done
)
libedit
:
libedit-$(LIBEDIT)/.done
libedit-$(LIBEDIT)/.done
:
libedit-$(LIBEDIT)
libedit-$(LIBEDIT)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://thrysoee.dk/editline
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./configure
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done
)
ldns
:
ldns-$(LDNS)/.done
ldns-$(LDNS)/.done
:
ldns-$(LDNS)
ldns-$(LDNS)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.nlnetlabs.nl/downloads/ldns
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
./configure
--with-ssl
=
$(PREFIX)
--prefix
=
$(PREFIX)
&&
make
&&
sudo
make
install
&&
touch
.done
)
deps
:
libjpeg openssl sqlite pcre curl speex libedit ldns
build/Makefile.solaris11
浏览文件 @
0361bd70
...
...
@@ -8,6 +8,7 @@
#
FSPREFIX
=
/usr/local/freeswitch
PREFIX
=
/usr/local/
DOWNLOAD
=
http://files.freeswitch.org/downloads/libs
JP
=
v8d
SSL
=
1.0.1h
SQLITE
=
autoconf-3080403
...
...
@@ -48,62 +49,62 @@ clean:
libjpeg
:
jpeg-8d/.done
jpeg-8d/.done
:
(
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
)
(
test
-d
jpeg-8d
)
||
(
wget
-4
-O
jpegsrc.
$(JP)
.tar.gz
$(DOWNLOAD)
/jpegsrc.
$(JP)
.tar.gz
&&
tar
zxfv jpegsrc.
$(JP)
.tar.gz
)
(
cd
jpeg-8d
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
openssl
:
openssl-$(SSL)/.done
openssl-$(SSL)/.done
:
openssl-$(SSL)
openssl-$(SSL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.openssl.org/source
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./Configure
--prefix
=
$(PREFIX)
solaris64-x86_64-gcc shared
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
sqlite
:
sqlite-$(SQLITE)/.done
sqlite-$(SQLITE)/.done
:
sqlite-$(SQLITE)
sqlite-$(SQLITE)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.sqlite.org/2014
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
pcre
:
pcre-$(PCRE)/.done
pcre-$(PCRE)/.done
:
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
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD
)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CXXFLAGS
=
-m64
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
curl
:
curl-$(CURL)/.done
curl-$(CURL)/.done
:
curl-$(CURL)
curl-$(CURL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://files.freeswitch.org/downloads/libs
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
speex
:
speex-$(SPEEX)/.done
speex-$(SPEEX)/.done
:
speex-$(SPEEX)
speex-$(SPEEX)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://downloads.xiph.org/releases/speex
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
libedit
:
libedit-$(LIBEDIT)/.done
libedit-$(LIBEDIT)/.done
:
libedit-$(LIBEDIT)
libedit-$(LIBEDIT)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://thrysoee.dk/editline
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
ldns
:
openssl ldns-$(LDNS)/.done
ldns-$(LDNS)/.done
:
ldns-$(LDNS)
ldns-$(LDNS)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.nlnetlabs.nl/downloads/ldns
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--with-ssl
=
$(PREFIX)
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
pkg-config
:
openssl pkg-config-$(PKGCFG)/.done
pkg-config-$(PKGCFG)/.done
:
pkg-config-$(PKGCFG)
pkg-config-$(PKGCFG)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://pkgconfig.freedesktop.org/releases
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure
--with-internal-glib
--prefix
=
$(PREFIX)
&&
sudo
gmake uninstall
&&
gmake
&&
sudo
gmake
install
&&
\
touch
.done
)
perl
:
openssl perl-$(PERL)/.done
perl-$(PERL)/.done
:
perl-$(PERL)
perl-$(PERL)
:
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
http://www.cpan.org/src/5.0
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
test
-d
$@
)
||
(
wget
-4
-O
$@
.tar.gz
$(DOWNLOAD)
/
$@
.tar.gz
&&
tar
zxfv
$@
.tar.gz
)
(
cd
$@
&&
CFLAGS
=
-m64
LDFLAGS
=
-m64
./configure.gnu
-Dcc
=
gcc
--prefix
=
$(PREFIX)
&&
gmake
&&
sudo
gmake
install
&&
touch
.done
)
deps
:
has-git libjpeg openssl sqlite pcre curl speex libedit ldns pkg-config perl
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论